private void btnOk_Click(object sender, EventArgs e)
 {
     if (cbComputers.SelectedIndex < 0)
     {
         MessageBox.Show("Вы не выбрали компьютер", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
         return;
     }
     this.Hide();
     using (Form proccess_inf_form = new frmProccessInfo(cbComputers.SelectedItem.ToString()))
     {
         proccess_inf_form.ShowDialog();
     }
     this.Show();
 }
 private void btnOk_Click(object sender, EventArgs e)
 {
     if (cbComputers.SelectedIndex < 0)
     {
         MessageBox.Show("Вы не выбрали компьютер", "Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
         return;
     }
     this.Hide();
     using (Form proccess_inf_form = new frmProccessInfo(cbComputers.SelectedItem.ToString()))
     {
         proccess_inf_form.ShowDialog();
     }
     this.Show();
 }