Ejemplo n.º 1
0
 private void settingslbl_Click(object sender, EventArgs e)
 {
     if (settings == null)
     {
         settings             = new usettings();
         settings.pro         = prop;
         settings.pro2        = prop2;
         settings.MdiParent   = this;
         settings.FormClosed += Settings_FormClosed;
         settings.Show();
     }
     else
     {
         settings.Activate();
     }
 }
Ejemplo n.º 2
0
 private void Settings_FormClosed(object sender, FormClosedEventArgs e)
 {
     settings = null;
     //throw new NotImplementedException();
 }