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