Пример #1
0
        private void Process_Clicky(object sender, EventArgs e)
        {
            Button btn = sender as Button;

            switch (btn.Text)
            {
            case "▶": PS4.ProcessResume(); break;

            case "■": checkBox2.Checked = false; PS4.ProcessKill(); break;

            case "❚❚": PS4.ProcessStop(); break;
            }
        }