示例#1
0
 //------------------------------------------------------------------------------------
 private void MovieListBox_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter)
     {
         MoreButton.PerformClick();
     }
 }
示例#2
0
 //------------------------------------------------------------------------------------
 private void MovieListBox_DoubleClick(object sender, EventArgs e)
 {
     if (shortMList.Count > 0)
     {
         MoreButton.PerformClick();
     }
 }