Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            //Enable
            BankPlugin plugin = this.GetSelection();

            if (plugin == null)
            {
                return;
            }
            this.Cursor = System.Windows.Forms.Cursors.WaitCursor;
            string message = Killer.Enable(plugin);

            if (!string.IsNullOrEmpty(message))
            {
                MessageBox.Show(message);
            }
            this.RefreshPlugins();
            this.Cursor = System.Windows.Forms.Cursors.Default;
        }