Ejemplo n.º 1
0
 protected override void Cancelling()
 {
     Button1Model = _defaultHelpButton;
     Button2Model = new InvisibleButtonModel(Model);
     Button3Model = new InvisibleButtonModel(Model);
     Button4Model = new InvisibleButtonModel(Model);
     Button5Model = new InvisibleButtonModel(Model);
 }
Ejemplo n.º 2
0
 protected override void ConfigureApplying()
 {
     Button1Model = _defaultHelpButton;
     Button2Model = new InvisibleButtonModel(Model);
     Button3Model = new InvisibleButtonModel(Model);
     Button4Model = new InvisibleButtonModel(Model);
     Button5Model = new CancelBottomButtonModel(Model) { Text = "Cancel" };
 }
Ejemplo n.º 3
0
 protected override void ConfigureAskExternalRetry()
 {
     Button1Model = _defaultHelpButton;
     Button2Model = new DynamicShowExternalOptionsButtonModel(Model) { Text = "Menu" };
     Button3Model = new InvisibleButtonModel(Model);
     Button4Model = new StartExternalBottomButton(Model,InstallActions.Remove){Text = "Retry"};
     Button5Model = new CloseBottomButtonModel(Model, 1602) { Text = "Cancel" };
 }
Ejemplo n.º 4
0
 protected override void ConfigureAskCancel()
 {
     Button1Model = _defaultHelpButton;
     Button2Model = new InvisibleButtonModel(Model);
     Button3Model = new InvisibleButtonModel(Model);
     Button4Model = new StateBottomButton(Model, InstallationState.Cancelling){ Text = "Yes" };
     Button5Model = new StateBottomButton(Model, InstallationState.Applying) { Text = "No" };
 }
Ejemplo n.º 5
0
        protected override void ConfigureShowRemoveOptions()
        {
            Button1Model = _defaultHelpButton;
            if (Model.ExternalEngine.AllowBack)
                Button2Model = new StateBottomButton(Model, InstallationState.DetectedPresent){Text = "Menu"};
            else
                Button2Model = new InvisibleButtonModel(Model);

            Button3Model = new InvisibleButtonModel(Model);
            Button4Model = new InvisibleButtonModel(Model);

            Button5Model = new StartExternalBottomButton(Model, InstallActions.Remove){Text="Uninstall"};
        }
Ejemplo n.º 6
0
 protected override void ConfigureStart()
 {
     Button1Model = _defaultHelpButton;
     Button2Model = new PlanBottomButton(Model, InstallActions.Repair) { Text = "Repair" };
     Button3Model = new DynamicShowExternalOptionsButtonModel(Model){Text = "Uninstall"};
     Button4Model = new InvisibleButtonModel(Model);
     Button5Model = new CloseBottomButtonModel(Model, 0) { Text = "Close" };
 }
Ejemplo n.º 7
0
 protected override void ConfigureRunningExternal()
 {
     Button1Model = _defaultHelpButton;
     Button2Model = new InvisibleButtonModel(Model);
     Button3Model = new InvisibleButtonModel(Model);
     Button4Model = new InvisibleButtonModel(Model);
     Button5Model = new InvisibleButtonModel(Model);
 }
Ejemplo n.º 8
0
 protected override void ConfigureRemoveApplied()
 {
     Button1Model = _defaultHelpButton;
     Button2Model = new InvisibleButtonModel(Model);
     Button3Model = new InvisibleButtonModel(Model);
     Button4Model = new InvisibleButtonModel(Model);
     Button5Model = new CloseBottomButtonModel(Model,0) { Text = "Close" };
 }
Ejemplo n.º 9
0
 protected override void ConfigureOlder()
 {
     Button1Model = _defaultHelpButton;
     Button2Model = new InvisibleButtonModel(Model);
     Button3Model = new InvisibleButtonModel(Model);
     Button4Model = new InvisibleButtonModel(Model);
     Button5Model = new CloseBottomButtonModel(Model, 1602) { Text = "Close" };
 }
Ejemplo n.º 10
0
 protected override void ConfigureLaunchingCurrent()
 {
     Button1Model = _defaultHelpButton;
     Button2Model = new InvisibleButtonModel(Model);
     Button3Model = new InvisibleButtonModel(Model);
     Button4Model = new InvisibleButtonModel(Model);
     Button5Model = new CloseBottomButtonModel(Model, 0) { Text = "Close" };
 }
Ejemplo n.º 11
0
 protected override void ConfigureFailed()
 {
     Button1Model = _defaultHelpButton;
     Button2Model = new InvisibleButtonModel(Model);
     Button3Model = new InvisibleButtonModel(Model);
     Button4Model = new InvisibleButtonModel(Model);
     Button5Model = new CloseBottomButtonModel(Model,Model.ErrorCode) { Text = "Close" };
 }