private void deleteVirtualDiskToolStripMenuItem_Click(object sender, EventArgs e) { if (RemoveButton.Enabled) { RemoveButton.PerformClick(); } }
private void GestureView_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Delete) { RemoveButton.PerformClick(); } }