i have a main form which has 2 login button.One of them is for duty and the other is for student. Once a clicked on one of them the related form is opened. But when i closed the related form and then i wanted to open the form again but it can not work. How can i fix it?
it is the code which i can open the student form
Code:StudentForm = new frmStudent(); StudentForm.MainForm = this; StudentForm.Show();