예제 #1
0
 public Form1()
 {
     InitializeComponent();
     RamInfo       = new RAMInfo(this);
     ProcessKiller = new ProcessKiller();
     LaunchHelper.AddAllProcessToComboBox(this);
     IsLoop = false;
 }
예제 #2
0
 private void KillSelectedProcess_Button_Click(object sender, EventArgs e)
 {
     try
     {
         ProcessKiller.KillSelectedProcess(comboBox1.SelectedItem.ToString());
     }
     catch (Exception)
     {
         MessageBox.Show("Ви не обрали процес!", "УВАГА");
     }
 }