Esempio n. 1
0
 private Form checkifwinopen(Type FormType)
 {
     foreach (Form OpenForm in Application.OpenForms)
     {
         if (OpenForm.GetType() == FormType)
         {
             return(OpenForm);
         }
     }
     return(null);
 }
Esempio n. 2
0
        private void bunifuFlatButton2_Click(object sender, EventArgs e)
        {
            OpenForm dsfgdfg = new OpenForm();

            dsfgdfg.ShowDialog();
        }