示例#1
0
 public void Cancel()
 {
     if (this.shellOptionsModel == null)
     {
         return;
     }
     this.shellOptionsModel.Cancel();
     this.shellOptionsModel   = (ShellOptionsModel)null;
     this.shellOptionsControl = (ShellOptionsControl)null;
 }
示例#2
0
        void IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.shellOptionsControl = (ShellOptionsControl)target;
                break;

            case 2:
                this.ThemeTextBox = (ComboBox)target;
                break;

            default:
                this._contentLoaded = true;
                break;
            }
        }
示例#3
0
 public void Commit()
 {
     this.shellOptionsModel   = (ShellOptionsModel)null;
     this.shellOptionsControl = (ShellOptionsControl)null;
 }