Comment by Sinatr on How to check if a given instance is still in the...
What is ScreenOneControl? Why is it a problem to have both controls instantiated? Do you suspect/have memory leaks?
View ArticleComment by Sinatr on How to share data through ViewModels in a WPF MVVM project?
I'd made serializable (and likely singleton) model Settings, instance of which both viewmodel have and monitors for changes. Change Settings properties from anywhere and they both update its views.
View ArticleComment by Sinatr on How to hide method for certain instances
How are you going to synchronize writings into same port? You may want to rename Communicator to PropertyCommunicator, make it aware about property writeability and throw in Write method.
View ArticleComment by Sinatr on How do I enable scrolling through a flow layout panel in...
"Here is my code, figure out what it does, then fix what it does wrong" - doesn't seems like you are desparate. You can remove first and last paragraph as they are and start with explaining the problem.
View ArticleComment by Sinatr on Deserialising json with JSON.NET , unable to find the...
What are you going to do with deserialized data? Maybe you don't need deserialize, rather extract certain piece of data manually?
View ArticleComment by Sinatr on Can't use the resource file
To use cursor you either need to construct it or extract it. Any reason to pack 1.ani into resources and not marking that file itself as embedded resource? I wonder if the problem is simply type "File"...
View ArticleComment by Sinatr on How to make a c# WinForm app with independent windows
A much simpler approach is to never call Application.Run: simply ensure that the most recent window is displayed with ShowDialog() method, like here, otherwise stay in loop. Alternatively call all...
View ArticleComment by Sinatr on Splitting a winforms form into multiple partials...
I dislike the idea of splitting form. The big part of winforms designer rely on autogenerated code, therefore partial, not because it expect you to split it even further. The idea with attribute, which...
View ArticleComment by Sinatr on Why am I not finding .NET Framework 4.7.2 in my system...
You should be rather asking this question.
View ArticleComment by Sinatr on After pull from git, Form.cs designer can't load the...
You need to show everything and not as screenshots, please refer to minimal reproducible example and to this.
View ArticleComment by Sinatr on Command header verification failed!
Unless there is a dedicated tag for library you use on SO exists, you are basically have no chances to get help when spelling some random library name. If you tell us what you are trying to do (putting...
View ArticleComment by Sinatr on How to accept user input and use it? C#
Related: take user input and validate.
View ArticleComment by Sinatr on Tablelayoutpanel not displaying children controls when...
Please refer to minimal reproducible example: make a new project, add form, button, tab-control, 2 tabs with TableLayoutPanels and simulate "loading" when button is clicked, but add only one or two...
View ArticleComment by Sinatr on Is it possible to read incoming calls from laptop in C#?
What makes you believe there is an API? Phone Link looks like a standalone app, which connects to your phone app, both needs access to internet. It's not a part of anything (like Office) to be worth...
View ArticleComment by Sinatr on How to debug private method for unit testing
You can't because there are forces which prevents it. Trying to be as concrete as the question is.
View ArticleComment by Sinatr on How to update a ViewModel from another ViewModel in WPF...
VM doesn't care about view, so both screenshots doesn't make much sense in presenting the requirements. You shouldn't think about VM as strictly as it's a control, rather think of data they hold and...
View ArticleComment by Sinatr on How to define preprocessor symbols using devenv.com...
"convoluted .csproj" - I read this as you are working alone and using same pc for development and deployment. Once you are in team and have dedicated build server you will see how "convoluted .csproj"...
View ArticleComment by Sinatr on How to decompile corrupted .NET assembly that is missing...
Why silverlight tag? The latter content looks like xaml-resource (could be wpf?), which could be easily visible with hex-editor, but extracting IL is another story. I would be very surprized if you can...
View ArticleComment by Sinatr on Is there any way to integrate hand gesture recognition...
The first thought - use existing library (e.g. this one ?) to translate hand gestures to text. Unless this is exactly what you are expected to achieve yourself.
View ArticleComment by Sinatr on .NET Framework project where I connect to mysql and add...
In debug press pause (Break All) and check where and what your programm is doing.
View Article