An Axis of a chart
Inheritance: System.Windows.FrameworkElement, IAxisView
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 24 "..\..\..\..\CartesianChart\ZoomingAndPanning\ZoomingAndPanning.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ToogleZoomingMode);

            #line default
            #line hidden
                return;

            case 2:

            #line 29 "..\..\..\..\CartesianChart\ZoomingAndPanning\ZoomingAndPanning.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ResetZoomOnClick);

            #line default
            #line hidden
                return;

            case 3:
                this.X = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 4:
                this.Y = ((LiveCharts.Wpf.Axis)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.button1 = ((System.Windows.Controls.Button)(target));
                return;

            case 2:
                this._btn = ((System.Windows.Controls.Button)(target));
                return;

            case 3:
                this.ColumnChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 4:
                this.ColumnX = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 5:
                this.PieChart = ((LiveCharts.Wpf.PieChart)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DatePicker1 = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 2:
                this.DatePicker2 = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 100 "..\..\..\..\Views\Product\Product.xaml"
                this.searchProductInfoBtn.Click += new System.Windows.RoutedEventHandler(this.SearchProductInfoBtn_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.ProductInfo_Page = ((JM_GluingSystem.Common.Css.DataGridPage)(target));
                return;

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

            #line 104 "..\..\..\..\Views\Product\Product.xaml"
                this.ProductInfo_DgSource.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.ProductInfo_DgSource_LoadingRow);

            #line default
            #line hidden
                return;

            case 6:
                this.mychart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 7:
                this.myaxis = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 8:
                this.mytootip = ((LiveCharts.Wpf.DefaultTooltip)(target));
                return;

            case 9:
                this.outputline = ((LiveCharts.Wpf.LineSeries)(target));
                return;

            case 10:
                this.Qualifiedline = ((LiveCharts.Wpf.LineSeries)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainChart = ((LiveCharts.Wpf.CartesianChart)(target));

            #line 17 "..\..\reschart.xaml"
                this.MainChart.Loaded += new System.Windows.RoutedEventHandler(this.MainChart_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.HorizontalAxis = ((LiveCharts.Wpf.Axis)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

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

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

            case 2:

            #line 15 "..\..\..\Frames\Charts.xaml"
                ((LiveCharts.Wpf.CartesianChart)(target)).Loaded += new System.Windows.RoutedEventHandler(this.CartesianChart_Loaded);

            #line default
            #line hidden
                return;

            case 3:
                this.Labels = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 4:
                this.after = ((System.Windows.Controls.DatePicker)(target));
                return;

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

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

            #line 32 "..\..\..\Frames\Charts.xaml"
                this.StendSelected.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.SelectStend);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\..\Frames\Charts.xaml"
                this.print.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.wait = ((DashBoardClient.WaiterForm)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SwitchModeButton = ((VotingMaster.CustomClasses.CustomRoundedButton)(target));
                return;

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

            case 3:
                this.ExportCandidatesToCsv = ((VotingMaster.CustomClasses.CustomRoundedButton)(target));
                return;

            case 4:
                this.ExportCandidatesToPdf = ((VotingMaster.CustomClasses.CustomRoundedButton)(target));
                return;

            case 5:
                this.CandidateChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 6:
                this.CandidateXAxis = ((LiveCharts.Wpf.Axis)(target));
                return;

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

            case 8:
                this.ExportPartiesCsv = ((VotingMaster.CustomClasses.CustomRoundedButton)(target));
                return;

            case 9:
                this.ExportPartiesPdf = ((VotingMaster.CustomClasses.CustomRoundedButton)(target));
                return;

            case 10:
                this.PartyChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 11:
                this.PartyXAxis = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 12:
                this.PartyGrid = ((System.Windows.Controls.DataGrid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Graph = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 2:
                this.XLabels = ((LiveCharts.Wpf.Axis)(target));
                return;

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

            #line 27 "..\..\GraphUC.xaml"
                this.TodayButton.Click += new System.Windows.RoutedEventHandler(this.TodayButton_Click);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\GraphUC.xaml"
                this.ThisMounthButton.Click += new System.Windows.RoutedEventHandler(this.ThisMounthButton_Click);

            #line default
            #line hidden
                return;

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

            #line 29 "..\..\GraphUC.xaml"
                this.THisYearButton.Click += new System.Windows.RoutedEventHandler(this.THisYearButton_Click);

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\GraphUC.xaml"
                this.AllTimeButton.Click += new System.Windows.RoutedEventHandler(this.AllTimeButton_Click);

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

            #line 24 "..\..\..\UserControls\CurrencyHistoryTrending.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ResetZoomOnClick);

            #line default
            #line hidden
                return;

            case 2:

            #line 25 "..\..\..\UserControls\CurrencyHistoryTrending.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Refresh);

            #line default
            #line hidden
                return;

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

            #line 26 "..\..\..\UserControls\CurrencyHistoryTrending.xaml"
                this.AddButton.Click += new System.Windows.RoutedEventHandler(this.Add);

            #line default
            #line hidden
                return;

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

            #line 27 "..\..\..\UserControls\CurrencyHistoryTrending.xaml"
                this.RemoveButton.Click += new System.Windows.RoutedEventHandler(this.Remove);

            #line default
            #line hidden
                return;

            case 5:
                this.X = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 6:
                this.Y = ((LiveCharts.Wpf.Axis)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Table = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 2:
                this.AxisX = ((LiveCharts.Wpf.Axis)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #10
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.inputText = ((System.Windows.Controls.TextBox)(target));
                return;

            case 2:
                this.s1x = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 3:
                this.s1y = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 4:
                this.s2x = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 5:
                this.s2y = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 6:
                this.s3x = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 7:
                this.s3y = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 8:
                this.s4x = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 9:
                this.s4y = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 10:
                this.pie1 = ((LiveCharts.Wpf.PieChart)(target));
                return;

            case 11:
                this.pie2 = ((LiveCharts.Wpf.PieChart)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\..\userControls\Status.xaml"
                ((PrjTreino.userControls.Status)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.messageBox = ((MaterialDesignThemes.Wpf.DialogHost)(target));
                return;

            case 3:
                this.painel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 4:
                this.expander = ((System.Windows.Controls.Expander)(target));
                return;

            case 5:
                this.lista = ((System.Windows.Controls.ListBox)(target));

            #line 33 "..\..\..\userControls\Status.xaml"
                this.lista.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Lista_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 7:
                this.valores = ((LiveCharts.Wpf.LineSeries)(target));
                return;

            case 8:
                this.labels = ((LiveCharts.Wpf.Axis)(target));
                return;
            }
            this._contentLoaded = true;
        }
        private void YillikUrunSatisGrafigi_Load(object sender, EventArgs e)
        {
            #region YillikUrun
            var data2 = _urunService.UrunKazancGrafigi();

            ColumnSeries col2 = new ColumnSeries()
            {
                DataLabels = true, Values = new ChartValues <decimal>(), LabelPoint = point => point.Y.ToString(), Title = "Toplam Fiyat : "
            };
            Axis ax = new Axis()
            {
                Separator = new Separator()
                {
                    Step = 1, IsEnabled = false
                }
            };
            ax.Labels = new List <string>();

            ax.Title      = "Aylar";
            ax.Foreground = System.Windows.Media.Brushes.Black;
            ax.FontWeight = System.Windows.FontWeights.Bold;

            foreach (var x in data2)
            {
                col2.Values.Add(x.Fiyat);
                string ay = Enum.GetName(typeof(Aylar), x.Ay);
                ax.Labels.Add(ay);
            }


            cartesianChart1.Series.Add(col2);
            cartesianChart1.AxisX.Add(ax);
            cartesianChart1.AxisY.Add(new Axis
            {
                LabelFormatter = value => value.ToString(),
                Separator      = new Separator(),
                Foreground     = System.Windows.Media.Brushes.Black,
                FontWeight     = System.Windows.FontWeights.Bold,
                Title          = "Aylık Ürün Geliri/TL"
            });
            #endregion
        }
Example #13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.dep = ((LiveCharts.Wpf.CartesianChart)(target));

            #line 17 "..\..\departmentstat.xaml"
                this.dep.Loaded += new System.Windows.RoutedEventHandler(this.dep_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.horizontalAxis = ((LiveCharts.Wpf.Axis)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            case 2:
                this.pedidosDia = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 3:
                this.chart1 = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 4:
                this.serieP = ((LiveCharts.Wpf.LineSeries)(target));
                return;

            case 5:
                this.g2_eje_x = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 6:
                this.pastel = ((LiveCharts.Wpf.PieChart)(target));
                return;

            case 7:

            #line 67 "..\..\Estadisticas.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Calcular_Click);

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

            #line 16 "..\..\..\..\CartesianChart\Sections\SectionsExample.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.UpdateAllOnClick);

            #line default
            #line hidden
                return;

            case 2:
                this.Chart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 3:
                this.Axis = ((LiveCharts.Wpf.Axis)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                ((POS.View.reports.uc_paymentsReport)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 12 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                ((POS.View.reports.uc_paymentsReport)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.bdr_vendor = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 74 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_vendor.Click += new System.Windows.RoutedEventHandler(this.Btn_vendor_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.trig = ((System.Windows.EventTrigger)(target));
                return;

            case 7:
                this.path_vendor = ((System.Windows.Shapes.Path)(target));
                return;

            case 8:
                this.tt_vendor = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 9:
                this.bdr_customer = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 131 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_customer.Click += new System.Windows.RoutedEventHandler(this.Btn_customer_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.path_customer = ((System.Windows.Shapes.Path)(target));
                return;

            case 12:
                this.tt_customer = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 13:
                this.bdr_user = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 190 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_user.Click += new System.Windows.RoutedEventHandler(this.Btn_user_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.path_user = ((System.Windows.Shapes.Path)(target));
                return;

            case 16:
                this.tt_user = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 17:
                this.bdr_salary = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 249 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_salary.Click += new System.Windows.RoutedEventHandler(this.Btn_salary_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.path_salary = ((System.Windows.Shapes.Path)(target));
                return;

            case 20:
                this.tt_salary = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 21:
                this.bdr_generalExpenses = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 298 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_generalExpenses.Click += new System.Windows.RoutedEventHandler(this.Btn_generalExpenses_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.path_generalExpenses = ((System.Windows.Shapes.Path)(target));
                return;

            case 24:
                this.tt_generalExpenses = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 25:
                this.bdr_administrativePull = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 347 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_administrativePull.Click += new System.Windows.RoutedEventHandler(this.Btn_administrativePull_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.path_administrativePull = ((System.Windows.Shapes.Path)(target));
                return;

            case 28:
                this.tt_administrativePull = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 29:
                this.bdr_shipping = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 396 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_shipping.Click += new System.Windows.RoutedEventHandler(this.Btn_shipping_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.path_shipping = ((System.Windows.Shapes.Path)(target));
                return;

            case 32:
                this.tt_shipping = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 33:
                this.txt_tabTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 34:
                this.bdrMain = ((System.Windows.Controls.Border)(target));
                return;

            case 35:
                this.grid_vendor = ((System.Windows.Controls.Grid)(target));
                return;

            case 36:
                this.cb_vendors = ((System.Windows.Controls.ComboBox)(target));

            #line 492 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.cb_vendors.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_SelectionChanged);

            #line default
            #line hidden
                return;

            case 37:
                this.chk_allVendors = ((System.Windows.Controls.CheckBox)(target));

            #line 500 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allVendors.Checked += new System.Windows.RoutedEventHandler(this.Chk_allVendors_Checked);

            #line default
            #line hidden

            #line 501 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allVendors.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_allVendors_Unchecked);

            #line default
            #line hidden
                return;

            case 38:
                this.cb_vendorPayType = ((System.Windows.Controls.ComboBox)(target));

            #line 516 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.cb_vendorPayType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_SelectionChanged);

            #line default
            #line hidden
                return;

            case 39:
                this.chk_allVendorsPaymentType = ((System.Windows.Controls.CheckBox)(target));

            #line 524 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allVendorsPaymentType.Checked += new System.Windows.RoutedEventHandler(this.Chk_allVendorsPaymentType_Checked);

            #line default
            #line hidden

            #line 525 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allVendorsPaymentType.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_allVendorsPaymentType_Unchecked);

            #line default
            #line hidden
                return;

            case 40:
                this.dp_vendorEndDate = ((System.Windows.Controls.DatePicker)(target));

            #line 541 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.dp_vendorEndDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Dp_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 41:
                this.dp_vendorStartDate = ((System.Windows.Controls.DatePicker)(target));

            #line 555 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.dp_vendorStartDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Dp_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 42:
                this.chk_allVendorsAccountant = ((System.Windows.Controls.CheckBox)(target));

            #line 568 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allVendorsAccountant.Checked += new System.Windows.RoutedEventHandler(this.Chk_allVendorsAccountant_Checked);

            #line default
            #line hidden

            #line 569 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allVendorsAccountant.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_allVendorsAccountant_Unchecked);

            #line default
            #line hidden
                return;

            case 43:
                this.cb_vendorAccountant = ((System.Windows.Controls.ComboBox)(target));

            #line 585 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.cb_vendorAccountant.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_SelectionChanged);

            #line default
            #line hidden
                return;

            case 44:
                this.txt_search = ((System.Windows.Controls.TextBox)(target));

            #line 598 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.txt_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Txt_search_TextChanged);

            #line default
            #line hidden
                return;

            case 45:
                this.btn_refresh = ((System.Windows.Controls.Button)(target));

            #line 633 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_refresh_Click);

            #line default
            #line hidden
                return;

            case 46:
                this.tt_refresh = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 48:
                this.col_tansNum = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 49:
                this.col_processType = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 50:
                this.col_updateUserAcc = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 51:
                this.col_agentName = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 52:
                this.col_customer = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 53:
                this.col_user = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 54:
                this.col_shipping = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 55:
                this.col_company = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 56:
                this.col_updateDate = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 57:
                this.col_cash = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 58:
                this.btn_pdf = ((System.Windows.Controls.Button)(target));

            #line 693 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

            case 59:
                this.tt_report = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 60:
                this.btn_print = ((System.Windows.Controls.Button)(target));

            #line 708 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_print.Click += new System.Windows.RoutedEventHandler(this.Btn_print_Click);

            #line default
            #line hidden
                return;

            case 61:
                this.tt_print = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 62:
                this.btn_exportToExcel = ((System.Windows.Controls.Button)(target));

            #line 724 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

            case 63:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 64:
                this.btn_preview = ((System.Windows.Controls.Button)(target));

            #line 740 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

            case 65:
                this.tt_preview = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 66:
                this.btn_settings = ((System.Windows.Controls.Button)(target));
                return;

            case 67:
                this.txt_count = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 68:
                this.tt_count = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 69:
                this.stk_tagsBranches = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 70:
                this.stk_tagsPos = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 71:
                this.stk_tagsVendors = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 72:
                this.stk_tagsUsers = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 73:
                this.stk_tagsItems = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 74:
                this.cartesianChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 75:
                this.axcolumn = ((LiveCharts.Wpf.Axis)(target));
                return;

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

            case 77:
                this.chart1 = ((LiveCharts.Wpf.PieChart)(target));
                return;

            case 78:
                this.rowChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 79:
                this.MyAxis = ((LiveCharts.Wpf.Axis)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #17
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GameComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 45 "..\..\MainWindow.xaml"
                this.GameComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.GameComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.GameOptionComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 49 "..\..\MainWindow.xaml"
                this.GameOptionComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.GameOptionComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.DateGame = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 4:
                this.GamePrecisionComboBox = ((System.Windows.Controls.ComboBox)(target));

            #line 56 "..\..\MainWindow.xaml"
                this.GamePrecisionComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.GamePrecisionComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.TypeAnaliz = ((System.Windows.Controls.ComboBox)(target));

            #line 60 "..\..\MainWindow.xaml"
                this.TypeAnaliz.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.GameComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\MainWindow.xaml"
                this.OcjaX.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.GameOptionComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 64 "..\..\MainWindow.xaml"
                this.GameLoadDataButton.Click += new System.Windows.RoutedEventHandler(this.GameLoadDataButton_Click);

            #line default
            #line hidden
                return;

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

            #line 65 "..\..\MainWindow.xaml"
                this.GameScoreButton.Click += new System.Windows.RoutedEventHandler(this.GameScoreButton_Click);

            #line default
            #line hidden
                return;

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

            #line 67 "..\..\MainWindow.xaml"
                this.GameChart.Click += new System.Windows.RoutedEventHandler(this.GameTypeButton_Click);

            #line default
            #line hidden
                return;

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

            #line 68 "..\..\MainWindow.xaml"
                this.GameAnalaizerButton.Click += new System.Windows.RoutedEventHandler(this.GameAnalaizerButton_Click);

            #line default
            #line hidden
                return;

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

            case 12:
                this.Chart = ((LiveCharts.Wpf.CartesianChart)(target));

            #line 74 "..\..\MainWindow.xaml"
                this.Chart.Loaded += new System.Windows.RoutedEventHandler(this.CartesianChart_Loaded);

            #line default
            #line hidden
                return;

            case 13:
                this.YAxis = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 14:
                this.XAxis = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 15:
                this.CPUUseProgressBar = ((System.Windows.Controls.ProgressBar)(target));

            #line 108 "..\..\MainWindow.xaml"
                this.CPUUseProgressBar.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.PCUUseProgressBar_ValueChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.RAMUseProgressBar = ((System.Windows.Controls.ProgressBar)(target));

            #line 109 "..\..\MainWindow.xaml"
                this.RAMUseProgressBar.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.RAMUseProgressBar_ValueChanged);

            #line default
            #line hidden
                return;

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

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

            case 19:
                this.GameOutputControlTextBlock = ((System.Windows.Controls.TextBox)(target));
                return;

            case 20:
                this.GameOutputDataTextBlock = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #18
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 17 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 2:

            #line 18 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 3:

            #line 19 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

            case 4:
                this.s1 = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 5:
                this.s1y = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 6:
                this.s1x = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 7:
                this.s2 = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 8:
                this.s2y = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 9:
                this.s2x = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 10:
                this.s3 = ((LiveCharts.Wpf.PieChart)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #19
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 12 "..\..\..\..\View\reports\uc_direct.xaml"
     ((POS.View.reports.uc_direct)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.grid_main = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.grid_tabControl = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.bdr_item = ((System.Windows.Controls.Border)(target));
     return;
     case 5:
     this.btn_item = ((System.Windows.Controls.Button)(target));
     return;
     case 6:
     this.path_item = ((System.Windows.Shapes.Path)(target));
     return;
     case 7:
     this.tt_item = ((System.Windows.Controls.ToolTip)(target));
     return;
     case 8:
     this.txt_tabTitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 9:
     this.bdrMain = ((System.Windows.Controls.Border)(target));
     return;
     case 10:
     this.grid_direct = ((System.Windows.Controls.Grid)(target));
     return;
     case 11:
     this.bdrMainExternal = ((System.Windows.Controls.Border)(target));
     return;
     case 12:
     this.grid_directItems = ((System.Windows.Controls.Grid)(target));
     return;
     case 13:
     this.cb_directItemsBranches = ((System.Windows.Controls.ComboBox)(target));
     
     #line 128 "..\..\..\..\View\reports\uc_direct.xaml"
     this.cb_directItemsBranches.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_directItemsBranches_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 14:
     this.chk_directAllBranches = ((System.Windows.Controls.CheckBox)(target));
     
     #line 135 "..\..\..\..\View\reports\uc_direct.xaml"
     this.chk_directAllBranches.Checked += new System.Windows.RoutedEventHandler(this.Chk_directAllBranches_Checked);
     
     #line default
     #line hidden
     
     #line 135 "..\..\..\..\View\reports\uc_direct.xaml"
     this.chk_directAllBranches.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_directAllBranches_Unchecked);
     
     #line default
     #line hidden
     return;
     case 15:
     this.dp_directEndDate = ((System.Windows.Controls.DatePicker)(target));
     
     #line 154 "..\..\..\..\View\reports\uc_direct.xaml"
     this.dp_directEndDate.SelectedDateChanged += new System.EventHandler<System.Windows.Controls.SelectionChangedEventArgs>(this.Dp_SelectedDateChanged);
     
     #line default
     #line hidden
     return;
     case 16:
     this.dp_directStartDate = ((System.Windows.Controls.DatePicker)(target));
     
     #line 168 "..\..\..\..\View\reports\uc_direct.xaml"
     this.dp_directStartDate.SelectedDateChanged += new System.EventHandler<System.Windows.Controls.SelectionChangedEventArgs>(this.Dp_SelectedDateChanged);
     
     #line default
     #line hidden
     return;
     case 17:
     this.cb_directItems = ((System.Windows.Controls.ComboBox)(target));
     
     #line 185 "..\..\..\..\View\reports\uc_direct.xaml"
     this.cb_directItems.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_directItems_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 18:
     this.chk_directAllItems = ((System.Windows.Controls.CheckBox)(target));
     
     #line 193 "..\..\..\..\View\reports\uc_direct.xaml"
     this.chk_directAllItems.Checked += new System.Windows.RoutedEventHandler(this.Chk_directAllItems_Checked);
     
     #line default
     #line hidden
     
     #line 193 "..\..\..\..\View\reports\uc_direct.xaml"
     this.chk_directAllItems.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_directAllItems_Unchecked);
     
     #line default
     #line hidden
     return;
     case 19:
     this.cb_directUnits = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 20:
     this.chk_directAllUnits = ((System.Windows.Controls.CheckBox)(target));
     
     #line 216 "..\..\..\..\View\reports\uc_direct.xaml"
     this.chk_directAllUnits.Checked += new System.Windows.RoutedEventHandler(this.Chk_directAllUnits_Checked);
     
     #line default
     #line hidden
     
     #line 216 "..\..\..\..\View\reports\uc_direct.xaml"
     this.chk_directAllUnits.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_directAllUnits_Unchecked);
     
     #line default
     #line hidden
     return;
     case 21:
     this.txt_search = ((System.Windows.Controls.TextBox)(target));
     return;
     case 22:
     this.btn_refresh = ((System.Windows.Controls.Button)(target));
     return;
     case 23:
     this.tt_refresh = ((System.Windows.Controls.ToolTip)(target));
     return;
     case 24:
     this.dgDirect = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 25:
     this.col_Num = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 26:
     this.col_date = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 27:
     this.col_branch = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 28:
     this.col_agentType = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 29:
     this.col_agent = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 30:
     this.col_invType = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 31:
     this.col_invNumber = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 32:
     this.col_itemUnits = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 33:
     this.col_item = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 34:
     this.col_unit = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 35:
     this.col_quantity = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 36:
     this.col_agentTypeAgent = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 37:
     this.col_invTypeNumber = ((System.Windows.Controls.DataGridTextColumn)(target));
     return;
     case 38:
     this.btn_pdf = ((System.Windows.Controls.Button)(target));
     
     #line 332 "..\..\..\..\View\reports\uc_direct.xaml"
     this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);
     
     #line default
     #line hidden
     return;
     case 39:
     this.tt_report = ((System.Windows.Controls.ToolTip)(target));
     return;
     case 40:
     this.btn_print = ((System.Windows.Controls.Button)(target));
     
     #line 347 "..\..\..\..\View\reports\uc_direct.xaml"
     this.btn_print.Click += new System.Windows.RoutedEventHandler(this.Btn_print_Click);
     
     #line default
     #line hidden
     return;
     case 41:
     this.tt_print = ((System.Windows.Controls.ToolTip)(target));
     return;
     case 42:
     this.btn_exportToExcel = ((System.Windows.Controls.Button)(target));
     
     #line 363 "..\..\..\..\View\reports\uc_direct.xaml"
     this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);
     
     #line default
     #line hidden
     return;
     case 43:
     this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
     return;
     case 44:
     this.btn_settings = ((System.Windows.Controls.Button)(target));
     return;
     case 45:
     this.btn_preview = ((System.Windows.Controls.Button)(target));
     
     #line 387 "..\..\..\..\View\reports\uc_direct.xaml"
     this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);
     
     #line default
     #line hidden
     return;
     case 46:
     this.tt_preview = ((System.Windows.Controls.ToolTip)(target));
     return;
     case 47:
     this.txt_count = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 48:
     this.tt_count = ((System.Windows.Controls.ToolTip)(target));
     return;
     case 49:
     this.stk_tagsBranches = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 50:
     this.stk_tagsPos = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 51:
     this.stk_tagsItems = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 52:
     this.cartesianChart = ((LiveCharts.Wpf.CartesianChart)(target));
     return;
     case 53:
     this.axcolumn = ((LiveCharts.Wpf.Axis)(target));
     return;
     case 54:
     this.grid1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 55:
     this.chart1 = ((LiveCharts.Wpf.PieChart)(target));
     return;
     case 56:
     this.rowChart = ((LiveCharts.Wpf.CartesianChart)(target));
     return;
     case 57:
     this.MyAxis = ((LiveCharts.Wpf.Axis)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                ((AdministratorApp.View.reports.uc_paymentsReport)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 13 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                ((AdministratorApp.View.reports.uc_paymentsReport)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

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

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

            case 5:
                this.bdrMain = ((System.Windows.Controls.Border)(target));
                return;

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

            case 7:
                this.grid_invoice = ((System.Windows.Controls.Grid)(target));
                return;

            case 8:
                this.dpnl_country = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 9:
                this.cb_countries = ((System.Windows.Controls.ComboBox)(target));

            #line 81 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.cb_countries.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_countries_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.chk_allCountries = ((System.Windows.Controls.CheckBox)(target));

            #line 84 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allCountries.Checked += new System.Windows.RoutedEventHandler(this.Chk_Checked);

            #line default
            #line hidden

            #line 84 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allCountries.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_Unchecked);

            #line default
            #line hidden
                return;

            case 11:
                this.bdr_country = ((System.Windows.Controls.Border)(target));
                return;

            case 12:
                this.tb_country = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.dpnl_agent = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 14:
                this.cb_agents = ((System.Windows.Controls.ComboBox)(target));

            #line 103 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.cb_agents.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_agents_SelectionChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.chk_allAgents = ((System.Windows.Controls.CheckBox)(target));

            #line 106 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allAgents.Checked += new System.Windows.RoutedEventHandler(this.Chk_Checked);

            #line default
            #line hidden

            #line 106 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allAgents.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_Unchecked);

            #line default
            #line hidden
                return;

            case 16:
                this.bdr_agent = ((System.Windows.Controls.Border)(target));
                return;

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

            case 18:
                this.dpnl_customer = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 19:
                this.cb_customers = ((DotNetKit.Windows.Controls.AutoCompleteComboBox)(target));

            #line 146 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.cb_customers.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_customers_SelectionChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.chk_allCustomers = ((System.Windows.Controls.CheckBox)(target));

            #line 155 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allCustomers.Checked += new System.Windows.RoutedEventHandler(this.Chk_Checked);

            #line default
            #line hidden

            #line 155 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allCustomers.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_Unchecked);

            #line default
            #line hidden
                return;

            case 21:
                this.dpnl_package = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            #line 168 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.cb_packages.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_packages_SelectionChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.chk_allPackages = ((System.Windows.Controls.CheckBox)(target));

            #line 171 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allPackages.Checked += new System.Windows.RoutedEventHandler(this.Chk_Checked);

            #line default
            #line hidden

            #line 171 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.chk_allPackages.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_Unchecked);

            #line default
            #line hidden
                return;

            case 24:
                this.dp_endDate = ((System.Windows.Controls.DatePicker)(target));

            #line 187 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.dp_endDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Dp_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.dp_startDate = ((System.Windows.Controls.DatePicker)(target));

            #line 201 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.dp_startDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Dp_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 26:
                this.txt_search = ((System.Windows.Controls.TextBox)(target));

            #line 226 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.txt_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Txt_search_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 241 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_refresh_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.tt_refresh = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 29:
                this.dg_book = ((System.Windows.Controls.DataGrid)(target));

            #line 281 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.dg_book.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.Dg_book_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 30:
                this.col_agent = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 31:
                this.col_customer = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 32:
                this.col_price = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

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

            #line 401 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.tt_report = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 413 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_print.Click += new System.Windows.RoutedEventHandler(this.Btn_print_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.tt_print = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 37:
                this.btn_exportToExcel = ((System.Windows.Controls.Button)(target));

            #line 426 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 442 "..\..\..\..\View\reports\uc_paymentsReport.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.tt_preview = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 42:
                this.txt_count = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 43:
                this.tt_count = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 44:
                this.cartesianChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 45:
                this.axcolumn = ((LiveCharts.Wpf.Axis)(target));
                return;

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

            case 47:
                this.chart1 = ((LiveCharts.Wpf.PieChart)(target));
                return;

            case 48:
                this.rowChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 49:
                this.MyAxis = ((LiveCharts.Wpf.Axis)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #21
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                ((POS.View.reports.uc_salePromotion)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                ((POS.View.reports.uc_salePromotion)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.bdr_coupon = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 49 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.btn_coupons.Click += new System.Windows.RoutedEventHandler(this.btn_coupons_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.path_coupons = ((System.Windows.Shapes.Path)(target));
                return;

            case 7:
                this.tt_coupon = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 8:
                this.bdr_offers = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 93 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.btn_offers.Click += new System.Windows.RoutedEventHandler(this.btn_offers_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.path_offers = ((System.Windows.Shapes.Path)(target));
                return;

            case 11:
                this.tt_offers = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 12:
                this.txt_tabTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.bdrMain = ((System.Windows.Controls.Border)(target));
                return;

            case 14:
                this.grid_coupons = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.chk_couponInvoice = ((System.Windows.Controls.CheckBox)(target));

            #line 200 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.chk_couponInvoice.Checked += new System.Windows.RoutedEventHandler(this.chk_Checked);

            #line default
            #line hidden

            #line 200 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.chk_couponInvoice.Unchecked += new System.Windows.RoutedEventHandler(this.chk_Checked);

            #line default
            #line hidden
                return;

            case 16:
                this.chk_couponReturn = ((System.Windows.Controls.CheckBox)(target));

            #line 201 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.chk_couponReturn.Checked += new System.Windows.RoutedEventHandler(this.chk_Checked);

            #line default
            #line hidden

            #line 201 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.chk_couponReturn.Unchecked += new System.Windows.RoutedEventHandler(this.chk_Checked);

            #line default
            #line hidden
                return;

            case 17:
                this.chk_couponDrafs = ((System.Windows.Controls.CheckBox)(target));

            #line 202 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.chk_couponDrafs.Checked += new System.Windows.RoutedEventHandler(this.chk_Checked);

            #line default
            #line hidden

            #line 202 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.chk_couponDrafs.Unchecked += new System.Windows.RoutedEventHandler(this.chk_Checked);

            #line default
            #line hidden
                return;

            case 18:
                this.dp_couponEndDate = ((System.Windows.Controls.DatePicker)(target));

            #line 203 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.dp_couponEndDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dp_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.dp_couponStartDate = ((System.Windows.Controls.DatePicker)(target));

            #line 206 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.dp_couponStartDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dp_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

            #line 215 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.cb_Coupons.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_Coupons_SelectionChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.chk_allCoupon = ((System.Windows.Controls.CheckBox)(target));

            #line 220 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.chk_allCoupon.Click += new System.Windows.RoutedEventHandler(this.chk_allCoupon_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.dt_couponEndTime = ((MaterialDesignThemes.Wpf.TimePicker)(target));

            #line 223 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.dt_couponEndTime.SelectedTimeChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.DateTime> >(this.dt_SelectedTimeChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.dt_couponStartTime = ((MaterialDesignThemes.Wpf.TimePicker)(target));

            #line 226 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.dt_couponStartTime.SelectedTimeChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.DateTime> >(this.dt_SelectedTimeChanged);

            #line default
            #line hidden
                return;

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

            #line 246 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.txt_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_search_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 268 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_refresh_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.tt_refresh = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            case 28:
                this.col_No = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 29:
                this.col_date = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 30:
                this.col_coupon = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 31:
                this.col_cTypeValue = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 32:
                this.col_couponTotalValue = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 33:
                this.col_item = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 34:
                this.col_price = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 35:
                this.col_itQuantity = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 36:
                this.col_offers = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 37:
                this.col_oTypeValue = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 38:
                this.col_offersTotalValue = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 39:
                this.col_total = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 40:
                this.btn_pdf = ((System.Windows.Controls.Button)(target));

            #line 365 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

            case 41:
                this.tt_report = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 42:
                this.btn_print = ((System.Windows.Controls.Button)(target));

            #line 380 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.btn_print.Click += new System.Windows.RoutedEventHandler(this.Btn_print_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.tt_print = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 44:
                this.btn_exportToExcel = ((System.Windows.Controls.Button)(target));

            #line 395 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 46:
                this.btn_preview = ((System.Windows.Controls.Button)(target));

            #line 411 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.tt_preview = ((System.Windows.Controls.ToolTip)(target));
                return;

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

            #line 434 "..\..\..\..\View\reports\uc_salePromotion.xaml"
                this.btn_settings.Click += new System.Windows.RoutedEventHandler(this.btn_settings_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.txt_count = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 50:
                this.tt_count = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 51:
                this.stk_tagsCoupons = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 52:
                this.stk_tagsOffers = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 53:
                this.cartesianChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 54:
                this.axcolumn = ((LiveCharts.Wpf.Axis)(target));
                return;

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

            case 56:
                this.chart1 = ((LiveCharts.Wpf.PieChart)(target));
                return;

            case 57:
                this.rowChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 58:
                this.MyAxis = ((LiveCharts.Wpf.Axis)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                ((POS.View.reports.uc_saleOrders)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                ((POS.View.reports.uc_saleOrders)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.bdr_branch = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 52 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.btn_branch.Click += new System.Windows.RoutedEventHandler(this.btn_branch_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.trig = ((System.Windows.EventTrigger)(target));
                return;

            case 7:
                this.path_branch = ((System.Windows.Shapes.Path)(target));
                return;

            case 8:
                this.tt_branch = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 9:
                this.bdr_pos = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 88 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.btn_pos.Click += new System.Windows.RoutedEventHandler(this.btn_pos_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.path_pos = ((System.Windows.Shapes.Path)(target));
                return;

            case 12:
                this.tt_pos = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 13:
                this.bdr_vendors = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 136 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.btn_vendors.Click += new System.Windows.RoutedEventHandler(this.btn_vendors_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.path_vendors = ((System.Windows.Shapes.Path)(target));
                return;

            case 16:
                this.tt_vendors = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 17:
                this.bdr_users = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 175 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.btn_users.Click += new System.Windows.RoutedEventHandler(this.btn_users_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.path_users = ((System.Windows.Shapes.Path)(target));
                return;

            case 20:
                this.tt_users = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 21:
                this.txt_tabTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.bdrMain = ((System.Windows.Controls.Border)(target));
                return;

            case 23:
                this.grid_branch = ((System.Windows.Controls.Grid)(target));
                return;

            case 24:
                this.chk_invoice = ((System.Windows.Controls.CheckBox)(target));

            #line 243 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.chk_invoice.Checked += new System.Windows.RoutedEventHandler(this.chk_Checked);

            #line default
            #line hidden

            #line 243 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.chk_invoice.Unchecked += new System.Windows.RoutedEventHandler(this.chk_Checked);

            #line default
            #line hidden
                return;

            case 25:
                this.chk_return = ((System.Windows.Controls.CheckBox)(target));

            #line 244 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.chk_return.Checked += new System.Windows.RoutedEventHandler(this.chk_Checked);

            #line default
            #line hidden

            #line 244 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.chk_return.Unchecked += new System.Windows.RoutedEventHandler(this.chk_Checked);

            #line default
            #line hidden
                return;

            case 26:
                this.chk_drafs = ((System.Windows.Controls.CheckBox)(target));

            #line 245 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.chk_drafs.Checked += new System.Windows.RoutedEventHandler(this.chk_Checked);

            #line default
            #line hidden

            #line 245 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.chk_drafs.Unchecked += new System.Windows.RoutedEventHandler(this.chk_Checked);

            #line default
            #line hidden
                return;

            case 27:
                this.dp_endDate = ((System.Windows.Controls.DatePicker)(target));

            #line 246 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.dp_endDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dp_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.dp_startDate = ((System.Windows.Controls.DatePicker)(target));

            #line 249 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.dp_startDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.dp_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.cb_branches = ((System.Windows.Controls.ComboBox)(target));

            #line 256 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.cb_branches.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_branches_SelectionChanged);

            #line default
            #line hidden
                return;

            case 30:
                this.chk_allBranches = ((System.Windows.Controls.CheckBox)(target));

            #line 261 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.chk_allBranches.Click += new System.Windows.RoutedEventHandler(this.chk_allBranches_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.dt_endTime = ((MaterialDesignThemes.Wpf.TimePicker)(target));

            #line 263 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.dt_endTime.SelectedTimeChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.DateTime> >(this.dt_SelectedTimeChanged);

            #line default
            #line hidden
                return;

            case 32:
                this.dt_startTime = ((MaterialDesignThemes.Wpf.TimePicker)(target));

            #line 266 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.dt_startTime.SelectedTimeChanged += new System.Windows.RoutedPropertyChangedEventHandler <System.Nullable <System.DateTime> >(this.dt_SelectedTimeChanged);

            #line default
            #line hidden
                return;

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

            #line 287 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.txt_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txt_search_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 309 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_refresh_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.tt_refresh = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 36:
                this.dgInvoice = ((System.Windows.Controls.DataGrid)(target));

            #line 349 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.dgInvoice.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.DgInvoice_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 37:
                this.col_No = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 38:
                this.col_Date = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 39:
                this.col_coupon = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 40:
                this.col_couponType = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 41:
                this.col_coupoValue = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 42:
                this.col_couponTotalValue = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 43:
                this.col_type = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 44:
                this.col_branch = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 45:
                this.col_pos = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 46:
                this.col_vendor = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 47:
                this.col_agentCompany = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 48:
                this.col_user = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 49:
                this.col_item = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 50:
                this.col_count = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 51:
                this.col_discount = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 52:
                this.col_itQuantity = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 53:
                this.col_offers = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 54:
                this.col_offersType = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 55:
                this.col_offersValue = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 56:
                this.col_offersTotalValue = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 57:
                this.col_price = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 58:
                this.col_tax = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 59:
                this.col_total = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 60:
                this.col_totalNet = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 61:
                this.btn_pdf = ((System.Windows.Controls.Button)(target));

            #line 399 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

            case 62:
                this.tt_report = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 63:
                this.btn_print = ((System.Windows.Controls.Button)(target));

            #line 414 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.btn_print.Click += new System.Windows.RoutedEventHandler(this.Btn_print_Click);

            #line default
            #line hidden
                return;

            case 64:
                this.tt_print = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 65:
                this.btn_exportToExcel = ((System.Windows.Controls.Button)(target));

            #line 429 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

            case 66:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 67:
                this.btn_preview = ((System.Windows.Controls.Button)(target));

            #line 445 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

            case 68:
                this.tt_preview = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 69:
                this.btn_settings = ((System.Windows.Controls.Button)(target));

            #line 468 "..\..\..\..\View\reports\uc_saleOrders.xaml"
                this.btn_settings.Click += new System.Windows.RoutedEventHandler(this.btn_settings_Click);

            #line default
            #line hidden
                return;

            case 70:
                this.txt_count = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 71:
                this.tt_count = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 72:
                this.stk_tagsBranches = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 73:
                this.stk_tagsPos = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 74:
                this.stk_tagsVendors = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 75:
                this.stk_tagsUsers = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 76:
                this.stk_tagsItems = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 77:
                this.stk_tagsCoupons = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 78:
                this.stk_tagsOffers = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 79:
                this.cartesianChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 80:
                this.axcolumn = ((LiveCharts.Wpf.Axis)(target));
                return;

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

            case 82:
                this.chart1 = ((LiveCharts.Wpf.PieChart)(target));
                return;

            case 83:
                this.rowChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 84:
                this.MyAxis = ((LiveCharts.Wpf.Axis)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #23
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Graphic = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 2:
                this.GraphicLabels = ((LiveCharts.Wpf.Axis)(target));
                return;

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

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

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

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

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

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

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

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

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

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

            #line 108 "..\..\MainWindow.xaml"
                this.DisplayGraphicBtn.Click += new System.Windows.RoutedEventHandler(this.DisplayGraphicBtn_Click);

            #line default
            #line hidden
                return;

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

            #line 115 "..\..\MainWindow.xaml"
                this.Quit.Click += new System.Windows.RoutedEventHandler(this.Quit_Click);

            #line default
            #line hidden
                return;

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

            #line 31 "..\..\..\View\MainWindow.xaml"
                this.lbStations.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LbStations_SelectionChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.btAddStation = ((System.Windows.Controls.Button)(target));

            #line 43 "..\..\..\View\MainWindow.xaml"
                this.btAddStation.Click += new System.Windows.RoutedEventHandler(this.BtAddStation_Click);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\..\View\MainWindow.xaml"
                this.btDeleteStation.Click += new System.Windows.RoutedEventHandler(this.BtDeleteStation_Click);

            #line default
            #line hidden
                return;

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

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

            case 6:
                this.dpStartDate = ((System.Windows.Controls.DatePicker)(target));

            #line 63 "..\..\..\View\MainWindow.xaml"
                this.dpStartDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.DpStartDate_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

            case 8:
                this.dpEndDate = ((System.Windows.Controls.DatePicker)(target));

            #line 71 "..\..\..\View\MainWindow.xaml"
                this.dpEndDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.DpEndDate_SelectedDateChanged);

            #line default
            #line hidden
                return;

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

            case 10:
                this.tpStartTime = ((Xceed.Wpf.Toolkit.TimePicker)(target));

            #line 79 "..\..\..\View\MainWindow.xaml"
                this.tpStartTime.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.TpStartTime_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 12:
                this.tpEndTime = ((Xceed.Wpf.Toolkit.TimePicker)(target));

            #line 86 "..\..\..\View\MainWindow.xaml"
                this.tpEndTime.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.TpEndTime_ValueChanged);

            #line default
            #line hidden
                return;

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

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

            #line 94 "..\..\..\View\MainWindow.xaml"
                this.btStartSimulator.Click += new System.Windows.RoutedEventHandler(this.BtStartSimulator_Click);

            #line default
            #line hidden
                return;

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

            #line 98 "..\..\..\View\MainWindow.xaml"
                this.btStopSimulator.Click += new System.Windows.RoutedEventHandler(this.BtStopSimulator_Click);

            #line default
            #line hidden
                return;

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

            #line 102 "..\..\..\View\MainWindow.xaml"
                this.btSendData.Click += new System.Windows.RoutedEventHandler(this.BtSendData_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.MyChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 18:
                this.MyYAxis = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 19:
                this.dgMeasurements = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            case 21:
                this.rbSpeed1 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 22:
                this.rbSpeed2 = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 23:
                this.rbSpeed3 = ((System.Windows.Controls.RadioButton)(target));
                return;

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

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

            #line 152 "..\..\..\View\MainWindow.xaml"
                this.cbMeasurement.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CbMeasurement_SelectionChanged);

            #line default
            #line hidden
                return;

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

            case 27:
                this.dudFrequency = ((Xceed.Wpf.Toolkit.DoubleUpDown)(target));
                return;

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

            case 29:
                this.lbValueRangeFrom = ((System.Windows.Controls.Label)(target));
                return;

            case 30:
                this.slValueRangeFrom = ((System.Windows.Controls.Slider)(target));

            #line 175 "..\..\..\View\MainWindow.xaml"
                this.slValueRangeFrom.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SlValueRangeFrom_ValueChanged);

            #line default
            #line hidden
                return;

            case 31:
                this.dudValueRangeFrom = ((Xceed.Wpf.Toolkit.DoubleUpDown)(target));

            #line 182 "..\..\..\View\MainWindow.xaml"
                this.dudValueRangeFrom.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.DudValueRangeFrom_ValueChanged);

            #line default
            #line hidden
                return;

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

            case 33:
                this.lbValueRangeTo = ((System.Windows.Controls.Label)(target));
                return;

            case 34:
                this.slValueRangeTo = ((System.Windows.Controls.Slider)(target));

            #line 191 "..\..\..\View\MainWindow.xaml"
                this.slValueRangeTo.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SlValueRangeTo_ValueChanged);

            #line default
            #line hidden
                return;

            case 35:
                this.dudValueRangeTo = ((Xceed.Wpf.Toolkit.DoubleUpDown)(target));

            #line 197 "..\..\..\View\MainWindow.xaml"
                this.dudValueRangeTo.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <object>(this.DudValueRangeTo_ValueChanged);

            #line default
            #line hidden
                return;

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

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

            case 38:
                this.cbStrategy = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #25
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                ((POS.View.reports.uc_stocktaking)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                ((POS.View.reports.uc_stocktaking)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.bdr_archives = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 46 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.btn_archives.Click += new System.Windows.RoutedEventHandler(this.Btn_archives_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.path_archives = ((MaterialDesignThemes.Wpf.PackIcon)(target));
                return;

            case 7:
                this.tt_archives = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 8:
                this.bdr_shortfalls = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 81 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.btn_shortfalls.Click += new System.Windows.RoutedEventHandler(this.Btn_shortfalls_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.path_shortfalls = ((System.Windows.Shapes.Path)(target));
                return;

            case 11:
                this.tt_shortfalls = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 12:
                this.txt_tabTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.bdrMain = ((System.Windows.Controls.Border)(target));
                return;

            case 14:
                this.grid_stocktaking = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.bdrMainStocktake = ((System.Windows.Controls.Border)(target));
                return;

            case 16:
                this.grid_stocktakingArchived = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:
                this.cb_stocktakingArchivedBranch = ((System.Windows.Controls.ComboBox)(target));

            #line 187 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.cb_stocktakingArchivedBranch.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_SelectionChanged);

            #line default
            #line hidden
                return;

            case 18:
                this.chk_stocktakingArchivedAllBranches = ((System.Windows.Controls.CheckBox)(target));

            #line 195 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.chk_stocktakingArchivedAllBranches.Checked += new System.Windows.RoutedEventHandler(this.Chk_stocktakingArchivedAllBranches_Checked);

            #line default
            #line hidden

            #line 196 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.chk_stocktakingArchivedAllBranches.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_stocktakingArchivedAllBranches_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 211 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.cb_stocktakingArchivedType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_SelectionChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.chk_stocktakingArchivedAllTypes = ((System.Windows.Controls.CheckBox)(target));

            #line 220 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.chk_stocktakingArchivedAllTypes.Checked += new System.Windows.RoutedEventHandler(this.Chk_stocktakingArchivedAllTypes_Checked);

            #line default
            #line hidden

            #line 221 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.chk_stocktakingArchivedAllTypes.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_stocktakingArchivedAllTypes_Unchecked);

            #line default
            #line hidden
                return;

            case 21:
                this.dp_stocktakingArchivedEndDate = ((System.Windows.Controls.DatePicker)(target));

            #line 226 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.dp_stocktakingArchivedEndDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Dp_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.dp_stocktakingArchivedStartDate = ((System.Windows.Controls.DatePicker)(target));

            #line 229 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.dp_stocktakingArchivedStartDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.Dp_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.grid_stocktakingShortfalse = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 264 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.cb_stocktakingFalseBranch.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_stocktakingFalseBranch_SelectionChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.chk_stocktakingFalseAllBranches = ((System.Windows.Controls.CheckBox)(target));

            #line 272 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.chk_stocktakingFalseAllBranches.Checked += new System.Windows.RoutedEventHandler(this.Chk_stocktakingFalseAllBranches_Checked);

            #line default
            #line hidden

            #line 273 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.chk_stocktakingFalseAllBranches.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_stocktakingFalseAllBranches_Unchecked);

            #line default
            #line hidden
                return;

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

            #line 288 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.cb_stocktakingFalseType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CbF_SelectionChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.chk_stocktakingFalseAllTypes = ((System.Windows.Controls.CheckBox)(target));

            #line 297 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.chk_stocktakingFalseAllTypes.Checked += new System.Windows.RoutedEventHandler(this.Chk_stocktakingFalseAllTypes_Checked);

            #line default
            #line hidden

            #line 298 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.chk_stocktakingFalseAllTypes.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_stocktakingFalseAllTypes_Unchecked);

            #line default
            #line hidden
                return;

            case 28:
                this.dp_stocktakingFalseEndDate = ((System.Windows.Controls.DatePicker)(target));

            #line 303 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.dp_stocktakingFalseEndDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.DpFe_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.dp_stocktakingFalseStartDate = ((System.Windows.Controls.DatePicker)(target));

            #line 306 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.dp_stocktakingFalseStartDate.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.DpFe_SelectedDateChanged);

            #line default
            #line hidden
                return;

            case 30:
                this.txt_search = ((System.Windows.Controls.TextBox)(target));

            #line 336 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.txt_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Txt_search_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 365 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_refresh_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.tt_refresh = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 33:
                this.dgStock = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 34:
                this.col_branch = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 35:
                this.col_itemUnits = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 36:
                this.col_stockTakeNum = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 37:
                this.col_stockTakingCoastType = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 38:
                this.col_stockTakingDate = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 39:
                this.col_diffPercentage = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 40:
                this.col_itemCountAr = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 41:
                this.col_DestroyedCount = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 42:
                this.col_destroiedReason = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 43:
                this.btn_pdf = ((System.Windows.Controls.Button)(target));

            #line 428 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.tt_report = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 45:
                this.btn_print = ((System.Windows.Controls.Button)(target));

            #line 443 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.btn_print.Click += new System.Windows.RoutedEventHandler(this.Btn_print_Click);

            #line default
            #line hidden
                return;

            case 46:
                this.tt_print = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 47:
                this.btn_exportToExcel = ((System.Windows.Controls.Button)(target));

            #line 459 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

            case 48:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 49:
                this.btn_preview = ((System.Windows.Controls.Button)(target));

            #line 475 "..\..\..\..\View\reports\uc_stocktaking.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

            case 50:
                this.tt_preview = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 51:
                this.btn_settings = ((System.Windows.Controls.Button)(target));
                return;

            case 52:
                this.txt_count = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 53:
                this.tt_count = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 54:
                this.stk_tagsBranches = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 55:
                this.stk_tagsPos = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 56:
                this.stk_tagsVendors = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 57:
                this.stk_tagsUsers = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 58:
                this.stk_tagsItems = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 59:
                this.cartesianChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 60:
                this.axcolumn = ((LiveCharts.Wpf.Axis)(target));
                return;

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

            case 62:
                this.chart1 = ((LiveCharts.Wpf.PieChart)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #26
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.Chart_P = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 3:
                this.chartAxisY = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 4:
                this.pickedData = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 48 "..\..\GrafPage.xaml"
                this.btnFromDays.Click += new System.Windows.RoutedEventHandler(this.btnFromDays_Click);

            #line default
            #line hidden
                return;

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

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

            #line 63 "..\..\GrafPage.xaml"
                this.btnPrint.Click += new System.Windows.RoutedEventHandler(this.btnPrintClick);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

            case 14:
                this.comboBoxMinuteStart = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 16:
                this.comboBoxMinuteEnd = ((System.Windows.Controls.ComboBox)(target));
                return;

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

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

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

            case 20:
                this.LblLoading = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #27
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\..\View\reports\uc_accountFund.xaml"
                ((POS.View.reports.uc_accountFund)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\..\..\View\reports\uc_accountFund.xaml"
                ((POS.View.reports.uc_accountFund)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.UserControl_Unloaded);

            #line default
            #line hidden
                return;

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

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

            case 4:
                this.bdr_branch = ((System.Windows.Controls.Border)(target));
                return;

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

            case 6:
                this.trig = ((System.Windows.EventTrigger)(target));
                return;

            case 7:
                this.path_branch = ((System.Windows.Shapes.Path)(target));
                return;

            case 8:
                this.tt_branch = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 9:
                this.bdr_pos = ((System.Windows.Controls.Border)(target));
                return;

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

            case 11:
                this.path_pos = ((System.Windows.Shapes.Path)(target));
                return;

            case 12:
                this.tt_pos = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 13:
                this.bdr_quotation = ((System.Windows.Controls.Border)(target));
                return;

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

            case 15:
                this.path_quotation = ((System.Windows.Shapes.Path)(target));
                return;

            case 16:
                this.tt_quotation = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 17:
                this.txt_tabTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 19:
                this.grid_father = ((System.Windows.Controls.Grid)(target));
                return;

            case 20:
                this.grid_invoice = ((System.Windows.Controls.Grid)(target));
                return;

            case 21:
                this.chk_invoice = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 22:
                this.chk_return = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 23:
                this.chk_drafs = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 24:
                this.dp_invoiceDate = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 223 "..\..\..\..\View\reports\uc_accountFund.xaml"
                this.cb_branches.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cb_branches_SelectionChanged);

            #line default
            #line hidden
                return;

            case 26:
                this.chk_allBranches = ((System.Windows.Controls.CheckBox)(target));

            #line 228 "..\..\..\..\View\reports\uc_accountFund.xaml"
                this.chk_allBranches.Checked += new System.Windows.RoutedEventHandler(this.Chk_allBranches_Checked);

            #line default
            #line hidden

            #line 228 "..\..\..\..\View\reports\uc_accountFund.xaml"
                this.chk_allBranches.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_allBranches_Unchecked);

            #line default
            #line hidden
                return;

            case 27:
                this.pnl_pos = ((System.Windows.Controls.DockPanel)(target));
                return;

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

            #line 237 "..\..\..\..\View\reports\uc_accountFund.xaml"
                this.cb_pos.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_pos_SelectionChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.chk_allPos = ((System.Windows.Controls.CheckBox)(target));

            #line 238 "..\..\..\..\View\reports\uc_accountFund.xaml"
                this.chk_allPos.Checked += new System.Windows.RoutedEventHandler(this.Chk_allPos_Checked);

            #line default
            #line hidden

            #line 238 "..\..\..\..\View\reports\uc_accountFund.xaml"
                this.chk_allPos.Unchecked += new System.Windows.RoutedEventHandler(this.Chk_allPos_Unchecked);

            #line default
            #line hidden
                return;

            case 30:
                this.grid_order = ((System.Windows.Controls.Grid)(target));
                return;

            case 31:
                this.chk_orderInvoice = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 32:
                this.chk_orderDraft = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 33:
                this.dp_orderDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 34:
                this.grid_quotation = ((System.Windows.Controls.Grid)(target));
                return;

            case 35:
                this.chk_quotationInvoice = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 36:
                this.chk_quotationDraft = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 37:
                this.dp_quotationDate = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 38:
                this.txt_search = ((System.Windows.Controls.TextBox)(target));

            #line 307 "..\..\..\..\View\reports\uc_accountFund.xaml"
                this.txt_search.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Txt_search_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 337 "..\..\..\..\View\reports\uc_accountFund.xaml"
                this.btn_refresh.Click += new System.Windows.RoutedEventHandler(this.Btn_refresh_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.tt_refresh = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 41:
                this.dgFund = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 42:
                this.col_branchName = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 43:
                this.col_posName = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 44:
                this.col_posBalance = ((System.Windows.Controls.DataGridTextColumn)(target));
                return;

            case 45:
                this.btn_pdf = ((System.Windows.Controls.Button)(target));

            #line 386 "..\..\..\..\View\reports\uc_accountFund.xaml"
                this.btn_pdf.Click += new System.Windows.RoutedEventHandler(this.Btn_pdf_Click);

            #line default
            #line hidden
                return;

            case 46:
                this.tt_report = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 47:
                this.btn_print = ((System.Windows.Controls.Button)(target));

            #line 403 "..\..\..\..\View\reports\uc_accountFund.xaml"
                this.btn_print.Click += new System.Windows.RoutedEventHandler(this.Btn_print_Click);

            #line default
            #line hidden
                return;

            case 48:
                this.tt_print = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 49:
                this.btn_exportToExcel = ((System.Windows.Controls.Button)(target));

            #line 418 "..\..\..\..\View\reports\uc_accountFund.xaml"
                this.btn_exportToExcel.Click += new System.Windows.RoutedEventHandler(this.Btn_exportToExcel_Click);

            #line default
            #line hidden
                return;

            case 50:
                this.tt_excel = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 51:
                this.btn_preview = ((System.Windows.Controls.Button)(target));

            #line 435 "..\..\..\..\View\reports\uc_accountFund.xaml"
                this.btn_preview.Click += new System.Windows.RoutedEventHandler(this.Btn_preview_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.tt_preview = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 53:
                this.btn_settings = ((System.Windows.Controls.Button)(target));
                return;

            case 54:
                this.txt_count = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 55:
                this.tt_count = ((System.Windows.Controls.ToolTip)(target));
                return;

            case 56:
                this.brd_total = ((System.Windows.Controls.Border)(target));
                return;

            case 57:
                this.txt_total = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 58:
                this.tb_total = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 59:
                this.cartesianChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 60:
                this.axcolumn = ((LiveCharts.Wpf.Axis)(target));
                return;

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

            case 62:
                this.chart1 = ((LiveCharts.Wpf.PieChart)(target));
                return;

            case 63:
                this.rowChart = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 64:
                this.MyAxis = ((LiveCharts.Wpf.Axis)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #28
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\Windows\DownloadWindow.xaml"
                ((MineRealmsLauncher.Windows.DownloadWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MetroWindow_Closing);

            #line default
            #line hidden

            #line 11 "..\..\..\Windows\DownloadWindow.xaml"
                ((MineRealmsLauncher.Windows.DownloadWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MetroWindow_Loaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 18 "..\..\..\Windows\DownloadWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 3:

            #line 20 "..\..\..\Windows\DownloadWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

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

            case 5:
                this.plotter = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 6:
                this.YAxis = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 7:
                this.progressBar = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 8:
                this.progressPerTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.speedTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #29
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 12 "..\..\..\..\View\home\uc_home.xaml"
                ((POS.View.uc_home)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden

            #line 12 "..\..\..\..\View\home\uc_home.xaml"
                ((POS.View.uc_home)(target)).TouchLeave += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.UserControl_TouchLeave);

            #line default
            #line hidden
                return;

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

            case 3:
                this.txt_countAllPurchase = ((System.Windows.Controls.TextBlock)(target));
                return;

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

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

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

            case 7:
                this.cb_branch = ((System.Windows.Controls.ComboBox)(target));

            #line 251 "..\..\..\..\View\home\uc_home.xaml"
                this.cb_branch.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Cb_branch_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.bestSellerTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.grid_bestSeller = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.storageTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 301 "..\..\..\..\View\home\uc_home.xaml"
                this.btn_storageSetting.Click += new System.Windows.RoutedEventHandler(this.Btn_storageSetting_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.grid_IUStorage = ((System.Windows.Controls.Grid)(target));
                return;

            case 13:
                this.txt_userOnlineTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.txt_userOnline = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.pch_userOnline = ((LiveCharts.Wpf.PieChart)(target));
                return;

            case 16:
                this.grid_userImages = ((System.Windows.Controls.Grid)(target));
                return;

            case 17:
                this.txt_branchOnlineTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 18:
                this.txt_branchOnline = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.pch_branch = ((LiveCharts.Wpf.PieChart)(target));
                return;

            case 20:
                this.txt_dailyPurchaseTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.txt_countDailyPurchase = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.pch_dailyPurchaseInvoice = ((LiveCharts.Wpf.PieChart)(target));
                return;

            case 23:
                this.txt_dailySalesTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 24:
                this.txt_countDailySales = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.pch_dailySalesInvoice = ((LiveCharts.Wpf.PieChart)(target));
                return;

            case 26:
                this.purchaseAndSalesTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 27:
                this.axs_AxisY = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 28:
                this.axs_AxisX = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 29:
                this.txt_rightReserved = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #30
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\MainWindow.xaml"
                ((GUI_v1.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden

            #line 11 "..\..\MainWindow.xaml"
                ((GUI_v1.MainWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown);

            #line default
            #line hidden
                return;

            case 2:
                this.Select = ((System.Windows.Controls.ComboBox)(target));

            #line 59 "..\..\MainWindow.xaml"
                this.Select.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmb_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.C0 = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 4:
                this.a0 = ((LiveCharts.Wpf.Axis)(target));
                return;

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

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

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

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

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

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

            case 11:
                this.ss1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.ss2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.ss3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.ss4 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.ss5 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.V1 = ((LiveCharts.Wpf.AngularGauge)(target));
                return;

            case 17:
                this.C1 = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 18:
                this.a1 = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 19:
                this.C2 = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 20:
                this.a2 = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 21:
                this.C3 = ((LiveCharts.Wpf.CartesianChart)(target));
                return;

            case 22:
                this.a3 = ((LiveCharts.Wpf.Axis)(target));
                return;

            case 23:
                this.Pbstatus = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

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

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

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

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

            case 29:
                this.bingmap = ((Microsoft.Maps.MapControl.WPF.Map)(target));
                return;

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

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

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

            case 33:
                this.lb18 = ((System.Windows.Controls.Label)(target));
                return;

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

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

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

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

            case 38:
                this.Temp = ((System.Windows.Controls.ProgressBar)(target));
                return;

            case 39:
                this.MainViewport = ((System.Windows.Controls.Viewport3D)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #31
-1
        void PersistentChart.CreateGraph()
        {
            //!ELEMENT CartesianChart
            _paymentsChart = new CartesianChart();
            _paymentsChart.Name = "Chart";
            //gr.DisableAnimations = true;
            _paymentsChart.Series = _viewModel.SeriesCollection;
            // Series Binding
            /*Binding bndg = new Binding();
            // Next line don't know if neccessary
            bndg.Source = _viewModel;
            bndg.Path = new PropertyPath("SeriesCollection");
            gr.SetBinding(CartesianChart.SeriesProperty, bndg);*/
            _paymentsChart.LegendLocation = LiveCharts.LegendLocation.Right;

            //!subELEMENT CartesianChart.AxisY
            // Works but commented
            Axis AxisY = new Axis();
            AxisY.Title = "Pagos";
            AxisY.LabelFormatter = _viewModel.YFormatter;
            /* Binding bndgForm = new Binding();
             bndgForm.Source = _viewModel;
             bndgForm.Path = new PropertyPath("YFormatter");
             AxisY.SetBinding(Axis.LabelFormatterProperty, bndgForm);*/
            //gr.AddToView(AxisY);
            _paymentsChart.AxisY.Add(AxisY);

            //!subELEMENT CartesianChart.AxisX
            Axis AxisX = new Axis();
            AxisX.Title = "Mes";
            // This works
            AxisX.Labels = _viewModel.Labels;
            /*Binding bndgLab = new Binding();
            bndgLab.Source = _viewModel;
            bndgLab.Path = new PropertyPath("Labels");
            AxisX.SetBinding(Axis.LabelsProperty, bndgLab);*/
            /*gr.AddToView(AxisX);*/
            // Separator
            LiveCharts.Wpf.Separator sep = new LiveCharts.Wpf.Separator();
            sep.IsEnabled = false;
            sep.Step = 1;
            AxisX.Separator = sep; // Add separator

            _paymentsChart.AxisX.Add(AxisX);
            //gr.SetValue(Grid.RowProperty, 1);
            Grid.SetRow(_paymentsChart, 1);
            Grid.SetColumn(_paymentsChart, 0);
            GridContainer.Children.Add(_paymentsChart);
            _gContainer = GridContainer; // Save the Grid's reference to remove the chart later
        }