public ButtonStateActionSuspended(IButtonStateAction buttonStateAction) { // this.buttonPlay = buttonStateAction.buttonPlay; this.buttonPause = buttonStateAction.buttonPause; this.buttonStop = buttonStateAction.buttonStop; this.form = buttonStateAction.form; // this.buttonPlay.Enabled = true; this.buttonPause.Enabled = false; this.buttonStop.Enabled = true; this.form.buttonImageFilter.Enabled = false; this.form.comboBoxUrl.Enabled = false; this.form.checkBoxIncludeExternalPages.Enabled = false; this.form.buttonImageLogFolder.Enabled = true; }
public IButtonStateAction clickStop() { return(this.currentButtonStateAction = this.currentButtonStateAction.clickStop()); }
public void initButtonState() { this.currentButtonStateAction = new ButtonStateActionStopped(this); }