Exemple #1
0
 public void selfformOpen()
 {
     selfform                 = new SelfForm();
     selfform.TopLevel        = false;
     selfform.Parent          = dockingPannel;
     selfform.FormBorderStyle = FormBorderStyle.None;
     selfform.StartPosition   = FormStartPosition.CenterParent;
     selfform.Show();
 }
Exemple #2
0
 public void CloseForm()
 {
     if (testform != null)
     {
         testform.Close();
         testform.Dispose();
         testform = null;
     }
     if (passwordform != null)
     {
         passwordform.Close();
         passwordform.Dispose();
         passwordform = null;
     }
     if (logform != null)
     {
         logform.Close();
         logform.Dispose();
         logform = null;
     }
     if (optionform != null)
     {
         optionform.Close();
         optionform.Dispose();
         optionform = null;
     }
     if (selfform != null)
     {
         selfform.Close();
         selfform.Dispose();
         selfform = null;
     }
     if (specform != null)
     {
         specform.Close();
         specform.Dispose();
         specform = null;
     }
 }