I've figured it out.
Here is the answer for anyone that may have the same problem.
this is the new code I'm using:
from Form1:
private void btnModify_Click (object sender, EventArgs e)
{
Form mod = new modifyForm();
mod.Owner = this;
mod.Show();
this.Hide();
}//end btnModify_Click...
User Profile
Collapse
-
C# switching between forms calls Form_Load
I'm having a problem with c# when switching forms. It seems that when i switch from one form to the other they always call Form_load, which I don't want.
Im using form.show() and form.hide() so I don't understand why they are calling form_load.
This is the code:
from form1
private void btnModify_Click (object sender, EventArgs e)
{
Form mod = new modifyForm();...
No activity results to display
Show More
Leave a comment: