Пример #1
0
 private void button2_Click(object sender, EventArgs e)
 {
     Form mInit = new Devices();
     mInit.ShowDialog();
     if (mInit.DialogResult != System.Windows.Forms.DialogResult.Cancel)
     {
         if (Program.fDev.Count > 0)
         {
             Form dRemote = new Form3();
             dRemote.ShowDialog();
         }
     }
 }