Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mb = ((ScriptPlugin.Theme.Control.MessageBoxX)(target));
                return;

            case 2:
                this.ficon = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.txtMessage = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.btnOK = ((ScriptPlugin.Theme.Control.FButton)(target));
                return;

            case 5:
                this.btnCancel = ((ScriptPlugin.Theme.Control.FButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mb = ((ScriptPlugin.Theme.Control.InputBoxPassword)(target));
                return;

            case 2:
                this.InputTextBox = ((System.Windows.Controls.PasswordBox)(target));

            #line 19 "..\..\..\Control\InputBoxPassword.xaml"
                this.InputTextBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.InputTextBox_OnKeyDown);

            #line default
            #line hidden
                return;

            case 3:
                this.btnOK = ((ScriptPlugin.Theme.Control.FButton)(target));
                return;

            case 4:
                this.btnCancel = ((ScriptPlugin.Theme.Control.FButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mb = ((ScriptPlugin.Theme.Control.InputBoxX)(target));
                return;

            case 2:
                this.InputTextBox = ((ScriptPlugin.Theme.Control.NumTextBox)(target));
                return;

            case 3:
                this.btnOK = ((ScriptPlugin.Theme.Control.FButton)(target));
                return;

            case 4:
                this.btnCancel = ((ScriptPlugin.Theme.Control.FButton)(target));
                return;
            }
            this._contentLoaded = true;
        }