public void Cancel() { if (this.shellOptionsModel == null) { return; } this.shellOptionsModel.Cancel(); this.shellOptionsModel = (ShellOptionsModel)null; this.shellOptionsControl = (ShellOptionsControl)null; }
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; } }
public void Commit() { this.shellOptionsModel = (ShellOptionsModel)null; this.shellOptionsControl = (ShellOptionsControl)null; }