Ejemplo n.º 1
0
        static void selectedDateChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            PersianDatePicker pdp = o as PersianDatePicker;
            pdp.Text = e.NewValue.ToString();
            pdp.RaiseEvent(new RoutedEventArgs(SelectedDateChangedEvent, pdp));

        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\window\win_showReport.xaml"
                ((foroosh.window.win_showReport)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.calendar = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 3:
                this.CRV = ((SAPBusinessObjects.WPF.Viewer.CrystalReportsViewer)(target));

            #line 12 "..\..\..\window\win_showReport.xaml"
                this.CRV.Loaded += new System.Windows.RoutedEventHandler(this.CrystalReportsViewer_Loaded);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\..\..\Cash_and_installment_sales\Leasing_02_vekalatnameh.xaml"
                ((AlborzAutomobile.Leasing_02_vekalatnameh)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.persianDatePicker1 = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

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

            case 4:
                this.textBox1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.textBox2 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 12 "..\..\..\..\Cash_and_installment_sales\Leasing_02_vekalatnameh.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.button2 = ((System.Windows.Controls.Button)(target));

            #line 13 "..\..\..\..\Cash_and_installment_sales\Leasing_02_vekalatnameh.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtLoanCode = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.pdcPaymentDate = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 3:
                this.txtLoanPrice = ((System.Windows.Controls.TextBox)(target));

            #line 12 "..\..\..\Forms\PayrollAddLoan.xaml"
                this.txtLoanPrice.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtLoanPrice_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 4:
                this.btnNewLoan = ((System.Windows.Controls.Button)(target));

            #line 13 "..\..\..\Forms\PayrollAddLoan.xaml"
                this.btnNewLoan.Click += new System.Windows.RoutedEventHandler(this.btnNewLoan_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.grdLoan = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 6:
                this.GridLoanDetail = ((System.Windows.Controls.MenuItem)(target));

            #line 17 "..\..\..\Forms\PayrollAddLoan.xaml"
                this.GridLoanDetail.Click += new System.Windows.RoutedEventHandler(this.GridLoanDetail_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnSubmit = ((System.Windows.Controls.Button)(target));

            #line 27 "..\..\..\Forms\PayrollAddLoan.xaml"
                this.btnSubmit.Click += new System.Windows.RoutedEventHandler(this.btnSubmit_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 3:
                this.label20 = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.persianDatePicker1 = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 5:
                this.persianDatePicker2 = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 6:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 11 "..\..\..\PPrint_Customers.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.textBox1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.textBox2 = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\..\Rusty_11_varizvajbemoshtari.xaml"
                ((AlborzAutomobile.Rusty_11_varizvajbemoshtari)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.persianDatePicker1 = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 3:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 8 "..\..\..\Rusty_11_varizvajbemoshtari.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.button2 = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.button3 = ((System.Windows.Controls.Button)(target));

            #line 10 "..\..\..\Rusty_11_varizvajbemoshtari.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);

            #line default
            #line hidden
                return;

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

            case 8:
                this.textBox1 = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 7
0
 static object coerceDateToBeInRange(DependencyObject d, object o)
 {
     PersianDatePicker pdp = d as PersianDatePicker;
     PersianDate value = (PersianDate)o;
     if (value < pdp.DisplayDateStart)
     {
         return pdp.DisplayDateStart;
     }
     if (value > pdp.DisplayDateEnd)
     {
         return pdp.DisplayDateEnd;
     }
     return o;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\..\..\Cash_and_installment_sales\Sales_05_Sodor.xaml"
                ((AlborzAutomobile.Sales_05_Sodor)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.persianDatePicker1 = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 3:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 8 "..\..\..\..\Cash_and_installment_sales\Sales_05_Sodor.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.button2 = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.button3 = ((System.Windows.Controls.Button)(target));

            #line 10 "..\..\..\..\Cash_and_installment_sales\Sales_05_Sodor.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cmbStoreS = ((System.Windows.Controls.ComboBox)(target));

            #line 8 "..\..\..\..\..\Forms\Bills\ReportTheTotalPurchase\Frm_ReportLimpidBuyByGoogies.xaml"
                this.cmbStoreS.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbStoreS_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.PDate = ((Arash.PersianDateControls.PersianDatePicker)(target));

            #line 11 "..\..\..\..\..\Forms\Bills\ReportTheTotalPurchase\Frm_ReportLimpidBuyByGoogies.xaml"
                this.PDate.SelectedDateChanged += new System.Windows.RoutedEventHandler(this.PDate_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 3:

            #line 12 "..\..\..\..\..\Forms\Bills\ReportTheTotalPurchase\Frm_ReportLimpidBuyByGoogies.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

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

            case 5:
                this.SumTxT = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.SumPrice = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\..\..\Leasing\Leasing_04_Datetakmil.xaml"
                ((AlborzAutomobile.Leasing_04_Datetakmil)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.persianDatePicker1 = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 3:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 8 "..\..\..\..\Leasing\Leasing_04_Datetakmil.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.button2 = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.persianDatePicker2 = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 7:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\..\Rusty_07_pazireshvamoarefibeparking.xaml"
                ((AlborzAutomobile.Rusty_07_pazireshvamoarefibeparking)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.persianDatePicker1 = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 3:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 8 "..\..\..\Rusty_07_pazireshvamoarefibeparking.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.button2 = ((System.Windows.Controls.Button)(target));

            #line 9 "..\..\..\Rusty_07_pazireshvamoarefibeparking.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.lbl_clockname = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.calnder1 = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 3:
                this.lbl_calnder = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.rectangleSecond = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 5:
                this.secondHand = ((System.Windows.Media.RotateTransform)(target));
                return;

            case 6:
                this.rectangleMinute = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 7:
                this.minuteHand = ((System.Windows.Media.RotateTransform)(target));
                return;

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

            case 9:
                this.hourHand = ((System.Windows.Media.RotateTransform)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.persianDatePicker1 = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

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

            case 3:
                this.button1 = ((System.Windows.Controls.Button)(target));
                return;

            case 4:
                this.button2 = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.button3 = ((System.Windows.Controls.Button)(target));

            #line 10 "..\..\..\..\Sell_Buy\Sell_Buy_05_sodor_sanad_varizi.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);

            #line default
            #line hidden
                return;

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

            case 7:
                this.textBox1 = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 14
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 7 "..\..\..\..\..\Forms\Bills\ReportTheTotalPurchase\Frm_ReportTheTotalPurchasev.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 2:
                this.PDate1 = ((Arash.PersianDateControls.PersianDatePicker)(target));

            #line 9 "..\..\..\..\..\Forms\Bills\ReportTheTotalPurchase\Frm_ReportTheTotalPurchasev.xaml"
                this.PDate1.SelectedDateChanged += new System.Windows.RoutedEventHandler(this.PDate1_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.PDate2 = ((Arash.PersianDateControls.PersianDatePicker)(target));

            #line 11 "..\..\..\..\..\Forms\Bills\ReportTheTotalPurchase\Frm_ReportTheTotalPurchasev.xaml"
                this.PDate2.SelectedDateChanged += new System.Windows.RoutedEventHandler(this.PDate2_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

            #line 9 "..\..\..\Windows\Win_ShowReport.xaml"
                ((Sales_and_warehouse_system.Windows.Win_ShowReport)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.Calnder1 = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 3:
                this.CRV = ((SAPBusinessObjects.WPF.Viewer.CrystalReportsViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 16
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\window\win.xaml"
                ((foroosh.window.Win_AddNewPrice)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 13 "..\..\..\window\win.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown);

            #line default
            #line hidden
                return;

            case 3:
                this.lbl_date = ((System.Windows.Controls.Label)(target));
                return;

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

            case 5:
                this.lbl_title = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.btn_ok = ((System.Windows.Controls.Button)(target));

            #line 34 "..\..\..\window\win.xaml"
                this.btn_ok.Click += new System.Windows.RoutedEventHandler(this.btn_ok_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btn_exit = ((System.Windows.Controls.Button)(target));

            #line 39 "..\..\..\window\win.xaml"
                this.btn_exit.Click += new System.Windows.RoutedEventHandler(this.btn_exit_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.txt_purch = ((System.Windows.Controls.TextBox)(target));

            #line 44 "..\..\..\window\win.xaml"
                this.txt_purch.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_purch_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 9:
                this.txt_sale = ((System.Windows.Controls.TextBox)(target));

            #line 49 "..\..\..\window\win.xaml"
                this.txt_sale.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_sale_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 10:
                this.txt_desc = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.calendar = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 17
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\Windows\Win_AddNewTrans.xaml"
                ((Sales_and_warehouse_system.Windows.Win_AddNewTrans)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.image1 = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.image_Copy1 = ((System.Windows.Controls.Image)(target));
                return;

            case 4:
                this.image1_Copy = ((System.Windows.Controls.Image)(target));

            #line 37 "..\..\..\Windows\Win_AddNewTrans.xaml"
                this.image1_Copy.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.image1_MouseDown_1);

            #line default
            #line hidden
                return;

            case 5:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.lblnameprudct = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.label1_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.label1_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.lbl_username = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.label1_Copy4 = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.label1_Copy5 = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.label1_Copy7 = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.txtcount = ((System.Windows.Controls.TextBox)(target));

            #line 60 "..\..\..\Windows\Win_AddNewTrans.xaml"
                this.txtcount.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.textBox_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 14:
                this.txtdesc = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 16:
                this.Calnder = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

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

            #line 88 "..\..\..\Windows\Win_AddNewTrans.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click);

            #line default
            #line hidden
                return;

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

            #line 96 "..\..\..\Windows\Win_AddNewTrans.xaml"
                this.button_Copy.Click += new System.Windows.RoutedEventHandler(this.button_Copy_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.cmbstuts = ((System.Windows.Controls.ComboBox)(target));

            #line 104 "..\..\..\Windows\Win_AddNewTrans.xaml"
                this.cmbstuts.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cmbstuts_SelectionChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\..\Sell_Buy_01_Sabt.xaml"
                ((AlborzAutomobile.Sell_Buy_01_Sabt)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 3:
                this.label7 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 5:
                this.textBox1 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.textBox2 = ((System.Windows.Controls.TextBox)(target));

            #line 12 "..\..\..\Sell_Buy_01_Sabt.xaml"
                this.textBox2.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox2_TextChanged);

            #line default
            #line hidden

            #line 12 "..\..\..\Sell_Buy_01_Sabt.xaml"
                this.textBox2.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBox2_KeyDown);

            #line default
            #line hidden
                return;

            case 8:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.label6 = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.label8 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 14:
                this.textBox3 = ((System.Windows.Controls.TextBox)(target));

            #line 19 "..\..\..\Sell_Buy_01_Sabt.xaml"
                this.textBox3.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox3_TextChanged);

            #line default
            #line hidden

            #line 19 "..\..\..\Sell_Buy_01_Sabt.xaml"
                this.textBox3.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBox3_KeyDown);

            #line default
            #line hidden
                return;

            case 15:
                this.groupBox2 = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

            case 18:
                this.textBox4 = ((System.Windows.Controls.TextBox)(target));
                return;

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

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

            #line 28 "..\..\..\Sell_Buy_01_Sabt.xaml"
                this.textBox5.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBox5_KeyDown);

            #line default
            #line hidden

            #line 28 "..\..\..\Sell_Buy_01_Sabt.xaml"
                this.textBox5.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox5_TextChanged);

            #line default
            #line hidden
                return;

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

            case 22:
                this.label14 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 24:
                this.label16 = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.label17 = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.label18 = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 35 "..\..\..\Sell_Buy_01_Sabt.xaml"
                this.textBox6.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBox6_KeyDown);

            #line default
            #line hidden

            #line 35 "..\..\..\Sell_Buy_01_Sabt.xaml"
                this.textBox6.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.textBox6_TextChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 38 "..\..\..\Sell_Buy_01_Sabt.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.button2 = ((System.Windows.Controls.Button)(target));
                return;

            case 30:
                this.button3 = ((System.Windows.Controls.Button)(target));

            #line 40 "..\..\..\Sell_Buy_01_Sabt.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.label19 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 33:
                this.groupBox3 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 34:
                this.label21 = ((System.Windows.Controls.Label)(target));
                return;

            case 35:
                this.label22 = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 38:
                this.persianDatePicker1 = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 39:
                this.comboBox2 = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 40:
                this.label24 = ((System.Windows.Controls.Label)(target));
                return;

            case 41:
                this.textBox8 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 42:
                this.textBox9 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 43:
                this.label25 = ((System.Windows.Controls.Label)(target));
                return;

            case 44:
                this.label26 = ((System.Windows.Controls.Label)(target));
                return;

            case 45:
                this.comboBox1 = ((System.Windows.Controls.ComboBox)(target));

            #line 56 "..\..\..\Sell_Buy_01_Sabt.xaml"
                this.comboBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox1_SelectionChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\Windows\Win_ProductPrice - Copy.xaml"
                ((Sales_and_warehouse_system.Windows.Win_ProductPrice)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.image_Copy1 = ((System.Windows.Controls.Image)(target));
                return;

            case 4:
                this.image1 = ((System.Windows.Controls.Image)(target));

            #line 38 "..\..\..\Windows\Win_ProductPrice - Copy.xaml"
                this.image1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.image1_MouseDown_1);

            #line default
            #line hidden
                return;

            case 5:
                this.dataGrid_Product = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            case 7:
                this.label1_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.label1_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.label1_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.Calender_az = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 11:
                this.txt_name = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.imagesearch = ((System.Windows.Controls.Image)(target));

            #line 212 "..\..\..\Windows\Win_ProductPrice - Copy.xaml"
                this.imagesearch.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.imagesearch_MouseDown);

            #line default
            #line hidden
                return;

            case 13:
                this.Calnder_ta = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 14:
                this.button_Copy1 = ((System.Windows.Controls.Button)(target));
                return;

            case 15:
                this.button_Copy = ((System.Windows.Controls.Button)(target));
                return;

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

            case 17:
                this.lbl_Prodauct = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 20
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\window\win_invoice.xaml"
                ((foroosh.window.win_invoice)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 26 "..\..\..\window\win_invoice.xaml"
                ((System.Windows.Controls.Image)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Image_MouseDown);

            #line default
            #line hidden
                return;

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

            case 4:
                this.txt_customername = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.txt_customertel = ((System.Windows.Controls.TextBox)(target));

            #line 138 "..\..\..\window\win_invoice.xaml"
                this.txt_customertel.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_customertel_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 6:
                this.img_search = ((System.Windows.Controls.Image)(target));

            #line 139 "..\..\..\window\win_invoice.xaml"
                this.img_search.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.img_search_MouseDown);

            #line default
            #line hidden
                return;

            case 7:
                this.btn_newinvoice = ((System.Windows.Controls.Button)(target));

            #line 140 "..\..\..\window\win_invoice.xaml"
                this.btn_newinvoice.Click += new System.Windows.RoutedEventHandler(this.btn_newinvoice_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.calendar = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 9:
                this.lbl_username = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.lbl_date = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.lbl_customername = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.lbl_invoiceNo = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.lbl_InvoicePrice = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.dataGrid_product = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 15:
                this.btn_sabtekala = ((System.Windows.Controls.Button)(target));

            #line 303 "..\..\..\window\win_invoice.xaml"
                this.btn_sabtekala.Click += new System.Windows.RoutedEventHandler(this.btn_sabtekala_click);

            #line default
            #line hidden
                return;

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

            #line 308 "..\..\..\window\win_invoice.xaml"
                this.btn_selectProduct.Click += new System.Windows.RoutedEventHandler(this.btn_selectProduct_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.txt_searchproduct = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.txt_productcountorder = ((System.Windows.Controls.TextBox)(target));

            #line 314 "..\..\..\window\win_invoice.xaml"
                this.txt_productcountorder.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_productcountorder_PreviewTextInput);

            #line default
            #line hidden
                return;

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

            case 20:
                this.lbl_product_stock = ((System.Windows.Controls.Label)(target));
                return;

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

            case 22:
                this.image_searchProduct = ((System.Windows.Controls.Image)(target));

            #line 318 "..\..\..\window\win_invoice.xaml"
                this.image_searchProduct.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.image_searchProduct_MouseDown);

            #line default
            #line hidden
                return;

            case 23:
                this.datagrid_productorder = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 24:
                this.btn_del = ((System.Windows.Controls.Button)(target));

            #line 444 "..\..\..\window\win_invoice.xaml"
                this.btn_del.Click += new System.Windows.RoutedEventHandler(this.btn_del_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.lbl_productid = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 450 "..\..\..\window\win_invoice.xaml"
                this.btn_closeinvoice.Click += new System.Windows.RoutedEventHandler(this.btn_closeinvoice_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.lbl_invoiceprice_purch = ((System.Windows.Controls.Label)(target));
                return;

            case 28:
                this.lbl_productprice_purch = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 21
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\DeviceList.xaml"
                ((AnbarBankManagment.DeviceList)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 9 "..\..\DeviceList.xaml"
                ((AnbarBankManagment.DeviceList)(target)).Activated += new System.EventHandler(this.Window_Activated);

            #line default
            #line hidden
                return;

            case 2:
                this.Header = ((System.Windows.Shapes.Rectangle)(target));

            #line 39 "..\..\DeviceList.xaml"
                this.Header.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Header_MouseDown);

            #line default
            #line hidden
                return;

            case 3:
                this.btnback = ((System.Windows.Controls.Image)(target));

            #line 47 "..\..\DeviceList.xaml"
                this.btnback.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Back_MouseDown);

            #line default
            #line hidden
                return;

            case 4:
                this.txthesab = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.txtshakhs = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.txtdate1 = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 7:
                this.txtdate2 = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 8:
                this.txtshakhs_Copy = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 22
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\Windows\Win_AddCoustomerxaml - Copy.xaml"
                ((Sales_and_warehouse_system.Windows.Win_AddCoustomerxaml)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.image_Copy1 = ((System.Windows.Controls.Image)(target));
                return;

            case 3:
                this.image1 = ((System.Windows.Controls.Image)(target));

            #line 32 "..\..\..\Windows\Win_AddCoustomerxaml - Copy.xaml"
                this.image1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.image1_MouseDown_1);

            #line default
            #line hidden
                return;

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

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

            case 6:
                this.label1_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.label1_Copy1 = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.txttellcustomer = ((System.Windows.Controls.TextBox)(target));

            #line 51 "..\..\..\Windows\Win_AddCoustomerxaml - Copy.xaml"
                this.txttellcustomer.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txttellcustomer_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 9:
                this.txt_CustomerName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.btn_submit = ((System.Windows.Controls.Button)(target));

            #line 53 "..\..\..\Windows\Win_AddCoustomerxaml - Copy.xaml"
                this.btn_submit.Click += new System.Windows.RoutedEventHandler(this.button_Copy1_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.btn_exit = ((System.Windows.Controls.Button)(target));

            #line 62 "..\..\..\Windows\Win_AddCoustomerxaml - Copy.xaml"
                this.btn_exit.Click += new System.Windows.RoutedEventHandler(this.button_Copy_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.label1_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.lbl_date = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.persiandatetimepicker = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 15:
                this.txt_Xoustomer = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 23
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\win_login.xaml"
                ((foroosh.win_login)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 11 "..\..\win_login.xaml"
                ((System.Windows.Shapes.Rectangle)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Rectangle_MouseDown);

            #line default
            #line hidden
                return;

            case 3:
                this.txt_username = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.txt_password = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 5:
                this.btn_enter = ((System.Windows.Controls.Button)(target));

            #line 36 "..\..\win_login.xaml"
                this.btn_enter.Click += new System.Windows.RoutedEventHandler(this.btn_enter_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btn_exit = ((System.Windows.Controls.Button)(target));

            #line 37 "..\..\win_login.xaml"
                this.btn_exit.Click += new System.Windows.RoutedEventHandler(this.btn_exit_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.lbl_dayName = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.lbl_daynum = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.lbl_month = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.lbl_year = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.calendar = ((Arash.PersianDateControls.PersianCalendar)(target));
                return;

            case 12:
                this.calendar_userlog = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 24
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\Win_Login.xaml"
                ((Sales_and_warehouse_system.Win_Login)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.label_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.image = ((System.Windows.Controls.Image)(target));
                return;

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

            case 6:
                this.label1_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.txt_password = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 8:
                this.btn_exit = ((System.Windows.Controls.Button)(target));

            #line 56 "..\..\Win_Login.xaml"
                this.btn_exit.Click += new System.Windows.RoutedEventHandler(this.btn_exit_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.btn_enter = ((System.Windows.Controls.Button)(target));

            #line 67 "..\..\Win_Login.xaml"
                this.btn_enter.Click += new System.Windows.RoutedEventHandler(this.btn_enter_Click_1);

            #line default
            #line hidden
                return;

            case 10:
                this.MyCalender = ((Arash.PersianDateControls.PersianCalendar)(target));
                return;

            case 11:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.lbl_day = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.lbl_dayofmounth = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.lbl_mounth = ((System.Windows.Controls.Label)(target));
                return;

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

            case 16:
                this.txt_UserName = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.CalnderUserLog = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 25
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\..\Windows\WinHavaleh.xaml"
                ((Havaleh.Windows.WinHavaleh)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 21 "..\..\..\Windows\WinHavaleh.xaml"
                ((System.Windows.Shapes.Rectangle)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DragMove);

            #line default
            #line hidden
                return;

            case 3:
                this.LblTitle = ((System.Windows.Controls.Label)(target));

            #line 22 "..\..\..\Windows\WinHavaleh.xaml"
                this.LblTitle.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DragMove);

            #line default
            #line hidden
                return;

            case 4:
                this.BtnClose = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\..\Windows\WinHavaleh.xaml"
                this.BtnClose.Click += new System.Windows.RoutedEventHandler(this.Close);

            #line default
            #line hidden
                return;

            case 5:
                this.BtnMinimize = ((System.Windows.Controls.Button)(target));

            #line 24 "..\..\..\Windows\WinHavaleh.xaml"
                this.BtnMinimize.Click += new System.Windows.RoutedEventHandler(this.Minimize);

            #line default
            #line hidden
                return;

            case 6:
                this.BtnAutoId = ((System.Windows.Controls.Button)(target));

            #line 39 "..\..\..\Windows\WinHavaleh.xaml"
                this.BtnAutoId.Click += new System.Windows.RoutedEventHandler(this.BtnAutoId_Click);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\..\Windows\WinHavaleh.xaml"
                this.DgdHavaleh.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DgdDoctor_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.LblPersonnelSearch = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.TxtSearch = ((System.Windows.Controls.TextBox)(target));

            #line 57 "..\..\..\Windows\WinHavaleh.xaml"
                this.TxtSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtSearch_TextChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.BtnAdd = ((System.Windows.Controls.Button)(target));

            #line 58 "..\..\..\Windows\WinHavaleh.xaml"
                this.BtnAdd.Click += new System.Windows.RoutedEventHandler(this.BtnAdd_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.BtnEdit = ((System.Windows.Controls.Button)(target));

            #line 59 "..\..\..\Windows\WinHavaleh.xaml"
                this.BtnEdit.Click += new System.Windows.RoutedEventHandler(this.BtnEdit_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.BtnDelete = ((System.Windows.Controls.Button)(target));

            #line 60 "..\..\..\Windows\WinHavaleh.xaml"
                this.BtnDelete.Click += new System.Windows.RoutedEventHandler(this.BtnDelete_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.BtnNew = ((System.Windows.Controls.Button)(target));

            #line 61 "..\..\..\Windows\WinHavaleh.xaml"
                this.BtnNew.Click += new System.Windows.RoutedEventHandler(this.BtnNew_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.BtnReport = ((System.Windows.Controls.Button)(target));

            #line 62 "..\..\..\Windows\WinHavaleh.xaml"
                this.BtnReport.Click += new System.Windows.RoutedEventHandler(this.BtnReport_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.TxtDate = ((Arash.PersianDateControls.PersianDatePicker)(target));

            #line 63 "..\..\..\Windows\WinHavaleh.xaml"
                this.TxtDate.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.DateInput);

            #line default
            #line hidden

            #line 63 "..\..\..\Windows\WinHavaleh.xaml"
                this.TxtDate.AddHandler(System.Windows.Input.CommandManager.PreviewExecutedEvent, new System.Windows.Input.ExecutedRoutedEventHandler(this.DisablePasteDate));

            #line default
            #line hidden
                return;

            case 16:
                this.TxtNumber = ((System.Windows.Controls.TextBox)(target));

            #line 64 "..\..\..\Windows\WinHavaleh.xaml"
                this.TxtNumber.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberInput);

            #line default
            #line hidden

            #line 64 "..\..\..\Windows\WinHavaleh.xaml"
                this.TxtNumber.AddHandler(System.Windows.Input.CommandManager.PreviewExecutedEvent, new System.Windows.Input.ExecutedRoutedEventHandler(this.DisablePaste));

            #line default
            #line hidden
                return;

            case 17:
                this.TxtHavlehNumber = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.TxtHavlehDate = ((Arash.PersianDateControls.PersianDatePicker)(target));

            #line 66 "..\..\..\Windows\WinHavaleh.xaml"
                this.TxtHavlehDate.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.DateInput);

            #line default
            #line hidden

            #line 66 "..\..\..\Windows\WinHavaleh.xaml"
                this.TxtHavlehDate.AddHandler(System.Windows.Input.CommandManager.PreviewExecutedEvent, new System.Windows.Input.ExecutedRoutedEventHandler(this.DisablePasteDate));

            #line default
            #line hidden
                return;

            case 19:
                this.TxtHavalehEndDate = ((Arash.PersianDateControls.PersianDatePicker)(target));

            #line 67 "..\..\..\Windows\WinHavaleh.xaml"
                this.TxtHavalehEndDate.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.DateInput);

            #line default
            #line hidden

            #line 67 "..\..\..\Windows\WinHavaleh.xaml"
                this.TxtHavalehEndDate.AddHandler(System.Windows.Input.CommandManager.PreviewExecutedEvent, new System.Windows.Input.ExecutedRoutedEventHandler(this.DisablePasteDate));

            #line default
            #line hidden
                return;

            case 20:
                this.CboFactory = ((System.Windows.Controls.ComboBox)(target));

            #line 68 "..\..\..\Windows\WinHavaleh.xaml"
                this.CboFactory.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.CboFactory_TextInput);

            #line default
            #line hidden

            #line 68 "..\..\..\Windows\WinHavaleh.xaml"
                this.CboFactory.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.CboFactory_PreviewKeyUp);

            #line default
            #line hidden

            #line 68 "..\..\..\Windows\WinHavaleh.xaml"
                this.CboFactory.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.CboFactory_Pasting));

            #line default
            #line hidden
                return;

            case 21:
                this.BtnAddFactory = ((System.Windows.Controls.Button)(target));

            #line 69 "..\..\..\Windows\WinHavaleh.xaml"
                this.BtnAddFactory.Click += new System.Windows.RoutedEventHandler(this.BtnAddFactory_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.CboBuyer = ((System.Windows.Controls.ComboBox)(target));

            #line 70 "..\..\..\Windows\WinHavaleh.xaml"
                this.CboBuyer.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.CboBuyer_TextInput);

            #line default
            #line hidden

            #line 70 "..\..\..\Windows\WinHavaleh.xaml"
                this.CboBuyer.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.CboBuyer_PreviewKeyUp);

            #line default
            #line hidden

            #line 70 "..\..\..\Windows\WinHavaleh.xaml"
                this.CboBuyer.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.CboBuyer_Pasting));

            #line default
            #line hidden
                return;

            case 23:
                this.BtnAddBuyer = ((System.Windows.Controls.Button)(target));

            #line 71 "..\..\..\Windows\WinHavaleh.xaml"
                this.BtnAddBuyer.Click += new System.Windows.RoutedEventHandler(this.BtnAddBuyer_Click);

            #line default
            #line hidden
                return;

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

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

            #line 73 "..\..\..\Windows\WinHavaleh.xaml"
                this.BtnAddCapacity.Click += new System.Windows.RoutedEventHandler(this.BtnAddCapacity_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.CboProvince = ((System.Windows.Controls.ComboBox)(target));

            #line 76 "..\..\..\Windows\WinHavaleh.xaml"
                this.CboProvince.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboProvince_SelectionChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.CboCounty = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 28:
                this.CboVehicle = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 29:
                this.BtnAddVehicle = ((System.Windows.Controls.Button)(target));

            #line 79 "..\..\..\Windows\WinHavaleh.xaml"
                this.BtnAddVehicle.Click += new System.Windows.RoutedEventHandler(this.BtnAddVehicle_Click);

            #line default
            #line hidden
                return;

            case 30:
                this.CboProduct = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 31:
                this.BtnAddProduct = ((System.Windows.Controls.Button)(target));

            #line 81 "..\..\..\Windows\WinHavaleh.xaml"
                this.BtnAddProduct.Click += new System.Windows.RoutedEventHandler(this.BtnAddProduct_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.CboDriver = ((System.Windows.Controls.ComboBox)(target));

            #line 82 "..\..\..\Windows\WinHavaleh.xaml"
                this.CboDriver.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.CboDriver_TextInput);

            #line default
            #line hidden

            #line 82 "..\..\..\Windows\WinHavaleh.xaml"
                this.CboDriver.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.CboDriver_PreviewKeyUp);

            #line default
            #line hidden

            #line 82 "..\..\..\Windows\WinHavaleh.xaml"
                this.CboDriver.AddHandler(System.Windows.DataObject.PastingEvent, new System.Windows.DataObjectPastingEventHandler(this.CboDriver_Pasting));

            #line default
            #line hidden

            #line 82 "..\..\..\Windows\WinHavaleh.xaml"
                this.CboDriver.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboDriver_SelectionChanged);

            #line default
            #line hidden
                return;

            case 33:
                this.BtnAddDriver = ((System.Windows.Controls.Button)(target));

            #line 83 "..\..\..\Windows\WinHavaleh.xaml"
                this.BtnAddDriver.Click += new System.Windows.RoutedEventHandler(this.BtnAddDriver_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.TxtNum = ((System.Windows.Controls.TextBox)(target));

            #line 84 "..\..\..\Windows\WinHavaleh.xaml"
                this.TxtNum.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.NumberInput);

            #line default
            #line hidden

            #line 84 "..\..\..\Windows\WinHavaleh.xaml"
                this.TxtNum.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtNum_TextChanged);

            #line default
            #line hidden

            #line 84 "..\..\..\Windows\WinHavaleh.xaml"
                this.TxtNum.AddHandler(System.Windows.Input.CommandManager.PreviewExecutedEvent, new System.Windows.Input.ExecutedRoutedEventHandler(this.DisablePaste));

            #line default
            #line hidden
                return;

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

            #line 85 "..\..\..\Windows\WinHavaleh.xaml"
                this.BtnUp.Click += new System.Windows.RoutedEventHandler(this.BtnUp_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.BtnDown = ((System.Windows.Controls.Button)(target));

            #line 86 "..\..\..\Windows\WinHavaleh.xaml"
                this.BtnDown.Click += new System.Windows.RoutedEventHandler(this.BtnDown_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.DgdProduct = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 97 "..\..\..\Windows\WinHavaleh.xaml"
                this.BtnAddPrCa.Click += new System.Windows.RoutedEventHandler(this.BtnAddPrCa_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.BtnDeletePrCa = ((System.Windows.Controls.Button)(target));

            #line 98 "..\..\..\Windows\WinHavaleh.xaml"
                this.BtnDeletePrCa.Click += new System.Windows.RoutedEventHandler(this.BtnDeletePrCa_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.TxtDescription = ((System.Windows.Controls.TextBox)(target));

            #line 100 "..\..\..\Windows\WinHavaleh.xaml"
                this.TxtDescription.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtSearch_TextChanged);

            #line default
            #line hidden
                return;

            case 41:
                this.LblMobile = ((System.Windows.Controls.Label)(target));
                return;

            case 42:
                this.LblPelak = ((System.Windows.Controls.Label)(target));
                return;

            case 43:
                this.CheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 26
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\Windows\WinSearchDoctorPatient.xaml"
                ((Visitor.Windows.WinSearchDoctorPatient)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 22 "..\..\..\Windows\WinSearchDoctorPatient.xaml"
                ((System.Windows.Shapes.Rectangle)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DragMove);

            #line default
            #line hidden
                return;

            case 3:
                this.LblTitle = ((System.Windows.Controls.Label)(target));

            #line 23 "..\..\..\Windows\WinSearchDoctorPatient.xaml"
                this.LblTitle.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DragMove);

            #line default
            #line hidden
                return;

            case 4:
                this.BtnClose = ((System.Windows.Controls.Button)(target));

            #line 24 "..\..\..\Windows\WinSearchDoctorPatient.xaml"
                this.BtnClose.Click += new System.Windows.RoutedEventHandler(this.Close);

            #line default
            #line hidden
                return;

            case 5:
                this.BtnMinimize = ((System.Windows.Controls.Button)(target));

            #line 25 "..\..\..\Windows\WinSearchDoctorPatient.xaml"
                this.BtnMinimize.Click += new System.Windows.RoutedEventHandler(this.Minimize);

            #line default
            #line hidden
                return;

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

            case 7:
                this.LblPersonnelSearch = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.LblName = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.LblFamily = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.TxtSearch = ((System.Windows.Controls.TextBox)(target));

            #line 36 "..\..\..\Windows\WinSearchDoctorPatient.xaml"
                this.TxtSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtSearch_TextChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.DgdDoctor = ((System.Windows.Controls.DataGrid)(target));

            #line 37 "..\..\..\Windows\WinSearchDoctorPatient.xaml"
                this.DgdDoctor.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DgdDoctor_SelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.DgdPatient = ((System.Windows.Controls.DataGrid)(target));

            #line 54 "..\..\..\Windows\WinSearchDoctorPatient.xaml"
                this.DgdPatient.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DgdPatient_SelectionChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.BtnAddDoctor = ((System.Windows.Controls.Button)(target));

            #line 71 "..\..\..\Windows\WinSearchDoctorPatient.xaml"
                this.BtnAddDoctor.Click += new System.Windows.RoutedEventHandler(this.BtnAddDoctor_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.BtnAddPatient = ((System.Windows.Controls.Button)(target));

            #line 72 "..\..\..\Windows\WinSearchDoctorPatient.xaml"
                this.BtnAddPatient.Click += new System.Windows.RoutedEventHandler(this.BtnAddPatient_Click);

            #line default
            #line hidden
                return;

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

            case 16:
                this.TxtPatientSearch = ((System.Windows.Controls.TextBox)(target));

            #line 75 "..\..\..\Windows\WinSearchDoctorPatient.xaml"
                this.TxtPatientSearch.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.TxtPatientSearch_TextChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.DgdPatientVisit = ((System.Windows.Controls.DataGrid)(target));

            #line 76 "..\..\..\Windows\WinSearchDoctorPatient.xaml"
                this.DgdPatientVisit.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DgdDoctor_SelectionChanged);

            #line default
            #line hidden
                return;

            case 18:
                this.LblPatientName = ((System.Windows.Controls.Label)(target));
                return;

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

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

            case 21:
                this.TxtTime = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.TxtDate = ((Arash.PersianDateControls.PersianDatePicker)(target));

            #line 103 "..\..\..\Windows\WinSearchDoctorPatient.xaml"
                this.TxtDate.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.DateInput);

            #line default
            #line hidden

            #line 103 "..\..\..\Windows\WinSearchDoctorPatient.xaml"
                this.TxtDate.AddHandler(System.Windows.Input.CommandManager.PreviewExecutedEvent, new System.Windows.Input.ExecutedRoutedEventHandler(this.DisablePasteDate));

            #line default
            #line hidden
                return;

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

            case 24:
                this.TxtMedicalRecord = ((System.Windows.Controls.TextBox)(target));
                return;

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

            #line 107 "..\..\..\Windows\WinSearchDoctorPatient.xaml"
                this.BtnAdd.Click += new System.Windows.RoutedEventHandler(this.BtnAdd_Click);

            #line default
            #line hidden
                return;

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

            #line 108 "..\..\..\Windows\WinSearchDoctorPatient.xaml"
                this.BtnNew.Click += new System.Windows.RoutedEventHandler(this.BtnNew_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.BtnEdit = ((System.Windows.Controls.Button)(target));

            #line 109 "..\..\..\Windows\WinSearchDoctorPatient.xaml"
                this.BtnEdit.Click += new System.Windows.RoutedEventHandler(this.BtnEdit_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.BtnDelete = ((System.Windows.Controls.Button)(target));

            #line 110 "..\..\..\Windows\WinSearchDoctorPatient.xaml"
                this.BtnDelete.Click += new System.Windows.RoutedEventHandler(this.BtnDelete_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\Windows\Win_Invoice.xaml"
                ((Sales_and_warehouse_system.Windows.Win_Invoice)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.image1 = ((System.Windows.Controls.Image)(target));

            #line 25 "..\..\..\Windows\Win_Invoice.xaml"
                this.image1.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.image1_MouseDown);

            #line default
            #line hidden
                return;

            case 3:
                this.image2 = ((System.Windows.Controls.Image)(target));
                return;

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

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

            case 6:
                this.image2_Copy = ((System.Windows.Controls.Image)(target));
                return;

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

            case 8:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.label2_Copy = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.txt_Cname = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.txt_ctell = ((System.Windows.Controls.TextBox)(target));

            #line 177 "..\..\..\Windows\Win_Invoice.xaml"
                this.txt_ctell.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_ctell_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 12:
                this.image = ((System.Windows.Controls.Image)(target));

            #line 185 "..\..\..\Windows\Win_Invoice.xaml"
                this.image.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.image_MouseDown);

            #line default
            #line hidden
                return;

            case 13:
                this.btn_creatinvoice = ((System.Windows.Controls.Button)(target));

            #line 186 "..\..\..\Windows\Win_Invoice.xaml"
                this.btn_creatinvoice.Click += new System.Windows.RoutedEventHandler(this.btn_creatinvoice_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.calndercoustomer = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

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

            case 16:
                this.image2_Copy1 = ((System.Windows.Controls.Image)(target));
                return;

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

            case 18:
                this.label2_Copy3 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 20:
                this.label2_Copy5 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 22:
                this.lbl_username = ((System.Windows.Controls.Label)(target));
                return;

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

            case 24:
                this.lbl_coustomername = ((System.Windows.Controls.Label)(target));
                return;

            case 25:
                this.lbl_invoiceprice = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.lbl_invoicenumber = ((System.Windows.Controls.Label)(target));
                return;

            case 27:
                this.dataGrid_Product = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            case 29:
                this.image2_Copy2 = ((System.Windows.Controls.Image)(target));
                return;

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

            case 31:
                this.image2_Copy3 = ((System.Windows.Controls.Image)(target));
                return;

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

            case 33:
                this.txt_Pname = ((System.Windows.Controls.TextBox)(target));
                return;

            case 34:
                this.searchforproudact = ((System.Windows.Controls.Image)(target));

            #line 364 "..\..\..\Windows\Win_Invoice.xaml"
                this.searchforproudact.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.searchforproudact_MouseDown);

            #line default
            #line hidden
                return;

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

            #line 365 "..\..\..\Windows\Win_Invoice.xaml"
                this.btnselectproduct.Click += new System.Windows.RoutedEventHandler(this.btnselectproduct_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.label2_Copy7 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 38:
                this.label2_Copy9 = ((System.Windows.Controls.Label)(target));
                return;

            case 39:
                this.label2_Copy10 = ((System.Windows.Controls.Label)(target));
                return;

            case 40:
                this.txt_xount_product = ((System.Windows.Controls.TextBox)(target));

            #line 386 "..\..\..\Windows\Win_Invoice.xaml"
                this.txt_xount_product.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txt_xount_product_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 41:
                this.btn_submitproduact = ((System.Windows.Controls.Button)(target));

            #line 394 "..\..\..\Windows\Win_Invoice.xaml"
                this.btn_submitproduact.Click += new System.Windows.RoutedEventHandler(this.btn_submitproduact_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.lbl_ProductName = ((System.Windows.Controls.Label)(target));
                return;

            case 43:
                this.ProudactLastSuplay = ((System.Windows.Controls.Label)(target));
                return;

            case 44:
                this.ProudactLastFee = ((System.Windows.Controls.Label)(target));
                return;

            case 45:
                this.label1_Copy2 = ((System.Windows.Controls.Label)(target));
                return;

            case 46:
                this.image2_Copy4 = ((System.Windows.Controls.Image)(target));
                return;

            case 47:
                this.datagrid_Invoiceitem = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 48:
                this.btn_REmove = ((System.Windows.Controls.Button)(target));

            #line 531 "..\..\..\Windows\Win_Invoice.xaml"
                this.btn_REmove.Click += new System.Windows.RoutedEventHandler(this.btn_REmove_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.lbl_productid = ((System.Windows.Controls.Label)(target));
                return;

            case 50:
                this.btn_finishinvoice = ((System.Windows.Controls.Button)(target));

            #line 540 "..\..\..\Windows\Win_Invoice.xaml"
                this.btn_finishinvoice.Click += new System.Windows.RoutedEventHandler(this.btn_finishinvoice_Click);

            #line default
            #line hidden
                return;

            case 51:
                this.label2_Copy11 = ((System.Windows.Controls.Label)(target));
                return;

            case 52:
                this.lbl_invoicepricepurche = ((System.Windows.Controls.Label)(target));
                return;

            case 53:
                this.lbl_gheymatkharid = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 4 "..\..\..\Rusty_PPrint_Ravandkar_Main.xaml"
                ((AlborzAutomobile.PPrint_farsode_Ravandkar_Main)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.label16 = ((System.Windows.Controls.Label)(target));
                return;

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

            case 5:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.comboBox3 = ((System.Windows.Controls.ComboBox)(target));

            #line 10 "..\..\..\Rusty_PPrint_Ravandkar_Main.xaml"
                this.comboBox3.KeyDown += new System.Windows.Input.KeyEventHandler(this.comboBox3_KeyDown);

            #line default
            #line hidden
                return;

            case 7:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.textBox3 = ((System.Windows.Controls.TextBox)(target));

            #line 12 "..\..\..\Rusty_PPrint_Ravandkar_Main.xaml"
                this.textBox3.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBox3_KeyDown);

            #line default
            #line hidden
                return;

            case 9:
                this.label4 = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.label5 = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.textBox4 = ((System.Windows.Controls.TextBox)(target));

            #line 15 "..\..\..\Rusty_PPrint_Ravandkar_Main.xaml"
                this.textBox4.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBox4_KeyDown);

            #line default
            #line hidden
                return;

            case 12:
                this.label6 = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.comboBox1 = ((System.Windows.Controls.ComboBox)(target));

            #line 17 "..\..\..\Rusty_PPrint_Ravandkar_Main.xaml"
                this.comboBox1.KeyDown += new System.Windows.Input.KeyEventHandler(this.comboBox1_KeyDown);

            #line default
            #line hidden

            #line 17 "..\..\..\Rusty_PPrint_Ravandkar_Main.xaml"
                this.comboBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox1_SelectionChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.label7 = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.comboBox2 = ((System.Windows.Controls.ComboBox)(target));

            #line 19 "..\..\..\Rusty_PPrint_Ravandkar_Main.xaml"
                this.comboBox2.KeyDown += new System.Windows.Input.KeyEventHandler(this.comboBox2_KeyDown);

            #line default
            #line hidden
                return;

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

            #line 20 "..\..\..\Rusty_PPrint_Ravandkar_Main.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

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

            case 18:
                this.comboBox4 = ((System.Windows.Controls.ComboBox)(target));

            #line 22 "..\..\..\Rusty_PPrint_Ravandkar_Main.xaml"
                this.comboBox4.KeyDown += new System.Windows.Input.KeyEventHandler(this.comboBox4_KeyDown);

            #line default
            #line hidden
                return;

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

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

            #line 24 "..\..\..\Rusty_PPrint_Ravandkar_Main.xaml"
                this.textBox5.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBox5_KeyDown);

            #line default
            #line hidden
                return;

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

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

            case 23:
                this.textBox6 = ((System.Windows.Controls.TextBox)(target));

            #line 27 "..\..\..\Rusty_PPrint_Ravandkar_Main.xaml"
                this.textBox6.KeyDown += new System.Windows.Input.KeyEventHandler(this.textBox6_KeyDown);

            #line default
            #line hidden
                return;

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

            case 25:
                this.comboBox5 = ((System.Windows.Controls.ComboBox)(target));

            #line 29 "..\..\..\Rusty_PPrint_Ravandkar_Main.xaml"
                this.comboBox5.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox5_SelectionChanged);

            #line default
            #line hidden
                return;

            case 26:
                this.persianDatePicker1 = ((Arash.PersianDateControls.PersianDatePicker)(target));

            #line 30 "..\..\..\Rusty_PPrint_Ravandkar_Main.xaml"
                this.persianDatePicker1.KeyDown += new System.Windows.Input.KeyEventHandler(this.persianDatePicker1_KeyDown);

            #line default
            #line hidden
                return;

            case 27:
                this.persianDatePicker2 = ((Arash.PersianDateControls.PersianDatePicker)(target));

            #line 31 "..\..\..\Rusty_PPrint_Ravandkar_Main.xaml"
                this.persianDatePicker2.KeyDown += new System.Windows.Input.KeyEventHandler(this.persianDatePicker2_KeyDown);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\window\win_customer - Copy.xaml"
                ((foroosh.window.win_customer)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 21 "..\..\..\window\win_customer - Copy.xaml"
                ((System.Windows.Shapes.Rectangle)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Rectangle_MouseDown);

            #line default
            #line hidden
                return;

            case 3:
                this.imge_close = ((System.Windows.Controls.Image)(target));

            #line 24 "..\..\..\window\win_customer - Copy.xaml"
                this.imge_close.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.imge_close_MouseDown);

            #line default
            #line hidden
                return;

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

            case 5:

            #line 153 "..\..\..\window\win_customer - Copy.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.btn_ActiveCustomer_click);

            #line default
            #line hidden
                return;

            case 6:
                this.btn_newcustomer = ((System.Windows.Controls.Button)(target));

            #line 167 "..\..\..\window\win_customer - Copy.xaml"
                this.btn_newcustomer.Click += new System.Windows.RoutedEventHandler(this.btn_newcustomer_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btn_editcustomer = ((System.Windows.Controls.Button)(target));

            #line 172 "..\..\..\window\win_customer - Copy.xaml"
                this.btn_editcustomer.Click += new System.Windows.RoutedEventHandler(this.btn_editcustomer_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.bt_delcustomer = ((System.Windows.Controls.Button)(target));

            #line 177 "..\..\..\window\win_customer - Copy.xaml"
                this.bt_delcustomer.Click += new System.Windows.RoutedEventHandler(this.bt_delcustomer_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.txt_Name = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.txt_address = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.calendar_az = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 12:
                this.calendar_ta = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 13:
                this.image_search = ((System.Windows.Controls.Image)(target));

            #line 192 "..\..\..\window\win_customer - Copy.xaml"
                this.image_search.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.image_search_MouseDown);

            #line default
            #line hidden
                return;

            case 14:
                this.txt_tel = ((System.Windows.Controls.TextBox)(target));
                return;

            case 15:
                this.rdb_deactive = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 16:
                this.rdb_active = ((System.Windows.Controls.RadioButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Ejemplo n.º 30
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtPerson = ((WPFAutoCompleteTextbox.AutoCompleteTextBox)(target));
                return;

            case 2:

            #line 9 "..\..\..\..\Forms\Asset\FrmRegisterAssetEstablishment.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnSelectPerson_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.txtAssetGoods = ((WPFAutoCompleteTextbox.AutoCompleteTextBox)(target));
                return;

            case 4:

            #line 12 "..\..\..\..\Forms\Asset\FrmRegisterAssetEstablishment.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnSelectAssetGood_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.dtpAsset = ((Arash.PersianDateControls.PersianDatePicker)(target));
                return;

            case 6:
                this.txtAsset_No = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.txtAmortizationRate = ((System.Windows.Controls.TextBox)(target));

            #line 18 "..\..\..\..\Forms\Asset\FrmRegisterAssetEstablishment.xaml"
                this.txtAmortizationRate.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtAmortizationRate_PreviewTextInput);

            #line default
            #line hidden

            #line 18 "..\..\..\..\Forms\Asset\FrmRegisterAssetEstablishment.xaml"
                this.txtAmortizationRate.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtAmortizationRate_TextChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.cmbAmortizationMethod = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 9:
                this.txtDecay = ((System.Windows.Controls.TextBox)(target));

            #line 22 "..\..\..\..\Forms\Asset\FrmRegisterAssetEstablishment.xaml"
                this.txtDecay.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtDecay_PreviewTextInput);

            #line default
            #line hidden

            #line 22 "..\..\..\..\Forms\Asset\FrmRegisterAssetEstablishment.xaml"
                this.txtDecay.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtDecay_TextChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.txtPrice = ((System.Windows.Controls.TextBox)(target));

            #line 24 "..\..\..\..\Forms\Asset\FrmRegisterAssetEstablishment.xaml"
                this.txtPrice.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtPrice_PreviewTextInput);

            #line default
            #line hidden

            #line 24 "..\..\..\..\Forms\Asset\FrmRegisterAssetEstablishment.xaml"
                this.txtPrice.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtPrice_TextChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.txtAsset_number = ((System.Windows.Controls.TextBox)(target));

            #line 26 "..\..\..\..\Forms\Asset\FrmRegisterAssetEstablishment.xaml"
                this.txtAsset_number.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtAsset_number_PreviewTextInput);

            #line default
            #line hidden
                return;

            case 12:

            #line 27 "..\..\..\..\Forms\Asset\FrmRegisterAssetEstablishment.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.btnRegister_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.txtAccumulative_amortization = ((System.Windows.Controls.TextBox)(target));

            #line 29 "..\..\..\..\Forms\Asset\FrmRegisterAssetEstablishment.xaml"
                this.txtAccumulative_amortization.PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.txtAccumulative_amortization_PreviewTextInput);

            #line default
            #line hidden

            #line 29 "..\..\..\..\Forms\Asset\FrmRegisterAssetEstablishment.xaml"
                this.txtAccumulative_amortization.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtAccumulative_amortization_TextChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }