Exemple #1
0
 /// <summary>
 /// Loadイベント
 /// </summary>
 /// <param name="e"></param>
 protected override void OnLoad(EventArgs e)
 {
     base.OnLoad(e);
     GlobalHook_Mouse.AddEvent(this.MouseHookProcedure);
 }
Exemple #2
0
 /// <summary>
 /// Closedイベント
 /// </summary>
 /// <param name="e"></param>
 protected override void OnClosed(EventArgs e)
 {
     base.OnClosed(e);
     GlobalHook_Mouse.ClearEvent();
 }
Exemple #3
0
 /// <summary>
 ///  停止ボタン_クリック
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void stopButton_Click(object sender, EventArgs e)
 {
     this.stopButton.Enabled = false;
     GlobalHook_Mouse.Stop();
     this.startButton.Enabled = true;
 }