示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mb = ((WxTools.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 = ((WxTools.Theme.Control.FButton)(target));
                return;

            case 5:
                this.btnCancel = ((WxTools.Theme.Control.FButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.mb = ((WxTools.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 = ((WxTools.Theme.Control.FButton)(target));
                return;

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

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

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

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