I wish did fix the issue. I am struggling with how to change the main program icon during compilation. I know it can be changed in Visual Studio Project-> Properties -> Application -> and there is button Change icon. , You can use MSBuild to do this:
around this issue Simply have the form expose a property of type Settings with a getter and a setter. That makes the snippet you posted simple without any changes needed when you add members to Settings. The effort now moves to the form implementation. PropertyGrid is a generic object editor, whether it is usable enough in your case is hard to guess.
How to close main form without closing child forms?
hope this fix your issue Your project settings are probably set to terminate the application when the startup form closes. Changing the option to "last form closes" should fix this. "Project" menu -> 'YourApp' Properties... -> Application Tab
C# - How Do I Close Main Form Together With Child Forms (while child windows must close ONLY when main form is closing)
I wish this helpful for you I have a main window and a few child windows. Child windows contain some data so I don't want them to be closed. So I hide them while in FormClosing I set e.Cancel = true; , Found the solution myself:
if (sender == this) // main
exitApp = true;
FormClosing -= onFormClosing;
Multiple forms, child form is stuck behind main form
Hope this helps As the title suggests, I have two forms, when I run the app the main form is not minimizable or moveable. The second form is stuck behind the main, even if I maximize it. The main form will still be in front. Am I guessing there is a setting I need to change? Below is the code to create the second form. , Try passing in the current form
Reports rep = new Reports();
oracle forms. child form doesn't see main form posted changes