예제 #1
0
 private void listView1_KeyUp(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Delete)
     {
         button6_Click(this, new EventArgs());
     }
     else if (e.Control && e.KeyCode == Keys.V)
     {
         CommonInterface.GetDataFromClipboard();
     }
 }
예제 #2
0
 private void contextMenuStrip1_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
 {
     if (e.ClickedItem.Equals(toolStripMenuItem1))
     {
         CommonInterface.Play(false);
     }
     else if (e.ClickedItem.Equals(toolStripMenuItem3))
     {
         CommonInterface.GetDataFromClipboard();
     }
     else
     {
         button6_Click(this, new EventArgs());
     }
 }