Example #1
0
 protected override void WndProc(ref Message keyPressed)
 {
     // WParam is index of hotkey
     if (keyPressed.Msg == WM_HOTKEY && keyPressed.WParam == (IntPtr)1)
     {
         SwapCase.Change();
     }
     // Do whatever windows was going to do
     base.WndProc(ref keyPressed);
 }
Example #2
0
 private void timer_display_Tick(object sender, EventArgs e)
 {
     label_display.Visible = SwapCase.Timer_Display();
 }
Example #3
0
 private void button_swap_Click(object sender, EventArgs e)
 {
     SwapCase.Change();
 }