Пример #1
0
 private void dtPeriodEnd_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar != (char)Keys.Return)
     {
         return;
     }
     tslControl.Select();
     tsbSearch.Select();
 }
Пример #2
0
 private void setCurrentButton(ToolStripButton tsb)
 {
     // set this new button to be the current button
     m_CurrentClickedButton = tsb;
     m_CurrentClickedButton.Select();
     m_CurrentClickedButton.Checked    = true;
     m_CurrentClickedButton.CheckState = CheckState.Checked;
     return;
 }
Пример #3
0
        private void __refresh_toolStripButton_MouseMove(object sender, MouseEventArgs e)
        {
            ToolStripButton b = (ToolStripButton)sender;

            b.Select();
        }