Пример #1
0
        private void selectProcessButton_Click(object sender, EventArgs e)
        {
            using (ProcessDialog pd = new ProcessDialog(_currentId))
            {
                if (pd.ShowDialog() == DialogResult.OK)
                {
                    _currentId = pd.SelectedProcessID;
                    selectedProcessValueLabel.Text = pd.SelectedProcessName;

                    _ms.openProcess(_currentId);
                    firstScanButton.Enabled = true;
                }
            }
        }