private void button2_Click(object sender, EventArgs e) { //Disable BankPlugin plugin = this.GetSelection(); if (plugin == null) { return; } this.Cursor = System.Windows.Forms.Cursors.WaitCursor; string message = Killer.Disable(plugin); if (!string.IsNullOrEmpty(message)) { MessageBox.Show(message); } this.RefreshPlugins(); this.Cursor = System.Windows.Forms.Cursors.Default; }