LPeter1997
LPeter1997
CC#
Created by Mr Anime on 10/4/2024 in #help
NEED HELP
We gave you advice on that
37 replies
CC#
Created by CrosRoad95 on 10/4/2024 in #help
FileWatcher for project folder
You are already using the right tool for it, FileSystemWatcher, what would you like to improve?
41 replies
CC#
Created by Mr Anime on 10/4/2024 in #help
NEED HELP
Rest I have 0 idea about
37 replies
CC#
Created by Mr Anime on 10/4/2024 in #help
NEED HELP
I specified that bc thats the only one I know it runs the eventhandler on the UI thread
37 replies
CC#
Created by Mr Anime on 10/4/2024 in #help
NEED HELP
Yeah but I had experienced that causing a fuckup in WF apps sadly on an old ass shitty HDD
37 replies
CC#
Created by Mr Anime on 10/4/2024 in #help
NEED HELP
There is IO in there with getting all files in the directory, on a non SSD that can already cause a stutter with a decently sized dir
37 replies
CC#
Created by Mr Anime on 10/4/2024 in #help
NEED HELP
If so, that's your problem, event handlers run on the UI thread, suggestion is using our lord and savior asynchronous code, or offload the work with a threadpool or something
37 replies
CC#
Created by Mr Anime on 10/4/2024 in #help
NEED HELP
The UI freezes when the event handler runs, right? Is this Forms?
37 replies
CC#
Created by Akama Aka on 10/1/2024 in #help
No secure hashing method?
And I'm rn so fuqing impressed what a piece of shiq language C# is.
Ah yes, amateur bashing the language for not having something in a library and is not able to locate it by themselves so obviously not their lack of knowledge
84 replies
CC#
Created by Klarth on 9/25/2024 in #help
Data structure options for UI virtualization
If not then it would be the same as Dictionary, but I'd definitely try to have CWT worked in to have auto-release for removed rows somehow
5 replies
CC#
Created by Klarth on 9/25/2024 in #help
Data structure options for UI virtualization
Mapping items (assuming they are unique) to any extra data you need
5 replies
CC#
Created by Klarth on 9/25/2024 in #help
Data structure options for UI virtualization
What about a ConditionalWeakTable?
5 replies
CC#
Created by LPeter1997 on 9/24/2024 in #help
Could not load file or assembly '...' with a weaved DLL
Yep, that was it
4 replies
CC#
Created by LPeter1997 on 9/24/2024 in #help
Could not load file or assembly '...' with a weaved DLL
I suppose the problem is the lack of entry in the deps.json? I'll try to add that...
4 replies
CC#
Created by it’s raining outside on 9/22/2024 in #help
null check raising errors
ReferenceEquals literally checks, if the two references are the same. Similar to pointer equality in C or something, checks if the two things are literally the same instance, disregarding any other equality defined on the types.
112 replies
CC#
Created by it’s raining outside on 9/22/2024 in #help
null check raising errors
But ReferenceEquals works too
112 replies
CC#
Created by it’s raining outside on 9/22/2024 in #help
null check raising errors
That will disambiguate it
112 replies
CC#
Created by it’s raining outside on 9/22/2024 in #help
null check raising errors
You can have null as Command or null as string yes
112 replies
CC#
Created by it’s raining outside on 9/22/2024 in #help
null check raising errors
What's wrong with typing cmd.Name == ...
112 replies
CC#
Created by it’s raining outside on 9/22/2024 in #help
null check raising errors
(Even better if you remove the string versions of == IMO)
112 replies