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

            case 2:
                this.txtzhaoling = ((Pharos.Wpf.Controls.IconTextBox)(target));
                return;

            case 3:
                this.rect = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 4:
                this.txtTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.txtContent = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.btnpay = ((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:

            #line 29 "..\..\..\ChildWin\ChaDingDan.xaml"
                ((System.Windows.Controls.DatePicker)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.DatePicker_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.cashier = ((Pharos.Wpf.Controls.IconTextBox)(target));
                return;

            case 3:
                this.machineSn = ((Pharos.Wpf.Controls.IconTextBox)(target));
                return;

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

            case 5:
                this.m = ((Pharos.Wpf.Controls.PosButton)(target));
                return;

            case 6:
                this.DataView = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.txtBarcode = ((Pharos.Wpf.Controls.IconTextBox)(target));
         return;
     }
     this._contentLoaded = true;
 }
コード例 #4
0
ファイル: PosWindow.g.cs プロジェクト: Lincoln007/DotNet.ERP
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.posPage = ((Pharos.POS.Retailing.PosWindow)(target));
                return;

            case 2:
                this.menuPanel = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.notice = ((Pharos.Wpf.Controls.Marquee)(target));
                return;

            case 4:
                this.dgOrderList = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 5:
                this.txtBarcode = ((Pharos.Wpf.Controls.IconTextBox)(target));

            #line 172 "..\..\PosWindow.xaml"
                this.txtBarcode.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.txtBarcode_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 6:
                this.txtNum = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:

            #line 297 "..\..\PosWindow.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.SaleStatusTextBlock_MouseDown);

            #line default
            #line hidden
                return;

            case 8:

            #line 298 "..\..\PosWindow.xaml"
                ((System.Windows.Controls.TextBlock)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.PrintStatusTextBlock_MouseDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #5
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;
        }
コード例 #6
0
ファイル: DaiJinQuan.g.cs プロジェクト: Lincoln007/DotNet.ERP
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtshoukuan = ((Pharos.Wpf.Controls.IconTextBox)(target));
                return;

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

            case 3:
                this.txtContent = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtMemberID = ((Pharos.Wpf.Controls.IconTextBox)(target));
                return;

            case 2:
                this.txtPhone = ((Pharos.Wpf.Controls.IconTextBox)(target));
                return;

            case 3:
                this.dt = ((System.Windows.Controls.DatePicker)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtAmount = ((Pharos.Wpf.Controls.IconTextBox)(target));
                return;

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

            case 3:

            #line 21 "..\..\..\..\ChildWin\Pay\ChoosePayWindow.xaml"
                ((Pharos.Wpf.Controls.PosButton)(target)).Click += new System.Windows.RoutedEventHandler(this.PosOkButton_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 22 "..\..\..\..\ChildWin\Pay\ChoosePayWindow.xaml"
                ((Pharos.Wpf.Controls.PosButton)(target)).Click += new System.Windows.RoutedEventHandler(this.PosCancelButton_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.itemsPay = ((Pharos.POS.Retailing.ChildWin.Pay.ChoosePay)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #9
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:
                this.addMemberTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 3:
                this.txtPhone = ((Pharos.Wpf.Controls.IconTextBox)(target));
                return;

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

            case 5:
                this.dt = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 6:
                this.findMemberTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 7:
                this.qPhone = ((Pharos.Wpf.Controls.IconTextBox)(target));
                return;

            case 8:
                this.dCardNo = ((Pharos.Wpf.Controls.IconTextBox)(target));
                return;

            case 9:

            #line 213 "..\..\..\..\ChildWin\Member\Member.xaml"
                ((System.Windows.Controls.DatePicker)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.DatePicker_PreviewKeyDown);

            #line default
            #line hidden
                return;

            case 10:

            #line 214 "..\..\..\..\ChildWin\Member\Member.xaml"
                ((System.Windows.Controls.TextBlock)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.DatePicker_PreviewKeyDown);

            #line default
            #line hidden
                return;

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

            case 12:
                this.crCardNo = ((Pharos.Wpf.Controls.IconTextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #10
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 16 "..\..\..\ChildWin\TuiHuanHuo.xaml"
                ((System.Windows.Controls.TabItem)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.change_MouseDown);

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 5:

            #line 146 "..\..\..\ChildWin\TuiHuanHuo.xaml"
                ((System.Windows.Controls.TabItem)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.refund_MouseDown);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 7:

            #line 272 "..\..\..\ChildWin\TuiHuanHuo.xaml"
                ((System.Windows.Controls.TabItem)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.refunAll_MouseDown);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #11
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;
        }