User FAQs

If you have a question, please send it to us.


1) How to add an existing Windows Form from another project ?
Add the 3 existing form files (cs, Designer.cs and resx).
Now, exclude the 3 files you just added from the project.
Open the Add existing item explorer window and go to your project directory.
Select the cs file and Add.


2) When should I use the Form Constructor ?
Any code that is placed in the Constructor will be run when the form object is created.
The constructor automatically contains a call to InitializeComponent.
Any UI must be inserted after this call.


3) When should I use the Form_Load event ?
Any code that is placed in the Load event will only be run when the form is shown i.e. frm.Show();
For simple forms, everything is often placed in the constructor.





© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext