Denis
Denis
CC#
Created by nullptr on 6/25/2024 in #help
how can i speed up this transparent image rendering in winforms?
24 replies
CC#
Created by nullptr on 6/25/2024 in #help
how can i speed up this transparent image rendering in winforms?
I think this could come in handy
24 replies
CC#
Created by nullptr on 6/25/2024 in #help
how can i speed up this transparent image rendering in winforms?
24 replies
CC#
Created by nullptr on 6/25/2024 in #help
how can i speed up this transparent image rendering in winforms?
Which control?
24 replies
CC#
Created by eid on 6/25/2024 in #help
await-work in thread class is different from await-work in task class?
When you run a task, it doesn't create a new thread. It schedules your given unit of work to be executed without blocking the calling thread. Whether this actually happens or not is up to the .net task scheduler. Using .Wait on a task, afaik, mitigates the whole point of the task and will end up running on the calling thread. When a task completes and returns, it can switch back to the caller context. However, if you do not need this, you can call ConfigureAwait(false) to disable returning to the calling thread context
4 replies
CC#
Created by sarah hachouche B09 on 6/22/2024 in #help
heartbeat logging
Do you happen to mean a health check?
15 replies
CC#
Created by yatta on 6/20/2024 in #help
UI modification
Are you using third party UI components or native ones? I won't download the txt, sorry. 🇨🇿 používáš nativní kontrolky nebo něco z třetí strany?
3 replies
CC#
Created by Ale on 6/20/2024 in #help
help
Unfortunately what you wrote isn't clear. Please add more $details
3 replies
CC#
Created by Elio on 6/17/2024 in #help
Access dependency property from a viewmodel WPF
Bind to the dependency property via template binding
4 replies
CC#
Created by Elio on 6/17/2024 in #help
Access dependency property from a viewmodel WPF
Dependency props are part of the view and shouldn't touch the viewmodel Bind the dependency property to the control that invokes the command, use it as a toggle for the control's IsEnabled, visibility or whatever. Alternatively, pass the dependency property as the command parameter
4 replies
CC#
Created by Funduk on 6/5/2024 in #help
Code no working
Also, there is a dedicated $unity discord
5 replies
CC#
Created by Funduk on 6/5/2024 in #help
Code no working
$details
5 replies
CC#
Created by Mekasu0124 on 5/30/2024 in #help
Accessing Function from Nested UI File - Avalonia
a non-executable project
17 replies
CC#
Created by Mekasu0124 on 5/30/2024 in #help
Accessing Function from Nested UI File - Avalonia
A class library
17 replies
CC#
Created by Mekasu0124 on 5/30/2024 in #help
Accessing Function from Nested UI File - Avalonia
An executable project usually has a Program.cs You can always right click and view properties of a project. Or double click a project to view itd XML definition
17 replies
CC#
Created by Mekasu0124 on 5/30/2024 in #help
Accessing Function from Nested UI File - Avalonia
Well the infrastructure and common are library projects, right? So it'll know automatically to start the executable application which is your Desktop project
17 replies
CC#
Created by Mekasu0124 on 5/30/2024 in #help
Accessing Function from Nested UI File - Avalonia
You can always create a third project to share the message classes
17 replies
CC#
Created by Mekasu0124 on 5/30/2024 in #help
Accessing Function from Nested UI File - Avalonia
Reactive UI has its own messaging framework - https://www.reactiveui.net/docs/handbook/message-bus.html
17 replies
CC#
Created by Mekasu0124 on 5/30/2024 in #help
Accessing Function from Nested UI File - Avalonia
Eg, your close command will send the close messages,.and the main window will handle it
17 replies
CC#
Created by Mekasu0124 on 5/30/2024 in #help
Accessing Function from Nested UI File - Avalonia
Alternatively you could use messaging. If you are using community toolkit, then WeakReferenceMessenger allows you to send a message that any listener across your app can pickup and handle
17 replies