Exemple #1
0
 public BlockManager(Dameer dameer, string format)
 {
     Debug.WriteLine("BlockManager");
     this._dameer            = dameer;
     this._format            = format;
     this._dameer.LostFocus += new RoutedEventHandler(_dameer_LostFocus);
     this._blocks            = new List <Block>();
     this.InitBlocks();
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DateBegLog = ((Loya.Dameer.Dameer)(target));
                return;

            case 2:
                this.DateEndLog = ((Loya.Dameer.Dameer)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\OrderSum.xaml"
                ((UBPayApp.OrderSum)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.lb__OrderSum = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.grid2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.grid4 = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.OrderSumQueryPage = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 8:
                this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 9:
                this.today = ((System.Windows.Controls.RadioButton)(target));

            #line 377 "..\..\..\OrderSum.xaml"
                this.today.Click += new System.Windows.RoutedEventHandler(this.today_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.yesterday = ((System.Windows.Controls.RadioButton)(target));

            #line 380 "..\..\..\OrderSum.xaml"
                this.yesterday.Click += new System.Windows.RoutedEventHandler(this.yesterday_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.Nearly7days = ((System.Windows.Controls.RadioButton)(target));

            #line 383 "..\..\..\OrderSum.xaml"
                this.Nearly7days.Click += new System.Windows.RoutedEventHandler(this.Nearly7days_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.Nearly30days = ((System.Windows.Controls.RadioButton)(target));

            #line 386 "..\..\..\OrderSum.xaml"
                this.Nearly30days.Click += new System.Windows.RoutedEventHandler(this.Nearly30days_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.datePicker1 = ((Loya.Dameer.Dameer)(target));
                return;

            case 14:
                this.datePicker2 = ((Loya.Dameer.Dameer)(target));
                return;

            case 15:
                this.label9 = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.bt__OrderSum = ((System.Windows.Controls.Button)(target));

            #line 394 "..\..\..\OrderSum.xaml"
                this.bt__OrderSum.Click += new System.Windows.RoutedEventHandler(this.bt__OrderSum_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.bt__exPortExcel = ((System.Windows.Controls.Button)(target));

            #line 395 "..\..\..\OrderSum.xaml"
                this.bt__exPortExcel.Click += new System.Windows.RoutedEventHandler(this.bt__exPortExcel_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.btPreviousPage = ((System.Windows.Controls.Button)(target));

            #line 397 "..\..\..\OrderSum.xaml"
                this.btPreviousPage.Click += new System.Windows.RoutedEventHandler(this.btPreviousPage_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.btNextPage = ((System.Windows.Controls.Button)(target));

            #line 398 "..\..\..\OrderSum.xaml"
                this.btNextPage.Click += new System.Windows.RoutedEventHandler(this.btNextPage_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.txTargetPage = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.label12 = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.btTargetPage = ((System.Windows.Controls.Button)(target));

            #line 401 "..\..\..\OrderSum.xaml"
                this.btTargetPage.Click += new System.Windows.RoutedEventHandler(this.btTargetPage_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.DisplayPage = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\RefundQuery.xaml"
                ((UBPayApp.RefundQuery)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.lb__Refund = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.grid2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.grid4 = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.OrderRefundQueryPage = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 9:
                this.rectangle1 = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 10:
                this.today = ((System.Windows.Controls.RadioButton)(target));

            #line 405 "..\..\..\RefundQuery.xaml"
                this.today.Click += new System.Windows.RoutedEventHandler(this.today_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.yesterday = ((System.Windows.Controls.RadioButton)(target));

            #line 408 "..\..\..\RefundQuery.xaml"
                this.yesterday.Click += new System.Windows.RoutedEventHandler(this.yesterday_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.Nearly7days = ((System.Windows.Controls.RadioButton)(target));

            #line 411 "..\..\..\RefundQuery.xaml"
                this.Nearly7days.Click += new System.Windows.RoutedEventHandler(this.Nearly7days_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.Nearly30days = ((System.Windows.Controls.RadioButton)(target));

            #line 414 "..\..\..\RefundQuery.xaml"
                this.Nearly30days.Click += new System.Windows.RoutedEventHandler(this.Nearly30days_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.datePicker1 = ((Loya.Dameer.Dameer)(target));
                return;

            case 15:
                this.datePicker2 = ((Loya.Dameer.Dameer)(target));
                return;

            case 16:
                this.label9 = ((System.Windows.Controls.Label)(target));
                return;

            case 17:
                this.label10 = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.jm1 = ((System.Windows.Controls.Border)(target));
                return;

            case 19:
                this.lbInputID = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.refund = ((System.Windows.Controls.Border)(target));
                return;

            case 21:
                this.lbInputRefundID = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.bt_refund = ((System.Windows.Controls.Button)(target));

            #line 435 "..\..\..\RefundQuery.xaml"
                this.bt_refund.Click += new System.Windows.RoutedEventHandler(this.bt_refund_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.label11 = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.cmb_Payment_Mode = ((System.Windows.Controls.ComboBox)(target));

            #line 438 "..\..\..\RefundQuery.xaml"
                this.cmb_Payment_Mode.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmb_Payment_Mode_SelectionChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.bt__RefundQuery = ((System.Windows.Controls.Button)(target));

            #line 439 "..\..\..\RefundQuery.xaml"
                this.bt__RefundQuery.Click += new System.Windows.RoutedEventHandler(this.bt__RefundQuery_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.bt__exPortExcel = ((System.Windows.Controls.Button)(target));

            #line 440 "..\..\..\RefundQuery.xaml"
                this.bt__exPortExcel.Click += new System.Windows.RoutedEventHandler(this.bt__exPortExcel_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.tBoxInputID = ((System.Windows.Controls.TextBox)(target));

            #line 441 "..\..\..\RefundQuery.xaml"
                this.tBoxInputID.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tBoxInputID_TextChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.label13 = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.tBoxRefundOrder = ((System.Windows.Controls.TextBox)(target));

            #line 443 "..\..\..\RefundQuery.xaml"
                this.tBoxRefundOrder.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tBoxRefundOrder_TextChanged);

            #line default
            #line hidden
                return;

            case 30:
                this.label11_Copy3 = ((System.Windows.Controls.Label)(target));
                return;

            case 31:
                this.cmbPaymentType = ((System.Windows.Controls.ComboBox)(target));

            #line 445 "..\..\..\RefundQuery.xaml"
                this.cmbPaymentType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbPaymentType_SelectionChanged);

            #line default
            #line hidden
                return;

            case 32:
                this.label11_Copy4 = ((System.Windows.Controls.Label)(target));
                return;

            case 33:
                this.cmb_Order_Status = ((System.Windows.Controls.ComboBox)(target));

            #line 447 "..\..\..\RefundQuery.xaml"
                this.cmb_Order_Status.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmb_Order_Status_SelectionChanged);

            #line default
            #line hidden
                return;

            case 34:
                this.btPreviousPage = ((System.Windows.Controls.Button)(target));

            #line 453 "..\..\..\RefundQuery.xaml"
                this.btPreviousPage.Click += new System.Windows.RoutedEventHandler(this.btPreviousPage_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.btNextPage = ((System.Windows.Controls.Button)(target));

            #line 454 "..\..\..\RefundQuery.xaml"
                this.btNextPage.Click += new System.Windows.RoutedEventHandler(this.btNextPage_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.txTargetPage = ((System.Windows.Controls.TextBox)(target));
                return;

            case 37:
                this.label12 = ((System.Windows.Controls.Label)(target));
                return;

            case 38:
                this.btTargetPage = ((System.Windows.Controls.Button)(target));

            #line 457 "..\..\..\RefundQuery.xaml"
                this.btTargetPage.Click += new System.Windows.RoutedEventHandler(this.btTargetPage_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.DisplayRefundPage = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }