Пример #1
0
 private void addPortBtn_Click(object sender, EventArgs e)
 {
     using (AddPortForm form = new AddPortForm())
     {
     if (DialogResult.OK == form.ShowDialog())
         this.ReloadPorts();
     }
 }
Пример #2
0
 private void addPortBtn_Click(object sender, EventArgs e)
 {
     using (AddPortForm form = new AddPortForm())
     {
         if (DialogResult.OK == form.ShowDialog())
         {
             this.ReloadPorts();
         }
     }
 }