Rename method

This commit is contained in:
Travis Nickles 2018-03-24 01:52:02 -05:00
parent 5608620779
commit 10d9990870
2 changed files with 9 additions and 9 deletions

View File

@ -69,7 +69,7 @@
this.btnRecord.UseVisualStyleBackColor = true; this.btnRecord.UseVisualStyleBackColor = true;
this.btnRecord.Click += new System.EventHandler(this.btnRecord_Click); this.btnRecord.Click += new System.EventHandler(this.btnRecord_Click);
this.btnRecord.KeyDown += new System.Windows.Forms.KeyEventHandler(this.anyKeyDown); this.btnRecord.KeyDown += new System.Windows.Forms.KeyEventHandler(this.anyKeyDown);
this.btnRecord.KeyUp += new System.Windows.Forms.KeyEventHandler(this.anyKeyUp); this.btnRecord.KeyUp += new System.Windows.Forms.KeyEventHandler(this.AnyKeyUp);
// //
// cBRecordDelays // cBRecordDelays
// //
@ -78,7 +78,7 @@
this.cBRecordDelays.TabStop = false; this.cBRecordDelays.TabStop = false;
this.cBRecordDelays.UseVisualStyleBackColor = true; this.cBRecordDelays.UseVisualStyleBackColor = true;
this.cBRecordDelays.KeyDown += new System.Windows.Forms.KeyEventHandler(this.anyKeyDown); this.cBRecordDelays.KeyDown += new System.Windows.Forms.KeyEventHandler(this.anyKeyDown);
this.cBRecordDelays.KeyUp += new System.Windows.Forms.KeyEventHandler(this.anyKeyUp); this.cBRecordDelays.KeyUp += new System.Windows.Forms.KeyEventHandler(this.AnyKeyUp);
this.cBRecordDelays.MouseDown += new System.Windows.Forms.MouseEventHandler(this.anyMouseDown); this.cBRecordDelays.MouseDown += new System.Windows.Forms.MouseEventHandler(this.anyMouseDown);
this.cBRecordDelays.MouseUp += new System.Windows.Forms.MouseEventHandler(this.anyMouseUp); this.cBRecordDelays.MouseUp += new System.Windows.Forms.MouseEventHandler(this.anyMouseUp);
// //
@ -97,7 +97,7 @@
this.lVMacros.View = System.Windows.Forms.View.Details; this.lVMacros.View = System.Windows.Forms.View.Details;
this.lVMacros.SelectedIndexChanged += new System.EventHandler(this.lVMacros_SelectedIndexChanged); this.lVMacros.SelectedIndexChanged += new System.EventHandler(this.lVMacros_SelectedIndexChanged);
this.lVMacros.KeyDown += new System.Windows.Forms.KeyEventHandler(this.anyKeyDown); this.lVMacros.KeyDown += new System.Windows.Forms.KeyEventHandler(this.anyKeyDown);
this.lVMacros.KeyUp += new System.Windows.Forms.KeyEventHandler(this.anyKeyUp); this.lVMacros.KeyUp += new System.Windows.Forms.KeyEventHandler(this.AnyKeyUp);
this.lVMacros.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.lVMacros_MouseDoubleClick); this.lVMacros.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.lVMacros_MouseDoubleClick);
this.lVMacros.MouseDown += new System.Windows.Forms.MouseEventHandler(this.anyMouseDown); this.lVMacros.MouseDown += new System.Windows.Forms.MouseEventHandler(this.anyMouseDown);
this.lVMacros.MouseHover += new System.EventHandler(this.lVMacros_MouseHover); this.lVMacros.MouseHover += new System.EventHandler(this.lVMacros_MouseHover);
@ -185,7 +185,7 @@
this.btnLightbar.UseVisualStyleBackColor = true; this.btnLightbar.UseVisualStyleBackColor = true;
this.btnLightbar.Click += new System.EventHandler(this.btnLightbar_Click); this.btnLightbar.Click += new System.EventHandler(this.btnLightbar_Click);
this.btnLightbar.KeyDown += new System.Windows.Forms.KeyEventHandler(this.anyKeyDown); this.btnLightbar.KeyDown += new System.Windows.Forms.KeyEventHandler(this.anyKeyDown);
this.btnLightbar.KeyUp += new System.Windows.Forms.KeyEventHandler(this.anyKeyUp); this.btnLightbar.KeyUp += new System.Windows.Forms.KeyEventHandler(this.AnyKeyUp);
// //
// btnRumble // btnRumble
// //
@ -194,7 +194,7 @@
this.btnRumble.UseVisualStyleBackColor = true; this.btnRumble.UseVisualStyleBackColor = true;
this.btnRumble.Click += new System.EventHandler(this.btnRumble_Click); this.btnRumble.Click += new System.EventHandler(this.btnRumble_Click);
this.btnRumble.KeyDown += new System.Windows.Forms.KeyEventHandler(this.anyKeyDown); this.btnRumble.KeyDown += new System.Windows.Forms.KeyEventHandler(this.anyKeyDown);
this.btnRumble.KeyUp += new System.Windows.Forms.KeyEventHandler(this.anyKeyUp); this.btnRumble.KeyUp += new System.Windows.Forms.KeyEventHandler(this.AnyKeyUp);
// //
// btn5th // btn5th
// //
@ -203,7 +203,7 @@
this.btn5th.UseVisualStyleBackColor = true; this.btn5th.UseVisualStyleBackColor = true;
this.btn5th.Click += new System.EventHandler(this.btn5th_Click); this.btn5th.Click += new System.EventHandler(this.btn5th_Click);
this.btn5th.KeyDown += new System.Windows.Forms.KeyEventHandler(this.anyKeyDown); this.btn5th.KeyDown += new System.Windows.Forms.KeyEventHandler(this.anyKeyDown);
this.btn5th.KeyUp += new System.Windows.Forms.KeyEventHandler(this.anyKeyUp); this.btn5th.KeyUp += new System.Windows.Forms.KeyEventHandler(this.AnyKeyUp);
// //
// btn4th // btn4th
// //
@ -212,7 +212,7 @@
this.btn4th.UseVisualStyleBackColor = true; this.btn4th.UseVisualStyleBackColor = true;
this.btn4th.Click += new System.EventHandler(this.btn4th_Click); this.btn4th.Click += new System.EventHandler(this.btn4th_Click);
this.btn4th.KeyDown += new System.Windows.Forms.KeyEventHandler(this.anyKeyDown); this.btn4th.KeyDown += new System.Windows.Forms.KeyEventHandler(this.anyKeyDown);
this.btn4th.KeyUp += new System.Windows.Forms.KeyEventHandler(this.anyKeyUp); this.btn4th.KeyUp += new System.Windows.Forms.KeyEventHandler(this.AnyKeyUp);
// //
// btnLoadP // btnLoadP
// //
@ -286,7 +286,7 @@
this.ShowInTaskbar = false; this.ShowInTaskbar = false;
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.RecordBox_FormClosing); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.RecordBox_FormClosing);
this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.anyKeyDown); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.anyKeyDown);
this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.anyKeyUp); this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.AnyKeyUp);
this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.anyMouseDown); this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.anyMouseDown);
this.MouseUp += new System.Windows.Forms.MouseEventHandler(this.anyMouseUp); this.MouseUp += new System.Windows.Forms.MouseEventHandler(this.anyMouseUp);
this.Resize += new System.EventHandler(this.RecordBox_Resize); this.Resize += new System.EventHandler(this.RecordBox_Resize);

View File

@ -548,7 +548,7 @@ namespace DS4Windows
return e.KeyValue; return e.KeyValue;
} }
private void anyKeyUp(object sender, KeyEventArgs e) private void AnyKeyUp(object sender, KeyEventArgs e)
{ {
if (btnRecord.Text == Properties.Resources.StopText && (macros.Count != 0 || (recordAfter && macrosAfter.Count != 0))) if (btnRecord.Text == Properties.Resources.StopText && (macros.Count != 0 || (recordAfter && macrosAfter.Count != 0)))
{ {