コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtAccount = ((Pharos.Wpf.Controls.IconTextBox)(target));
                return;

            case 2:
                this.txtPassword = ((Pharos.Wpf.Controls.IconPasswordBox)(target));
                return;

            case 3:
                this.btnLogin = ((Pharos.Wpf.Controls.PosButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 2:

            #line 20 "..\..\..\ChildWin\TuiHuanHuo.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TabItemHeader_HuanHuo_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 3:
                this.HUANHUOGRID = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 4:
                this.ChangeOldOrderSn = ((Pharos.Wpf.Controls.IconTextBox)(target));
                return;

            case 5:

            #line 110 "..\..\..\ChildWin\TuiHuanHuo.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.txtMode_MouseDown);

            #line default
            #line hidden
                return;

            case 6:
                this.txtChangeBarcode = ((Pharos.Wpf.Controls.IconTextBox)(target));

            #line 111 "..\..\..\ChildWin\TuiHuanHuo.xaml"
                this.txtChangeBarcode.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.IconTextBox_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 7:
                this.ChangePwd = ((Pharos.Wpf.Controls.IconPasswordBox)(target));
                return;

            case 8:

            #line 128 "..\..\..\ChildWin\TuiHuanHuo.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TabItemHeader_TuiHuo_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 9:
                this.TUIHUOGRID = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 10:
                this.RefundOldOrderSn = ((Pharos.Wpf.Controls.IconTextBox)(target));
                return;

            case 11:
                this.txtRefundBarcode = ((Pharos.Wpf.Controls.IconTextBox)(target));

            #line 213 "..\..\..\ChildWin\TuiHuanHuo.xaml"
                this.txtRefundBarcode.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.IconTextBox_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 12:
                this.RefundPwd = ((Pharos.Wpf.Controls.IconPasswordBox)(target));
                return;

            case 13:

            #line 231 "..\..\..\ChildWin\TuiHuanHuo.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TabItemHeader_TuiDan_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 14:
                this.txtRefundAllBarcode = ((Pharos.Wpf.Controls.IconTextBox)(target));

            #line 286 "..\..\..\ChildWin\TuiHuanHuo.xaml"
                this.txtRefundAllBarcode.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.IconTextBox_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 15:
                this.RefundAllPwd = ((Pharos.Wpf.Controls.IconPasswordBox)(target));
                return;
            }
            this._contentLoaded = true;
        }