private void ResetUI(object sender, EventArgs e)
 {
     this.BeginInvoke((Action) delegate() { this.Enabled = true; this.Focus(); });
     StartButton.BeginInvoke((Action) delegate() { StartButton.Enabled = true; StartButton.Focus(); });
     StopButton.BeginInvoke((Action) delegate() { StopButton.Enabled = false; });
     numReplays.BeginInvoke((Action) delegate() { numReplays.Enabled = true; });
     InputRecordHotkey.BeginInvoke((Action) delegate() { InputRecordHotkey.Enabled = true; });
     InputStopHotkey.BeginInvoke((Action) delegate() { InputStopHotkey.Enabled = true; });
     menuStrip.BeginInvoke((Action) delegate() { menuStrip.Enabled = true; });
     SGSettings.BeginInvoke((Action) delegate() { SGSettings.Enabled = true; });
     BBTagSettings.BeginInvoke((Action) delegate() { BBTagSettings.Enabled = true; });
     GGXrdSettings.BeginInvoke((Action) delegate() { GGXrdSettings.Enabled = true; });
 }
Ejemplo n.º 2
0
 private void ResetUI(object sender, EventArgs e)
 {
     this.BeginInvoke((Action) delegate() { this.Enabled = true; this.Focus(); });
     StartButton.BeginInvoke((Action) delegate() { StartButton.Enabled = true; StartButton.Focus(); });
     StopButton.BeginInvoke((Action) delegate() { StopButton.Enabled = false; });
     numReplays.BeginInvoke((Action) delegate() { numReplays.Enabled = true; });
     InputRecordHotkey.BeginInvoke((Action) delegate() { InputRecordHotkey.Enabled = true; });
     InputStopHotkey.BeginInvoke((Action) delegate() { InputStopHotkey.Enabled = true; });
     DisplayHitboxes.BeginInvoke((Action) delegate() { DisplayHitboxes.Enabled = true; });
     DisplayInputs.BeginInvoke((Action) delegate() { DisplayInputs.Enabled = true; });
     DisplayAttackData.BeginInvoke((Action) delegate() { DisplayAttackData.Enabled = true; });
     menuStrip.BeginInvoke((Action) delegate() { menuStrip.Enabled = true; });
 }