private void StartMonitoring_Click(object sender, EventArgs e) { if (ProcNameInput.Text.Trim() == string.Empty) { label1.Text = "Proccess Field are Empty ???"; return; } TreeDisplay1.Nodes.Clear(); NodeClickAction = NodeClickEvent.CopyToClipBoard; ProccessGrabber.RunWorkerAsync("catch-start"); label1.Text = "Waiting for apps....."; MessageBox.Show("Run you apps now and I'll try to grab the information !"); }
private void GetAllProc_Click(object sender, EventArgs e) { TreeDisplay1.Nodes.Clear(); NodeClickAction = NodeClickEvent.UseAsProccess; ProccessGrabber.RunWorkerAsync("list-all"); }