//Load info for appointments private void RadialGaugeChart_Loaded_2(object sender, System.Windows.RoutedEventArgs e) { double totalAppointments = dbContext.Appointments.Count(); De.TorstenMandelkow.MetroChart.RadialGaugeChart radialGaugeChart = sender as De.TorstenMandelkow.MetroChart.RadialGaugeChart; radialGaugeChart.ChartTitle = $"Total number of appointments: {totalAppointments}"; radialGaugeChart.ChartSubTitle = $"Categorized"; }
//Load info for customers chart private void RadialGaugeChart_Loaded_1(object sender, System.Windows.RoutedEventArgs e) { double totalCustomers = dbContext.People.Count(); De.TorstenMandelkow.MetroChart.RadialGaugeChart radialGaugeChart = sender as De.TorstenMandelkow.MetroChart.RadialGaugeChart; radialGaugeChart.ChartTitle = $"Total number of customers: {totalCustomers}"; radialGaugeChart.ChartSubTitle = $"Division by residential area"; }
//Load info for pets chart private void RadialGaugeChart_Loaded(object sender, System.Windows.RoutedEventArgs e) { int totalPets = dbContext.Pets.Count(); De.TorstenMandelkow.MetroChart.RadialGaugeChart radialGaugeChart = sender as De.TorstenMandelkow.MetroChart.RadialGaugeChart; radialGaugeChart.ChartTitle = $"Total number of pets: {totalPets}"; radialGaugeChart.ChartSubTitle = $"Pets per species"; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.gdTickets = ((System.Windows.Controls.Grid)(target)); return; case 2: this.btActualizar = ((System.Windows.Controls.Button)(target)); #line 27 "..\..\..\UserControls\AsignarTicketsAdminControl.xaml" this.btActualizar.Click += new System.Windows.RoutedEventHandler(this.BtActualizar_Click); #line default #line hidden return; case 3: this.dgTickesPendientes = ((System.Windows.Controls.DataGrid)(target)); return; case 4: this.combo = ((System.Windows.Controls.DataGridTemplateColumn)(target)); return; case 6: this.tbNumTicket = ((System.Windows.Controls.TextBlock)(target)); return; case 7: this.panelGraficas = ((System.Windows.Controls.StackPanel)(target)); return; case 8: this.columnGrap = ((De.TorstenMandelkow.MetroChart.ClusteredColumnChart)(target)); return; case 9: this.pieChart = ((De.TorstenMandelkow.MetroChart.RadialGaugeChart)(target)); return; case 10: this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target)); return; case 11: this.tbStatusInformation = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Person = ((MaterialDesignThemes.Wpf.Flipper)(target)); return; case 2: this.Person_FullName = ((System.Windows.Controls.TextBlock)(target)); return; case 3: #line 41 "..\..\..\View\Home.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveInfo); #line default #line hidden return; case 4: this.Person_Name = ((System.Windows.Controls.TextBox)(target)); #line 54 "..\..\..\View\Home.xaml" this.Person_Name.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Person_Name_TextChanged); #line default #line hidden return; case 5: this.Person_Surname = ((System.Windows.Controls.TextBox)(target)); #line 55 "..\..\..\View\Home.xaml" this.Person_Surname.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.Person_Surname_TextChanged); #line default #line hidden return; case 6: this.Person_Dia = ((De.TorstenMandelkow.MetroChart.RadialGaugeChart)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.gdTickets = ((System.Windows.Controls.Grid)(target)); return; case 2: this.dgTickesPendientes = ((System.Windows.Controls.DataGrid)(target)); return; case 3: this.combo = ((System.Windows.Controls.DataGridTemplateColumn)(target)); return; case 5: this.tbNumTicket = ((System.Windows.Controls.TextBlock)(target)); return; case 6: this.panelGraficas = ((System.Windows.Controls.StackPanel)(target)); return; case 7: this.columnGrap = ((De.TorstenMandelkow.MetroChart.ClusteredColumnChart)(target)); return; case 8: this.pieChart = ((De.TorstenMandelkow.MetroChart.RadialGaugeChart)(target)); return; case 9: this.statusBar = ((System.Windows.Controls.Primitives.StatusBar)(target)); return; case 10: this.tbStatusInformation = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.gdTickets = ((System.Windows.Controls.Grid)(target)); return; case 2: this.dgTickesPendientes = ((System.Windows.Controls.DataGrid)(target)); #line 26 "..\..\..\UserControls\ticketsPendientescontrol.xaml" this.dgTickesPendientes.LoadingRow += new System.EventHandler <System.Windows.Controls.DataGridRowEventArgs>(this.DgTickesPendientes_LoadingRow); #line default #line hidden return; case 4: this.tbNumTicket = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.panelGraficas = ((System.Windows.Controls.StackPanel)(target)); return; case 6: this.columnGrap = ((De.TorstenMandelkow.MetroChart.ClusteredColumnChart)(target)); return; case 7: this.pieChart = ((De.TorstenMandelkow.MetroChart.RadialGaugeChart)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 12 "..\..\..\View\Progress.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Change); #line default #line hidden return; case 2: this.c = ((De.TorstenMandelkow.MetroChart.RadialGaugeChart)(target)); return; case 3: this.PR1_SS = ((System.Windows.Controls.ComboBox)(target)); return; case 4: this.PR1_VV = ((System.Windows.Controls.ComboBox)(target)); return; case 5: this.PR2_SS = ((System.Windows.Controls.ComboBox)(target)); return; case 6: this.PR2_VV = ((System.Windows.Controls.ComboBox)(target)); return; case 7: this.PR3_SS = ((System.Windows.Controls.ComboBox)(target)); return; case 8: this.PR3_VV = ((System.Windows.Controls.ComboBox)(target)); return; case 9: this.PR4_SS = ((System.Windows.Controls.ComboBox)(target)); return; case 10: this.PR4_VV = ((System.Windows.Controls.ComboBox)(target)); return; case 11: this.PR5_SS = ((System.Windows.Controls.ComboBox)(target)); return; case 12: this.PR5_VV = ((System.Windows.Controls.ComboBox)(target)); return; case 13: this.PR6_SS = ((System.Windows.Controls.ComboBox)(target)); return; case 14: this.PR6_VV = ((System.Windows.Controls.ComboBox)(target)); return; } this._contentLoaded = true; }