Beispiel #1
0
                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;
                }
Beispiel #2
0
 public IButtonStateAction clickStop()
 {
     return(this.currentButtonStateAction = this.currentButtonStateAction.clickStop());
 }
Beispiel #3
0
 public void initButtonState()
 {
     this.currentButtonStateAction = new ButtonStateActionStopped(this);
 }