void AddColumn(int type, string headerText, string binding) { if (type == 0 || type == 1) { DataGridBoundColumn col = null; if (type == 0) col = new DataGridTextColumn(); else col = new DataGridCheckBoxColumn(); col.Header = headerText; col.Binding = new Binding(binding); dataGrid.Columns.Add(col); } else if (type == 2) { DataGridComboBoxColumn col = new DataGridComboBoxColumn(); col.Header = headerText; //col.SelectedValueBinding = new Binding(binding); //col.SelectedValuePath = "Value"; //col.DisplayMemberPath = "Value"; col.TextBinding = new Binding(binding); col.ItemsSource = Enum.GetNames(typeof(ocNet.Lib.DBTable.TableFieldType)); dataGrid.Columns.Add(col); } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.colCheck = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 2: this.checkAll = ((System.Windows.Controls.CheckBox)(target)); return; case 3: this.colId = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 4: this.colSetName = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 5: this.colTheme = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 6: this.colStorage = ((System.Windows.Controls.DataGridTextColumn)(target)); return; } this._contentLoaded = true; }
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.Id = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 3: this.Name = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 4: this.Party = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 5: this.Select = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 6: this.vote = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
// Token: 0x06004788 RID: 18312 RVA: 0x00144E09 File Offset: 0x00143009 internal override void OnInput(InputEventArgs e) { if (DataGridCheckBoxColumn.IsSpaceKeyDown(e)) { base.BeginEdit(e, true); } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.datePicker = ((System.Windows.Controls.DatePicker)(target)); #line 14 "..\..\MarkEmployeesWindow.xaml" this.datePicker.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.DatePickerSelectedDateChanged); #line default #line hidden return; case 2: this.dataGrid = ((System.Windows.Controls.DataGrid)(target)); #line 15 "..\..\MarkEmployeesWindow.xaml" this.dataGrid.SelectedCellsChanged += new System.Windows.Controls.SelectedCellsChangedEventHandler(this.DataGridSelectedCellsChanged); #line default #line hidden return; case 3: this.checkBoxColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.tstDataGrid = ((Trace.PagingDataGrid)(target)); return; case 2: this.cRUID = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 4: this.btnAdd = ((System.Windows.Controls.Button)(target)); #line 183 "..\..\..\..\Views\production\ProductConfigure.xaml" this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click); #line default #line hidden return; case 5: this.btnDel = ((System.Windows.Controls.Button)(target)); #line 184 "..\..\..\..\Views\production\ProductConfigure.xaml" this.btnDel.Click += new System.Windows.RoutedEventHandler(this.btnDel_Click); #line default #line hidden return; } this._contentLoaded = true; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Input/Purchase/Utl_InpPaymentCreditBa" + "lance.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.txtDummy = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy"))); this.lblNokiYmd = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblNokiYmd"))); this.datYm = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datYm"))); this.utlPurchase_F = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlPurchase_F"))); this.utlPurchase_T = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlPurchase_T"))); this.chkSalesCredit0_Yes = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkSalesCredit0_Yes"))); this.chkSalesCredit0_No = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkSalesCredit0_No"))); this.chkBussinesNo = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkBussinesNo"))); this.chkBussinesYes = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkBussinesYes"))); this.GridDetail = ((System.Windows.Controls.Grid)(this.FindName("GridDetail"))); this.dgPrint = ((SlvHanbaiClient.Class.UI.ExDataGrid)(this.FindName("dgPrint"))); this.GridDetailUpdate = ((System.Windows.Controls.Grid)(this.FindName("GridDetailUpdate"))); this.btnSelectAll = ((System.Windows.Controls.Button)(this.FindName("btnSelectAll"))); this.btnNoSelectAll = ((System.Windows.Controls.Button)(this.FindName("btnNoSelectAll"))); this.dgUpdate = ((SlvHanbaiClient.Class.UI.ExDataGrid)(this.FindName("dgUpdate"))); this.dataG_HeaderSelect = ((System.Windows.Controls.DataGridCheckBoxColumn)(this.FindName("dataG_HeaderSelect"))); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.xDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 2: this.isChecked = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 3: this.orderNum = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 4: this.completeButton = ((System.Windows.Controls.Button)(target)); #line 43 "..\..\..\View\Delivering.xaml" this.completeButton.Click += new System.Windows.RoutedEventHandler(this.completeButton_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 4 "..\..\..\Window1.xaml" ((DocArchiver.Window1)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.diskFoldersDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 3: this.diskFolder_IDColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 4: this.pathColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 5: this.isValidColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.tabela = ((System.Windows.Controls.DataGrid)(target)); #line 6 "..\..\EtiquetasWindow.xaml" this.tabela.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabela_SelectionChanged); #line default #line hidden return; case 2: this.checkboxTabela = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 3: this.buttonImprimir = ((System.Windows.Controls.Button)(target)); #line 17 "..\..\EtiquetasWindow.xaml" this.buttonImprimir.Click += new System.Windows.RoutedEventHandler(this.buttonImprimir_Click); #line default #line hidden return; } this._contentLoaded = true; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Input/Purchase/Utl_InpPaymentClose.xa" + "ml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.txtDummy = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy"))); this.lblTitle = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle"))); this.lblCustomer = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCustomer"))); this.utlPurchase = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlPurchase"))); this.lblSummingUp = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblSummingUp"))); this.utlSummingUp = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlSummingUp"))); this.utlMode = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Mode)(this.FindName("utlMode"))); this.lblInvoiceYm = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblInvoiceYm"))); this.datPaymentYmd = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datPaymentYmd"))); this.lblCollectPlanDay = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCollectPlanDay"))); this.datPaymentPlanDay = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datPaymentPlanDay"))); this.btnSelectAll = ((System.Windows.Controls.Button)(this.FindName("btnSelectAll"))); this.btnNoSelectAll = ((System.Windows.Controls.Button)(this.FindName("btnNoSelectAll"))); this.dg = ((SlvHanbaiClient.Class.UI.ExDataGrid)(this.FindName("dg"))); this.dataG_HeaderSelect = ((System.Windows.Controls.DataGridCheckBoxColumn)(this.FindName("dataG_HeaderSelect"))); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.tbltelefonosDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 2: this.idColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 3: this.numeroColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 4: this.tipoColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 5: this.canceladoColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 6: this.idPersonaColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.salesDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 2: this.clientIDColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 3: this.computerIDColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 4: this.payedColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 5: this.priceToPayColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 6: this.reservationIDColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; } this._contentLoaded = true; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Input/Sales/Utl_InpSearchSalesChange." + "xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.txtDummy = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy"))); this.lblSalesYmd = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblSalesYmd"))); this.datSalesYmd_F = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datSalesYmd_F"))); this.datSalesYmd_T = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datSalesYmd_T"))); this.lblSalesNo = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblSalesNo"))); this.utlSalesNo_F = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlSalesNo_F"))); this.utlSalesNo_T = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlSalesNo_T"))); this.stpNoki = ((System.Windows.Controls.StackPanel)(this.FindName("stpNoki"))); this.lblNokiYmd = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblNokiYmd"))); this.datNokiYmd_F = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datNokiYmd_F"))); this.datNokiYmd_T = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datNokiYmd_T"))); this.tbkNoki = ((System.Windows.Controls.TextBlock)(this.FindName("tbkNoki"))); this.lblOrderNo = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblOrderNo"))); this.utlOrderNo_F = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlOrderNo_F"))); this.utlOrderNo_T = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlOrderNo_T"))); this.lblInpPerson = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblInpPerson"))); this.utlPerson_F = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlPerson_F"))); this.utlPerson_T = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlPerson_T"))); this.lblEstimateNo = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblEstimateNo"))); this.utlEstimateNo_F = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlEstimateNo_F"))); this.utlEstimateNo_T = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlEstimateNo_T"))); this.lblCustomer = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCustomer"))); this.utlCustomer = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlCustomer"))); this.lblSupply = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblSupply"))); this.utlSupply = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlSupply"))); this.lblCommodity = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCommodity"))); this.utlCommodity = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlCommodity"))); this.lblIssueYmd = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblIssueYmd"))); this.datIssueYmd = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datIssueYmd"))); this.chkKake = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkKake"))); this.chkCash = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkCash"))); this.chkUnDelivary = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkUnDelivary"))); this.chkPartDelivary = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkPartDelivary"))); this.chkFullDelivary = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkFullDelivary"))); this.chkTorikeshi = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkTorikeshi"))); this.rdoInvoiceNo = ((System.Windows.Controls.RadioButton)(this.FindName("rdoInvoiceNo"))); this.rdoInvoiceYes = ((System.Windows.Controls.RadioButton)(this.FindName("rdoInvoiceYes"))); this.rdoInvoiceNothing = ((System.Windows.Controls.RadioButton)(this.FindName("rdoInvoiceNothing"))); this.borPrint = ((System.Windows.Controls.Border)(this.FindName("borPrint"))); this.chkPrintNo = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkPrintNo"))); this.chkPrintYes = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkPrintYes"))); this.GridDetail = ((System.Windows.Controls.Grid)(this.FindName("GridDetail"))); this.dg = ((SlvHanbaiClient.Class.UI.ExDataGrid)(this.FindName("dg"))); this.GridDetailSelect = ((System.Windows.Controls.Grid)(this.FindName("GridDetailSelect"))); this.btnSelectAll = ((System.Windows.Controls.Button)(this.FindName("btnSelectAll"))); this.btnNoSelectAll = ((System.Windows.Controls.Button)(this.FindName("btnNoSelectAll"))); this.dgSelect = ((SlvHanbaiClient.Class.UI.ExDataGrid)(this.FindName("dgSelect"))); this.dataG_HeaderSelect = ((System.Windows.Controls.DataGridCheckBoxColumn)(this.FindName("dataG_HeaderSelect"))); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 11 "..\..\WorkWindow.xaml" ((Abdulkhakim.WorkWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.buttonClose = ((System.Windows.Controls.Button)(target)); #line 27 "..\..\WorkWindow.xaml" this.buttonClose.Click += new System.Windows.RoutedEventHandler(this.buttonClose_Click); #line default #line hidden return; case 3: this.receiptsDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 4: this.iDColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 5: this.sNPColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 6: this.addressColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 7: this.serviceColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 8: this.dataColumn = ((System.Windows.Controls.DataGridTemplateColumn)(target)); return; case 9: this.priceColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 10: this.statusColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.DataGridTareas = ((System.Windows.Controls.DataGrid)(target)); #line 11 "..\..\MainWindow.xaml" this.DataGridTareas.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.DataGridTareas_EditarTarea); #line default #line hidden return; case 2: this.colNombre = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 3: this.colFecha = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 4: this.colFinalizada = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 5: this.botonNuevo = ((System.Windows.Controls.Button)(target)); #line 37 "..\..\MainWindow.xaml" this.botonNuevo.Click += new System.Windows.RoutedEventHandler(this.botonNuevo_Click); #line default #line hidden return; case 6: this.botonModificar = ((System.Windows.Controls.Button)(target)); #line 38 "..\..\MainWindow.xaml" this.botonModificar.Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 7: #line 41 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.botonNuevo_Click); #line default #line hidden return; } this._contentLoaded = true; }
public void SetGrid() { dataGridLayerName.Columns.Clear(); dataGridLayerName.RowHeaderWidth = 0; dataGridLayerName.AutoGenerateColumns = false; dataGridLayerName.HeadersVisibility = DataGridHeadersVisibility.All; dataGridLayerName.CanUserAddRows = false; dataGridLayerName.CanUserDeleteRows = false; dataGridLayerName.SelectionMode = DataGridSelectionMode.Single; // Microsoft.Windows.Controls.DataGridSelectionMode.Single; dataGridLayerName.CanUserSortColumns = false; dataGridLayerName.AutoGenerateColumns = false; // dataGridLayerName.ColumnHeaderStyle = (Style)FindResource("HeaderStyle"); dataGridLayerName.ColumnHeaderHeight = 40; DataGridCheckBoxColumn colSelected = new DataGridCheckBoxColumn(); colSelected.Header = "Display";// KingsGameClientModel.Properties.Resources.strDisplay; // "Display"; colSelected.IsReadOnly = false; colSelected.Binding = new System.Windows.Data.Binding("isSelected"); dataGridLayerName.Columns.Add(colSelected); DataGridTextColumn colMapName = new DataGridTextColumn(); colMapName.Header = "Map Layer";// KingsGameClientModel.Properties.Resources.strMapLayer; //"Map Layer"; colMapName.IsReadOnly = true; colMapName.Binding = new System.Windows.Data.Binding("MapName"); // colMapName.Binding = new System.Windows.Data.Binding("MapDBName"); dataGridLayerName.Columns.Add(colMapName); DataGridTextColumn colminZoom = new DataGridTextColumn(); colminZoom.Header = "Display Zoom From";// KingsGameClientModel.Properties.Resources.strDisplayZoom + "\n " + KingsGameClientModel.Properties.Resources.strFrom; // "Display Zoom From"; colminZoom.MaxWidth = 80; colminZoom.Binding = new System.Windows.Data.Binding("UserMinZoom"); dataGridLayerName.Columns.Add(colminZoom); DataGridTextColumn colmaxZoom = new DataGridTextColumn(); colmaxZoom.Header = "Display Zoom To";// KingsGameClientModel.Properties.Resources.strDisplayZoom + "\n " + KingsGameClientModel.Properties.Resources.strTo; // "Display Zoom To"; colmaxZoom.MaxWidth = 80; colmaxZoom.Binding = new System.Windows.Data.Binding("UserMaxZoom"); dataGridLayerName.Columns.Add(colmaxZoom); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.button1 = ((System.Windows.Controls.Button)(target)); #line 10 "..\..\allEmployee.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Return); #line default #line hidden return; case 2: this.employeeDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 3: this.adressColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 4: this.ageColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 5: this.degreeColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 6: this.firstNameColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 7: this.idColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 8: this.isDoArmyColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 9: this.lastNameColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 10: this.phoneNumberColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 11: this.image = ((System.Windows.Media.ImageBrush)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.hostingUnitDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 2: this.adultsColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 3: this.areaColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 4: this.childrenAttractionsColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 5: this.gardenColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 6: this.hostingUnitKeyColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 7: this.hostingUnitNameColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 8: this.jaccuziColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 9: this.kidsColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 10: this.poolColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 11: this.starsColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 12: this.subAreaColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MemberDataGrid = ((System.Windows.Controls.DataGrid)(target)); #line 15 "..\..\..\forms\AttendanceForm.xaml" this.MemberDataGrid.Loaded += new System.Windows.RoutedEventHandler(this.MemberDataGrid_Loaded); #line default #line hidden return; case 2: this.IDColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 3: this.FirstNameColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 4: this.LastNameColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 5: this.MiddleNameColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 6: this.CheckboxColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 7: #line 27 "..\..\..\forms\AttendanceForm.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1); #line default #line hidden return; case 8: #line 28 "..\..\..\forms\AttendanceForm.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 8 "..\..\Inmobiliaria.xaml" ((ParcialWpfInmobiliaria.Inmobiliaria)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.inmueblesDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 3: this.fechaPublicacionColumn = ((System.Windows.Controls.DataGridTemplateColumn)(target)); return; case 4: this.iDVendedorColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 5: this.direccionColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 6: this.ambientesColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 7: this.precioColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 8: this.reservadoColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 9: #line 35 "..\..\Inmobiliaria.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonClose); #line default #line hidden return; } this._contentLoaded = true; }
public void SetupCheckBoxColumn(DataGrid dg, string header, string binding, bool ReadOnly) { Style s = new Style(); s.Setters.Add(new Setter(TextBlock.TextAlignmentProperty, TextAlignment.Center)); DataGridCheckBoxColumn dgvc = new DataGridCheckBoxColumn(); dgvc.Header = header; dgvc.Binding = new Binding(binding); dgvc.IsReadOnly = ReadOnly; dgvc.Width = new DataGridLength(1, DataGridLengthUnitType.Star); dgvc.CellStyle = s; dg.Columns.Add(dgvc); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 8 "..\..\UploadFilesForSystemUpdate.xaml" ((SKPI_Cantier_Extracted_Data.UploadFilesForSystemUpdate)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.fpRootDirectory = ((Telerik.Windows.Controls.RadFilePathPicker)(target)); #line 58 "..\..\UploadFilesForSystemUpdate.xaml" this.fpRootDirectory.FilePathChanged += new System.EventHandler <Telerik.Windows.Controls.FileDialogs.FilePathChangedEventArgs>(this.FpRootDirectory_FilePathChanged); #line default #line hidden return; case 3: this.gridForUpload = ((System.Windows.Controls.DataGrid)(target)); return; case 4: this.chkbxSelect = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 6: this.cPath = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 7: this.fpDestinationDirectory = ((Telerik.Windows.Controls.RadFilePathPicker)(target)); return; case 8: this.gridDestination = ((System.Windows.Controls.DataGrid)(target)); return; case 9: this.cPath2 = ((System.Windows.Controls.DataGridTextColumn)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.taskListDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 2: this.IsDone = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 3: this.Name = ((System.Windows.Controls.Grid)(target)); return; case 4: this.NameBox = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.Description = ((System.Windows.Controls.Grid)(target)); return; case 6: this.Desc = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.Priority = ((System.Windows.Controls.Grid)(target)); return; case 8: this.Prior = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.addbutton = ((System.Windows.Controls.Button)(target)); #line 65 "..\..\MainWindow.xaml" this.addbutton.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; } this._contentLoaded = true; }
/// <summary>Called when a cell in the column enters editing mode.</summary> /// <param name="editingElement">The element that the column displays for a cell in editing mode.</param> /// <param name="editingEventArgs">Information about the user gesture that is causing a cell to enter editing mode.</param> /// <returns>The unedited value.</returns> // Token: 0x06004787 RID: 18311 RVA: 0x00144D98 File Offset: 0x00142F98 protected override object PrepareCellForEdit(FrameworkElement editingElement, RoutedEventArgs editingEventArgs) { CheckBox checkBox = editingElement as CheckBox; if (checkBox != null) { checkBox.Focus(); bool?isChecked = checkBox.IsChecked; if ((DataGridCheckBoxColumn.IsMouseLeftButtonDown(editingEventArgs) && DataGridCheckBoxColumn.IsMouseOver(checkBox, editingEventArgs)) || DataGridCheckBoxColumn.IsSpaceKeyDown(editingEventArgs)) { checkBox.IsChecked = new bool?(isChecked != true); } return(isChecked); } return(false); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Input/Sales/Utl_InpSearchEstimate.xam" + "l", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.txtDummy = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy"))); this.lblOrderYmd = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblOrderYmd"))); this.datEstimateYmd_F = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datEstimateYmd_F"))); this.datEstimateYmd_T = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datEstimateYmd_T"))); this.lblEstimateNo = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblEstimateNo"))); this.utlEstimateNo_F = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlEstimateNo_F"))); this.utlEstimateNo_T = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlEstimateNo_T"))); this.lblNokiYmd = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblNokiYmd"))); this.datNokiYmd_F = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datNokiYmd_F"))); this.datNokiYmd_T = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datNokiYmd_T"))); this.lblInpPerson = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblInpPerson"))); this.utlPerson_F = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlPerson_F"))); this.utlPerson_T = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlPerson_T"))); this.lblCustomer = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCustomer"))); this.utlCustomer = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlCustomer"))); this.lblSupply = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblSupply"))); this.utlSupply = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlSupply"))); this.lblCommodity = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCommodity"))); this.utlCommodity = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlCommodity"))); this.chkKake = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkKake"))); this.chkCash = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkCash"))); this.borApprovalState = ((System.Windows.Controls.Border)(this.FindName("borApprovalState"))); this.chkStillApproval = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkStillApproval"))); this.chkApproval = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkApproval"))); this.chkResevation = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkResevation"))); this.chkRejetion = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkRejetion"))); this.borPrint = ((System.Windows.Controls.Border)(this.FindName("borPrint"))); this.chkPrintNo = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkPrintNo"))); this.chkPrintYes = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkPrintYes"))); this.GridDetail = ((System.Windows.Controls.Grid)(this.FindName("GridDetail"))); this.dg = ((SlvHanbaiClient.Class.UI.ExDataGrid)(this.FindName("dg"))); this.GridDetailSelect = ((System.Windows.Controls.Grid)(this.FindName("GridDetailSelect"))); this.btnSelectAll = ((System.Windows.Controls.Button)(this.FindName("btnSelectAll"))); this.btnNoSelectAll = ((System.Windows.Controls.Button)(this.FindName("btnNoSelectAll"))); this.dgSelect = ((SlvHanbaiClient.Class.UI.ExDataGrid)(this.FindName("dgSelect"))); this.dataG_HeaderSelect = ((System.Windows.Controls.DataGridCheckBoxColumn)(this.FindName("dataG_HeaderSelect"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/ERP;component/Views/QualidadeCliente.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.satisfacaoClienteSetDomainDataSource = ((System.Windows.Controls.DomainDataSource)(this.FindName("satisfacaoClienteSetDomainDataSource"))); this.satisfacaoClienteSetDataGrid = ((System.Windows.Controls.DataGrid)(this.FindName("satisfacaoClienteSetDataGrid"))); this.comentariosColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("comentariosColumn"))); this.data_avaliacaoColumn = ((System.Windows.Controls.DataGridTemplateColumn)(this.FindName("data_avaliacaoColumn"))); this.idColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("idColumn"))); this.nomeColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nomeColumn"))); this.nota_finalColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nota_finalColumn"))); this.outra_opiniaoColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(this.FindName("outra_opiniaoColumn"))); this.qualidade_atendimentoColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("qualidade_atendimentoColumn"))); this.tempo_esperaColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("tempo_esperaColumn"))); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.auGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 2: this.col0 = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 3: this.col1 = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.attendanceWindow = ((SecuritySystem.AttendanceWindow)(target)); return; case 2: this.attendanceDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 3: this.checkBox = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; } this._contentLoaded = true; }
private void SetGrid() { dtGridActors.Style = null; dtGridActors.Columns.Clear(); dtGridActors.MaxWidth = 400; dtGridActors.HorizontalAlignment = HorizontalAlignment.Left; dtGridActors.AutoGenerateColumns = false; dtGridActors.SelectionUnit = DataGridSelectionUnit.FullRow; dtGridActors.CanUserAddRows = false; dtGridActors.CanUserDeleteRows = false; dtGridActors.ColumnHeaderHeight = 20; dtGridActors.HeadersVisibility = DataGridHeadersVisibility.Column; dtGridActors.RowDetailsVisibilityMode = DataGridRowDetailsVisibilityMode.VisibleWhenSelected; dtGridActors.RowHeaderWidth = 0; DataGridTextColumn col1 = new DataGridTextColumn(); col1.Header = Properties.Resources.strName;// (string)this.Resources["strHeaderName"];// "Name"; col1.MinWidth = 200; col1.CanUserSort = true; col1.IsReadOnly = true; col1.Binding = new System.Windows.Data.Binding("Name"); dtGridActors.Columns.Add(col1); DataGridCheckBoxColumn col2 = new DataGridCheckBoxColumn(); col2.Header = "Deployed"; //col1.MinWidth = 240; col2.CanUserSort = true; col2.IsReadOnly = true; col2.Binding = new System.Windows.Data.Binding("isDeployed"); dtGridActors.Columns.Add(col2); DataGridCheckBoxColumn col3 = new DataGridCheckBoxColumn(); col3.Header = Properties.Resources.strActivites; //col1.MinWidth = 240; col3.CanUserSort = true; col3.IsReadOnly = true; col3.Binding = new System.Windows.Data.Binding("isActivityes"); dtGridActors.Columns.Add(col3); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Input/Inventory/Utl_InpSearchInOutDel" + "ivery.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.txtDummy = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy"))); this.lblOrderYmd = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblOrderYmd"))); this.datInOutDeliveryYmd_F = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datInOutDeliveryYmd_F"))); this.datInOutDeliveryYmd_T = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datInOutDeliveryYmd_T"))); this.lblOrderNo = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblOrderNo"))); this.utlNo_F = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlNo_F"))); this.utlNo_T = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlNo_T"))); this.lblInpPerson = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblInpPerson"))); this.utlPerson_F = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlPerson_F"))); this.utlPerson_T = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlPerson_T"))); this.lblCauseNo = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCauseNo"))); this.utlCauseNo_F = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlCauseNo_F"))); this.utlCauseNo_T = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlCauseNo_T"))); this.utlInOutDeliveryKbn = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlInOutDeliveryKbn"))); this.utlInOutDeliveryToKbn = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlInOutDeliveryToKbn"))); this.lblSupply = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblSupply"))); this.utlCompanyGroup = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlCompanyGroup"))); this.utlCustomer = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlCustomer"))); this.utlPurchase = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlPurchase"))); this.lblCommodity = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCommodity"))); this.utlCommodity = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlCommodity"))); this.borInOutDeliveryProcKbn = ((System.Windows.Controls.Border)(this.FindName("borInOutDeliveryProcKbn"))); this.chkInOutDelivery = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkInOutDelivery"))); this.chkSales = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkSales"))); this.chkPurchase = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkPurchase"))); this.GridDetail = ((System.Windows.Controls.Grid)(this.FindName("GridDetail"))); this.dg = ((SlvHanbaiClient.Class.UI.ExDataGrid)(this.FindName("dg"))); this.GridDetailSelect = ((System.Windows.Controls.Grid)(this.FindName("GridDetailSelect"))); this.btnSelectAll = ((System.Windows.Controls.Button)(this.FindName("btnSelectAll"))); this.btnNoSelectAll = ((System.Windows.Controls.Button)(this.FindName("btnNoSelectAll"))); this.dgSelect = ((SlvHanbaiClient.Class.UI.ExDataGrid)(this.FindName("dgSelect"))); this.dataG_HeaderSelect = ((System.Windows.Controls.DataGridCheckBoxColumn)(this.FindName("dataG_HeaderSelect"))); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 10 "..\..\MainWindow.xaml" ((DragDropDataBinding.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.customerDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 3: this.firstNameColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 4: this.lastNameColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 5: this.phoneColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 6: this.ageColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 7: this.isActiveColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 8: this.statusColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; } this._contentLoaded = true; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/ERP;component/Views/ServicoMedico/QualidadeCliente.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.satisfacaoClienteSetDomainDataSource = ((System.Windows.Controls.DomainDataSource)(this.FindName("satisfacaoClienteSetDomainDataSource"))); this.satisfacaoClienteSetDataGrid = ((System.Windows.Controls.DataGrid)(this.FindName("satisfacaoClienteSetDataGrid"))); this.comentariosColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("comentariosColumn"))); this.data_avaliacaoColumn = ((System.Windows.Controls.DataGridTemplateColumn)(this.FindName("data_avaliacaoColumn"))); this.idColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("idColumn"))); this.nomeColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nomeColumn"))); this.nota_finalColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("nota_finalColumn"))); this.outra_opiniaoColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(this.FindName("outra_opiniaoColumn"))); this.qualidade_atendimentoColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("qualidade_atendimentoColumn"))); this.tempo_esperaColumn = ((System.Windows.Controls.DataGridTextColumn)(this.FindName("tempo_esperaColumn"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Input/Purchase/Utl_InpInvoicePrint.xa" + "ml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.txtDummy = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy"))); this.lblInvoiceCloseYmd = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblInvoiceCloseYmd"))); this.datInvoiceCloseYmd_F = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datInvoiceCloseYmd_F"))); this.tbkInvoiceCloseYmd = ((System.Windows.Controls.TextBlock)(this.FindName("tbkInvoiceCloseYmd"))); this.datInvoiceCloseYmd_T = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datInvoiceCloseYmd_T"))); this.tbkInvoiceCloseYmd2 = ((System.Windows.Controls.TextBlock)(this.FindName("tbkInvoiceCloseYmd2"))); this.lblSalesNo = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblSalesNo"))); this.utlInvoiceNo_F = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlInvoiceNo_F"))); this.utlInvoiceNo_T = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlInvoiceNo_T"))); this.utlInvoice = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlInvoice"))); this.utlSummingUp = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlSummingUp"))); this.lblIssueYmd = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblIssueYmd"))); this.datIssueYmd = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datIssueYmd"))); this.chkSime = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkSime"))); this.chkKake = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkKake"))); this.borReceipt = ((System.Windows.Controls.Border)(this.FindName("borReceipt"))); this.chkReceiptNo = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkReceiptNo"))); this.chkReceiptPlace = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkReceiptPlace"))); this.chkReceiptYes = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkReceiptYes"))); this.chkReceiptOver = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkReceiptOver"))); this.borPrint = ((System.Windows.Controls.Border)(this.FindName("borPrint"))); this.chkPrintNo = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkPrintNo"))); this.chkPrintYes = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkPrintYes"))); this.GridDetail = ((System.Windows.Controls.Grid)(this.FindName("GridDetail"))); this.dgPrint = ((SlvHanbaiClient.Class.UI.ExDataGrid)(this.FindName("dgPrint"))); this.GridDetailSelect = ((System.Windows.Controls.Grid)(this.FindName("GridDetailSelect"))); this.btnSelectAll = ((System.Windows.Controls.Button)(this.FindName("btnSelectAll"))); this.btnNoSelectAll = ((System.Windows.Controls.Button)(this.FindName("btnNoSelectAll"))); this.dgSelect = ((SlvHanbaiClient.Class.UI.ExDataGrid)(this.FindName("dgSelect"))); this.dataG_HeaderSelect = ((System.Windows.Controls.DataGridCheckBoxColumn)(this.FindName("dataG_HeaderSelect"))); }
/// <summary> /// Creates data grid column definition based on specified parameters /// </summary> /// <param name="dataGrid">Datagrid to modify</param> /// <param name="columnDefinitions">Column definitions</param> private void CreateDatagridColumns(DataGrid dataGrid, List<Utilities.ColumnDefinition> columnDefinitions) { dataGrid.Columns.Clear(); if (columnDefinitions != null && columnDefinitions.Count == 0) return; foreach (Utilities.ColumnDefinition definition in columnDefinitions) { DataGridColumn column = null; switch (definition.Column) { case Utilities.ColumnDefinition.ColumnType.TEXT: column = new DataGridTextColumn(); ((DataGridTextColumn)column).Binding = new Binding(definition.PropertyName); break; // TODO: Not used now case Utilities.ColumnDefinition.ColumnType.CHECKBOX: column = new DataGridCheckBoxColumn(); ((DataGridCheckBoxColumn)column).Binding = new Binding(definition.PropertyName); break; // TODO: Not used now case Utilities.ColumnDefinition.ColumnType.COMBOBOX: column = new DataGridComboBoxColumn(); break; } if (column != null) { column.Header = definition.Header; column.IsReadOnly = true; dataGrid.Columns.Add(column); } } // Set First column to fill the rest of datagrid width dataGrid.Columns[0].Width = new DataGridLength(1, DataGridLengthUnitType.Star); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.button = ((System.Windows.Controls.Button)(target)); #line 18 "..\..\..\gui\columnSetting.xaml" this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click); #line default #line hidden return; case 2: this.auGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 3: this.col1 = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 4: this.col2 = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 5: this.col3 = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 6: this.col4 = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 7: this.col5 = ((stomp_extrap_modflow.gui.DataGriddecimalColumn)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 5 "..\..\..\..\Windows\ProjectCost\EditProjectCost_ProjectWindow.xaml" ((ProjectMaster2016.EditProjectCost_ProjectWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.projectDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 3: this.pidColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 4: this.projectnameColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 5: this.employee_eidColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 6: this.pdescriptionColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 7: this.pdateColumn = ((System.Windows.Controls.DataGridTemplateColumn)(target)); return; case 8: this.projectisfinishedColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 9: this.pdeadlineColumn = ((System.Windows.Controls.DataGridTemplateColumn)(target)); return; case 10: this.btnSelectProject = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\..\..\Windows\ProjectCost\EditProjectCost_ProjectWindow.xaml" this.btnSelectProject.Click += new System.Windows.RoutedEventHandler(this.btnSelectProject_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 25 "..\..\..\..\AccountManager\Client\ClientOnlineControl.xaml" ((System.Windows.Controls.ContextMenu)(target)).Opened += new System.Windows.RoutedEventHandler(this.ContextMenu_Opened); #line default #line hidden return; case 2: #line 38 "..\..\..\..\AccountManager\Client\ClientOnlineControl.xaml" ((System.Windows.Controls.ContextMenu)(target)).Opened += new System.Windows.RoutedEventHandler(this.ContextMenu_Opened); #line default #line hidden return; case 3: #line 67 "..\..\..\..\AccountManager\Client\ClientOnlineControl.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_AccountInfo); #line default #line hidden #line 67 "..\..\..\..\AccountManager\Client\ClientOnlineControl.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute_AccountInfo); #line default #line hidden return; case 4: #line 68 "..\..\..\..\AccountManager\Client\ClientOnlineControl.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_FundsInfo); #line default #line hidden #line 68 "..\..\..\..\AccountManager\Client\ClientOnlineControl.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute_FundsInfo); #line default #line hidden return; case 5: #line 69 "..\..\..\..\AccountManager\Client\ClientOnlineControl.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_Delete); #line default #line hidden #line 69 "..\..\..\..\AccountManager\Client\ClientOnlineControl.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute_Delete); #line default #line hidden return; case 6: #line 70 "..\..\..\..\AccountManager\Client\ClientOnlineControl.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_HistoryOrder); #line default #line hidden #line 70 "..\..\..\..\AccountManager\Client\ClientOnlineControl.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute__HistoryOrder); #line default #line hidden return; case 7: this.dataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 8: this.dgEnable = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.stationTxtCbx = ((System.Windows.Controls.ComboBox)(target)); return; case 2: this.stationNumber = ((System.Windows.Controls.Label)(target)); return; case 3: this.SynopticGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 4: this.cbSelectRow = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 6: this.btnAdd_Copy = ((System.Windows.Controls.Button)(target)); #line 93 "..\..\..\View\SynopticsPage.xaml" this.btnAdd_Copy.Click += new System.Windows.RoutedEventHandler(this.btnDeleteAll_Click); #line default #line hidden return; case 7: this.chkSelectAll = ((System.Windows.Controls.CheckBox)(target)); #line 103 "..\..\..\View\SynopticsPage.xaml" this.chkSelectAll.Click += new System.Windows.RoutedEventHandler(this.chkSelectAll_Click); #line default #line hidden return; case 8: this.stationNumber_Copy = ((System.Windows.Controls.Label)(target)); return; case 9: #line 106 "..\..\..\View\SynopticsPage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_generate); #line default #line hidden return; case 10: this.dayTxtCbx = ((System.Windows.Controls.ComboBox)(target)); return; case 11: this.monthTxtCbx = ((System.Windows.Controls.ComboBox)(target)); return; case 12: this.yearTxtBx = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.btnExport = ((System.Windows.Controls.Button)(target)); #line 112 "..\..\..\View\SynopticsPage.xaml" this.btnExport.Click += new System.Windows.RoutedEventHandler(this.Button_Click_export); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 5 "..\..\..\..\Windows\Project\ProjectWindow.xaml" ((ProjectMaster2016.ProjectWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.dpFromDate = ((System.Windows.Controls.DatePicker)(target)); return; case 3: this.dpToDate = ((System.Windows.Controls.DatePicker)(target)); return; case 4: this.btnfillByDate = ((System.Windows.Controls.Button)(target)); #line 53 "..\..\..\..\Windows\Project\ProjectWindow.xaml" this.btnfillByDate.Click += new System.Windows.RoutedEventHandler(this.btnfillByDate_Click); #line default #line hidden return; case 5: this.lbldateRange = ((System.Windows.Controls.Label)(target)); return; case 6: this.btnSelectAll = ((System.Windows.Controls.Button)(target)); #line 56 "..\..\..\..\Windows\Project\ProjectWindow.xaml" this.btnSelectAll.Click += new System.Windows.RoutedEventHandler(this.btnSelectAll_Click); #line default #line hidden return; case 7: this.projectDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 8: this.menu_EditProject = ((System.Windows.Controls.MenuItem)(target)); #line 64 "..\..\..\..\Windows\Project\ProjectWindow.xaml" this.menu_EditProject.Click += new System.Windows.RoutedEventHandler(this.menu_EditProject_Click); #line default #line hidden return; case 9: this.menu_RemoveProject = ((System.Windows.Controls.MenuItem)(target)); #line 65 "..\..\..\..\Windows\Project\ProjectWindow.xaml" this.menu_RemoveProject.Click += new System.Windows.RoutedEventHandler(this.menu_RemoveProject_Click); #line default #line hidden return; case 10: this.sep = ((System.Windows.Controls.Separator)(target)); return; case 11: this.menu_relateEntries = ((System.Windows.Controls.MenuItem)(target)); #line 67 "..\..\..\..\Windows\Project\ProjectWindow.xaml" this.menu_relateEntries.Click += new System.Windows.RoutedEventHandler(this.menu_relateEntries_Click); #line default #line hidden return; case 12: this.menu_ProjectCost = ((System.Windows.Controls.MenuItem)(target)); #line 69 "..\..\..\..\Windows\Project\ProjectWindow.xaml" this.menu_ProjectCost.Click += new System.Windows.RoutedEventHandler(this.menu_ProjectCost_Click); #line default #line hidden return; case 13: this.menu_ProjectMessages = ((System.Windows.Controls.MenuItem)(target)); #line 70 "..\..\..\..\Windows\Project\ProjectWindow.xaml" this.menu_ProjectMessages.Click += new System.Windows.RoutedEventHandler(this.menu_ProjectMessages_Click); #line default #line hidden return; case 14: this.menu_ProjectHours = ((System.Windows.Controls.MenuItem)(target)); #line 71 "..\..\..\..\Windows\Project\ProjectWindow.xaml" this.menu_ProjectHours.Click += new System.Windows.RoutedEventHandler(this.menu_ProjectHours_Click); #line default #line hidden return; case 15: this.pdate = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 16: this.pidColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 17: this.projectnameColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 18: this.employee_eidColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 19: this.employee_nameColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 20: this.pdescriptionColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 21: this.projectisfinishedColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 22: this.btnRemoveProject = ((System.Windows.Controls.Button)(target)); #line 103 "..\..\..\..\Windows\Project\ProjectWindow.xaml" this.btnRemoveProject.Click += new System.Windows.RoutedEventHandler(this.btnRemoveProject_Click); #line default #line hidden return; case 23: this.btnAddProject = ((System.Windows.Controls.Button)(target)); #line 106 "..\..\..\..\Windows\Project\ProjectWindow.xaml" this.btnAddProject.Click += new System.Windows.RoutedEventHandler(this.btnAddProject_Click); #line default #line hidden return; case 24: this.btnEditProject = ((System.Windows.Controls.Button)(target)); #line 109 "..\..\..\..\Windows\Project\ProjectWindow.xaml" this.btnEditProject.Click += new System.Windows.RoutedEventHandler(this.btnEditProject_Click); #line default #line hidden return; case 25: this.lblName = ((System.Windows.Controls.Label)(target)); return; case 26: this.btnLogOut = ((System.Windows.Controls.Button)(target)); #line 113 "..\..\..\..\Windows\Project\ProjectWindow.xaml" this.btnLogOut.Click += new System.Windows.RoutedEventHandler(this.btnLogOut_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 34 "..\..\..\..\AccountManager\Client\ClientAccountControl.xaml" ((System.Windows.Controls.ContextMenu)(target)).Opened += new System.Windows.RoutedEventHandler(this.ContextMenu_Opened); #line default #line hidden return; case 2: #line 61 "..\..\..\..\AccountManager\Client\ClientAccountControl.xaml" ((System.Windows.Controls.ContextMenu)(target)).Opened += new System.Windows.RoutedEventHandler(this.ContextMenu_Opened); #line default #line hidden return; case 3: #line 94 "..\..\..\..\AccountManager\Client\ClientAccountControl.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_AccountInfo); #line default #line hidden #line 94 "..\..\..\..\AccountManager\Client\ClientAccountControl.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute_AccountInfo); #line default #line hidden return; case 4: #line 95 "..\..\..\..\AccountManager\Client\ClientAccountControl.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_FundsInfo); #line default #line hidden #line 95 "..\..\..\..\AccountManager\Client\ClientAccountControl.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute_FundsInfo); #line default #line hidden return; case 5: #line 96 "..\..\..\..\AccountManager\Client\ClientAccountControl.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_Delete); #line default #line hidden #line 96 "..\..\..\..\AccountManager\Client\ClientAccountControl.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute_Delete); #line default #line hidden return; case 6: #line 97 "..\..\..\..\AccountManager\Client\ClientAccountControl.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_AdjustMoney); #line default #line hidden #line 97 "..\..\..\..\AccountManager\Client\ClientAccountControl.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute_AdjustMoney); #line default #line hidden return; case 7: #line 98 "..\..\..\..\AccountManager\Client\ClientAccountControl.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_CashIO); #line default #line hidden #line 98 "..\..\..\..\AccountManager\Client\ClientAccountControl.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute_CashIO); #line default #line hidden return; case 8: #line 99 "..\..\..\..\AccountManager\Client\ClientAccountControl.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_MarketOrder); #line default #line hidden #line 99 "..\..\..\..\AccountManager\Client\ClientAccountControl.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute_MarketOrder); #line default #line hidden return; case 9: #line 100 "..\..\..\..\AccountManager\Client\ClientAccountControl.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_PendingOrder); #line default #line hidden #line 100 "..\..\..\..\AccountManager\Client\ClientAccountControl.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute_PendingOrder); #line default #line hidden return; case 10: #line 101 "..\..\..\..\AccountManager\Client\ClientAccountControl.xaml" ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_Executed_HistoryOrder); #line default #line hidden #line 101 "..\..\..\..\AccountManager\Client\ClientAccountControl.xaml" ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanExecute__HistoryOrder); #line default #line hidden return; case 11: this.ACB_Search = ((Gss.ManagementMenu.CustomControl.AutoComboBox)(target)); return; case 12: #line 159 "..\..\..\..\AccountManager\Client\ClientAccountControl.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 13: #line 161 "..\..\..\..\AccountManager\Client\ClientAccountControl.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Excel_Click); #line default #line hidden return; case 14: this.dataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 15: this.dgEnable = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 8 "..\..\TicketsWindow.xaml" ((WPFTicketApp.TicketsWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.ticketsDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 3: this.iDColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 4: this.tripDateTimeColumn = ((System.Windows.Controls.DataGridTemplateColumn)(target)); return; case 5: this.priceColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 6: this.seatNumberColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 7: this.trainIDColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 8: this.availableColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 9: this.userIDColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 10: this.textBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 11: this.textBlock1 = ((System.Windows.Controls.TextBlock)(target)); return; case 12: this.userIdbox = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.ticketId = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.buyButton = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\TicketsWindow.xaml" this.buyButton.Click += new System.Windows.RoutedEventHandler(this.buyButton_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.stationNumber = ((System.Windows.Controls.Label)(target)); return; case 2: this.MetarGrid = ((System.Windows.Controls.DataGrid)(target)); #line 18 "..\..\..\View\MetarPage.xaml" this.MetarGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dataGridEvaluation_SelectionChanged); #line default #line hidden return; case 3: this.cbSelectRow = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 5: this.codeTxtBx = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.DatetimeTxtBx = ((System.Windows.Controls.TextBox)(target)); return; case 7: this.WindDirectionTxtBx = ((System.Windows.Controls.TextBox)(target)); return; case 8: this.VisibilityTxtBx = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.CloudTxtBx = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.AirTempTxtBx = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.HumidityTxtBx = ((System.Windows.Controls.TextBox)(target)); #line 86 "..\..\..\View\MetarPage.xaml" this.HumidityTxtBx.LostFocus += new System.Windows.RoutedEventHandler(this.HumidityTxtBx_LostFocus); #line default #line hidden return; case 12: this.DewTxtBx = ((System.Windows.Controls.TextBox)(target)); return; case 13: this.WetTxtBx = ((System.Windows.Controls.TextBox)(target)); return; case 14: this.TtTxtBx = ((System.Windows.Controls.TextBox)(target)); return; case 15: this.TdTxtBx = ((System.Windows.Controls.TextBox)(target)); return; case 16: this.StationHpaTxtBx = ((System.Windows.Controls.TextBox)(target)); #line 92 "..\..\..\View\MetarPage.xaml" this.StationHpaTxtBx.LostFocus += new System.Windows.RoutedEventHandler(this.StationHpaTxtBx_LostFocus); #line default #line hidden return; case 17: this.StationHpaInTxtBx = ((System.Windows.Controls.TextBox)(target)); return; case 18: this.SeaHpaTxtBx = ((System.Windows.Controls.TextBox)(target)); #line 94 "..\..\..\View\MetarPage.xaml" this.SeaHpaTxtBx.LostFocus += new System.Windows.RoutedEventHandler(this.SeaHpaTxtBx_LostFocus); #line default #line hidden return; case 19: this.SeaHpaInTxtBx = ((System.Windows.Controls.TextBox)(target)); return; case 20: this.RecentTxtBx = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.weatherTxtBx = ((System.Windows.Controls.ComboBox)(target)); return; case 22: #line 103 "..\..\..\View\MetarPage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 23: this.typeTxtBx = ((System.Windows.Controls.ComboBox)(target)); return; case 24: this.tbProgress = ((System.Windows.Controls.Label)(target)); return; case 25: this.btnAdd_Copy = ((System.Windows.Controls.Button)(target)); #line 113 "..\..\..\View\MetarPage.xaml" this.btnAdd_Copy.Click += new System.Windows.RoutedEventHandler(this.btnDeleteAll_Click); #line default #line hidden return; case 26: this.chkSelectAll = ((System.Windows.Controls.CheckBox)(target)); #line 123 "..\..\..\View\MetarPage.xaml" this.chkSelectAll.Click += new System.Windows.RoutedEventHandler(this.chkSelectAll_Click); #line default #line hidden return; case 27: this.stationNumber_Copy = ((System.Windows.Controls.Label)(target)); return; case 28: #line 126 "..\..\..\View\MetarPage.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_generate); #line default #line hidden return; case 29: this.dayTxtCbx = ((System.Windows.Controls.ComboBox)(target)); return; case 30: this.monthTxtCbx = ((System.Windows.Controls.ComboBox)(target)); return; case 31: this.yearTxtBx = ((System.Windows.Controls.TextBox)(target)); return; case 32: this.internet = ((System.Windows.Controls.Label)(target)); return; case 33: this.stationTxtCbx = ((System.Windows.Controls.TextBox)(target)); return; case 34: this.btnExport = ((System.Windows.Controls.Button)(target)); #line 134 "..\..\..\View\MetarPage.xaml" this.btnExport.Click += new System.Windows.RoutedEventHandler(this.Button_Click_export); #line default #line hidden return; } this._contentLoaded = true; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Input/Inventory/Utl_InpInventory.xaml" + "", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.txtDummy = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy"))); this.lblNokiYmd = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblNokiYmd"))); this.datYm = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datYm"))); this.utlInvoice_F = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlInvoice_F"))); this.utlInvoice_T = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlInvoice_T"))); this.chkSalesCredit0_Yes = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkSalesCredit0_Yes"))); this.chkSalesCredit0_No = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkSalesCredit0_No"))); this.chkBussinesNo = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkBussinesNo"))); this.chkBussinesYes = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkBussinesYes"))); this.GridDetail = ((System.Windows.Controls.Grid)(this.FindName("GridDetail"))); this.dgPrint = ((SlvHanbaiClient.Class.UI.ExDataGrid)(this.FindName("dgPrint"))); this.GridDetailUpdate = ((System.Windows.Controls.Grid)(this.FindName("GridDetailUpdate"))); this.btnSelectAll = ((System.Windows.Controls.Button)(this.FindName("btnSelectAll"))); this.btnNoSelectAll = ((System.Windows.Controls.Button)(this.FindName("btnNoSelectAll"))); this.dgUpdate = ((SlvHanbaiClient.Class.UI.ExDataGrid)(this.FindName("dgUpdate"))); this.dataG_HeaderSelect = ((System.Windows.Controls.DataGridCheckBoxColumn)(this.FindName("dataG_HeaderSelect"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Input/Sales/Utl_InpInvoicePrint.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.txtDummy = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy"))); this.lblInvoiceCloseYmd = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblInvoiceCloseYmd"))); this.datInvoiceCloseYmd_F = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datInvoiceCloseYmd_F"))); this.tbkInvoiceCloseYmd = ((System.Windows.Controls.TextBlock)(this.FindName("tbkInvoiceCloseYmd"))); this.datInvoiceCloseYmd_T = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datInvoiceCloseYmd_T"))); this.tbkInvoiceCloseYmd2 = ((System.Windows.Controls.TextBlock)(this.FindName("tbkInvoiceCloseYmd2"))); this.lblSalesNo = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblSalesNo"))); this.utlInvoiceNo_F = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlInvoiceNo_F"))); this.utlInvoiceNo_T = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlInvoiceNo_T"))); this.utlInvoice = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlInvoice"))); this.utlSummingUp = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlSummingUp"))); this.lblIssueYmd = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblIssueYmd"))); this.datIssueYmd = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datIssueYmd"))); this.chkSime = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkSime"))); this.chkKake = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkKake"))); this.borReceipt = ((System.Windows.Controls.Border)(this.FindName("borReceipt"))); this.chkReceiptNo = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkReceiptNo"))); this.chkReceiptPlace = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkReceiptPlace"))); this.chkReceiptYes = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkReceiptYes"))); this.chkReceiptOver = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkReceiptOver"))); this.borPrint = ((System.Windows.Controls.Border)(this.FindName("borPrint"))); this.chkPrintNo = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkPrintNo"))); this.chkPrintYes = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkPrintYes"))); this.GridDetail = ((System.Windows.Controls.Grid)(this.FindName("GridDetail"))); this.dgPrint = ((SlvHanbaiClient.Class.UI.ExDataGrid)(this.FindName("dgPrint"))); this.GridDetailSelect = ((System.Windows.Controls.Grid)(this.FindName("GridDetailSelect"))); this.btnSelectAll = ((System.Windows.Controls.Button)(this.FindName("btnSelectAll"))); this.btnNoSelectAll = ((System.Windows.Controls.Button)(this.FindName("btnNoSelectAll"))); this.dgSelect = ((SlvHanbaiClient.Class.UI.ExDataGrid)(this.FindName("dgSelect"))); this.dataG_HeaderSelect = ((System.Windows.Controls.DataGridCheckBoxColumn)(this.FindName("dataG_HeaderSelect"))); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 9 "..\..\MainWindow.xaml" ((Ijasz2.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_OnLoaded); #line default #line hidden return; case 2: this.label = ((System.Windows.Controls.Label)(target)); return; case 3: this.MainControl = ((System.Windows.Controls.TabControl)(target)); return; case 4: this.VersenysorozatGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 6: this.VeAzonositoColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 7: this.VeMegnevezesColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 8: this.VeVersenyekSzamaColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 9: this.BtnVersenysorozatTorles = ((System.Windows.Controls.Button)(target)); #line 49 "..\..\MainWindow.xaml" this.BtnVersenysorozatTorles.Click += new System.Windows.RoutedEventHandler(this.BtnVersenysorozatTorles_OnClick); #line default #line hidden return; case 10: this.BtnVersenysorozatHozzaadas = ((System.Windows.Controls.Button)(target)); #line 50 "..\..\MainWindow.xaml" this.BtnVersenysorozatHozzaadas.Click += new System.Windows.RoutedEventHandler(this.BtnVersenysorozatHozzaadas_OnClick); #line default #line hidden return; case 11: this.VersenyGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 13: this.AzonositoColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 14: this.MegnevezesColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 15: this.DatumColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 16: this.VersenysorozatColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 17: this.LoveselColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 18: this.AllomasokColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 19: this.IndulokColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 20: this.LezarvaColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 21: this.DuplaBirolapColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 22: this.btnVersenyTorles = ((System.Windows.Controls.Button)(target)); #line 91 "..\..\MainWindow.xaml" this.btnVersenyTorles.Click += new System.Windows.RoutedEventHandler(this.BtnVersenyTorles_OnClick); #line default #line hidden return; case 23: this.btnVersenyHozzaadas = ((System.Windows.Controls.Button)(target)); #line 92 "..\..\MainWindow.xaml" this.btnVersenyHozzaadas.Click += new System.Windows.RoutedEventHandler(this.btnVersenyHozzaadas_Click); #line default #line hidden return; case 24: this.Korosztalyok = ((System.Windows.Controls.TabItem)(target)); return; case 25: this.KorosztalyGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 27: this.lblVerseny = ((System.Windows.Controls.Label)(target)); return; case 28: this.cboVerseny = ((System.Windows.Controls.ComboBox)(target)); #line 140 "..\..\MainWindow.xaml" this.cboVerseny.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboVerseny_SelectionChanged); #line default #line hidden return; case 29: this.btnKorosztalySzamolas = ((System.Windows.Controls.Button)(target)); #line 141 "..\..\MainWindow.xaml" this.btnKorosztalySzamolas.Click += new System.Windows.RoutedEventHandler(this.btnKorosztalySzamolas_Click); #line default #line hidden return; case 30: this.btnKorosztalyIndulok = ((System.Windows.Controls.Button)(target)); #line 142 "..\..\MainWindow.xaml" this.btnKorosztalyIndulok.Click += new System.Windows.RoutedEventHandler(this.btnKorosztalyIndulok_Click); #line default #line hidden return; case 31: this.btnKorosztalyTorles = ((System.Windows.Controls.Button)(target)); #line 143 "..\..\MainWindow.xaml" this.btnKorosztalyTorles.Click += new System.Windows.RoutedEventHandler(this.btnKorosztalyTorles_Click); #line default #line hidden return; case 32: this.btnKorosztalyHozzaadas = ((System.Windows.Controls.Button)(target)); #line 144 "..\..\MainWindow.xaml" this.btnKorosztalyHozzaadas.Click += new System.Windows.RoutedEventHandler(this.btnKorosztalyHozzaadas_Click); #line default #line hidden return; case 33: this.IjtipusGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 35: this.btnIjtipusTorles = ((System.Windows.Controls.Button)(target)); #line 180 "..\..\MainWindow.xaml" this.btnIjtipusTorles.Click += new System.Windows.RoutedEventHandler(this.BtnIjtipusTorles_OnClick); #line default #line hidden return; case 36: this.btnIjtipusHozzaadas = ((System.Windows.Controls.Button)(target)); #line 181 "..\..\MainWindow.xaml" this.btnIjtipusHozzaadas.Click += new System.Windows.RoutedEventHandler(this.btnIjtipusHozzaadas_Click); #line default #line hidden return; case 37: this.EgyesuletGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 39: this.btnEgyesuletTorles = ((System.Windows.Controls.Button)(target)); #line 222 "..\..\MainWindow.xaml" this.btnEgyesuletTorles.Click += new System.Windows.RoutedEventHandler(this.btnEgyesuletTorles_Click); #line default #line hidden return; case 40: this.btnEgyesuletHozzaadas = ((System.Windows.Controls.Button)(target)); #line 223 "..\..\MainWindow.xaml" this.btnEgyesuletHozzaadas.Click += new System.Windows.RoutedEventHandler(this.btnEgyesuletHozzaadas_Click); #line default #line hidden return; case 41: this.InduloGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 43: this.btnInduloTorles = ((System.Windows.Controls.Button)(target)); #line 268 "..\..\MainWindow.xaml" this.btnInduloTorles.Click += new System.Windows.RoutedEventHandler(this.btnInduloTorles_Click); #line default #line hidden return; case 44: this.btnInduloHozzaadas = ((System.Windows.Controls.Button)(target)); #line 269 "..\..\MainWindow.xaml" this.btnInduloHozzaadas.Click += new System.Windows.RoutedEventHandler(this.btnInduloHozzaadas_Click); #line default #line hidden return; case 45: this.btnInduloBeiras = ((System.Windows.Controls.Button)(target)); #line 270 "..\..\MainWindow.xaml" this.btnInduloBeiras.Click += new System.Windows.RoutedEventHandler(this.btnInduloBeiras_Click); #line default #line hidden return; case 46: this.EredmenyGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 48: this.lblEredmenyVerseny = ((System.Windows.Controls.Label)(target)); return; case 49: this.cboEredmenyVerseny = ((System.Windows.Controls.ComboBox)(target)); #line 326 "..\..\MainWindow.xaml" this.cboEredmenyVerseny.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cboEredmenyVerseny_SelectionChanged); #line default #line hidden return; case 50: this.lblEredmenySorszam = ((System.Windows.Controls.Label)(target)); return; case 51: this.txtEredmenySorszam = ((System.Windows.Controls.TextBox)(target)); return; case 52: this.btnEredmenyMegnyitas = ((System.Windows.Controls.Button)(target)); #line 332 "..\..\MainWindow.xaml" this.btnEredmenyMegnyitas.Click += new System.Windows.RoutedEventHandler(this.btnEredmenyMegnyitas_Click); #line default #line hidden return; case 53: this.btnEredmenyLezaras = ((System.Windows.Controls.Button)(target)); #line 333 "..\..\MainWindow.xaml" this.btnEredmenyLezaras.Click += new System.Windows.RoutedEventHandler(this.btnEredmenyLezaras_Click); #line default #line hidden return; case 54: this.btnEredmenyTorles = ((System.Windows.Controls.Button)(target)); #line 334 "..\..\MainWindow.xaml" this.btnEredmenyTorles.Click += new System.Windows.RoutedEventHandler(this.btnEredmenyTorles_Click); #line default #line hidden return; case 55: this.St = ((System.Windows.Controls.Grid)(target)); return; case 56: this.startListaVersenyAzonosito = ((System.Windows.Controls.Label)(target)); return; case 57: this.startListaVersenyMegnevezes = ((System.Windows.Controls.Label)(target)); return; case 58: this.startListaTípus = ((System.Windows.Controls.Label)(target)); return; case 59: this.cbstartListaVersenyAzonosito = ((System.Windows.Controls.ComboBox)(target)); #line 357 "..\..\MainWindow.xaml" this.cbstartListaVersenyAzonosito.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CbstartListaVersenyAzonosito_OnSelectionChanged); #line default #line hidden return; case 60: this.txtstartListaVersenyMegnevezes = ((System.Windows.Controls.TextBox)(target)); return; case 61: this.chstartListaNevezesi = ((System.Windows.Controls.CheckBox)(target)); return; case 62: this.chstartListaCsapatlista = ((System.Windows.Controls.CheckBox)(target)); return; case 63: this.chstartListaNemMegjelent = ((System.Windows.Controls.CheckBox)(target)); return; case 64: this.btnstartListaNyomtat = ((System.Windows.Controls.Button)(target)); #line 362 "..\..\MainWindow.xaml" this.btnstartListaNyomtat.Click += new System.Windows.RoutedEventHandler(this.btnstartListaNyomtat_Click); #line default #line hidden return; case 65: this.eredmenylapTipus = ((System.Windows.Controls.Label)(target)); return; case 66: this.eredmenylapVersenysorozatAzonosito = ((System.Windows.Controls.Label)(target)); return; case 67: this.eredmenylapVersenysorozatMegnevezes = ((System.Windows.Controls.Label)(target)); return; case 68: this.eredmenylapVersenyAzonosito = ((System.Windows.Controls.Label)(target)); return; case 69: this.eredmenylapVersenyMegnevezes = ((System.Windows.Controls.Label)(target)); return; case 70: this.eredmenylapTípus = ((System.Windows.Controls.Label)(target)); return; case 71: this.cheredmenylapVerseny = ((System.Windows.Controls.CheckBox)(target)); return; case 72: this.cheredmenylapVersenysorozat = ((System.Windows.Controls.CheckBox)(target)); return; case 73: this.cberedmenylapVersenyAzonosito = ((System.Windows.Controls.ComboBox)(target)); #line 396 "..\..\MainWindow.xaml" this.cberedmenylapVersenyAzonosito.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CberedmenylapVersenyAzonosito_OnSelectionChanged); #line default #line hidden return; case 74: this.txteredmenylapVersenyMegnevezes = ((System.Windows.Controls.TextBox)(target)); return; case 75: this.cberedmenylapVersenysorozatAzonosito = ((System.Windows.Controls.ComboBox)(target)); #line 398 "..\..\MainWindow.xaml" this.cberedmenylapVersenysorozatAzonosito.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CberedmenylapVersenysorozatAzonosito_OnSelectionChanged); #line default #line hidden return; case 76: this.txteredmenylapVersenysorozatMegnevezes = ((System.Windows.Controls.TextBox)(target)); return; case 77: this.cheredmenylapTeljes = ((System.Windows.Controls.CheckBox)(target)); return; case 78: this.cheredmenylapMisz = ((System.Windows.Controls.CheckBox)(target)); return; case 79: this.cheredmenylapEgyesulet = ((System.Windows.Controls.CheckBox)(target)); return; case 80: this.cheredmenylapReszletes = ((System.Windows.Controls.CheckBox)(target)); return; case 81: this.btneredmenylapNyomtat = ((System.Windows.Controls.Button)(target)); #line 404 "..\..\MainWindow.xaml" this.btneredmenylapNyomtat.Click += new System.Windows.RoutedEventHandler(this.btneredmenylapNyomtat_Click); #line default #line hidden return; case 82: this.SablonGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 84: this.lblOklevelTipus = ((System.Windows.Controls.Label)(target)); return; case 85: this.lblOklevelLegjobb = ((System.Windows.Controls.Label)(target)); return; case 86: this.lblOklevelVeAzonosito = ((System.Windows.Controls.Label)(target)); return; case 87: this.lblOklevelVeMegnevezes = ((System.Windows.Controls.Label)(target)); return; case 88: this.lblOklevelVsAzonosito = ((System.Windows.Controls.Label)(target)); return; case 89: this.lblOklevelVsMegnevezes = ((System.Windows.Controls.Label)(target)); return; case 90: this.chOklevelTipusVe = ((System.Windows.Controls.CheckBox)(target)); return; case 91: this.chOklevelTipusVs = ((System.Windows.Controls.CheckBox)(target)); return; case 92: this.cboOklevelLegjobb = ((System.Windows.Controls.ComboBox)(target)); return; case 93: this.cboOklevelVeAzonosito = ((System.Windows.Controls.ComboBox)(target)); #line 463 "..\..\MainWindow.xaml" this.cboOklevelVeAzonosito.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboOklevelVeAzonosito_OnSelectionChanged); #line default #line hidden return; case 94: this.txtOklevelVeMegnevezes = ((System.Windows.Controls.TextBox)(target)); return; case 95: this.cboOklevelVsAzonosito = ((System.Windows.Controls.ComboBox)(target)); #line 465 "..\..\MainWindow.xaml" this.cboOklevelVsAzonosito.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CboOklevelVsAzonosito_OnSelectionChanged); #line default #line hidden return; case 96: this.txtOklevelVsMegnevezes = ((System.Windows.Controls.TextBox)(target)); return; case 97: this.btnOklevelNyomtatas = ((System.Windows.Controls.Button)(target)); #line 467 "..\..\MainWindow.xaml" this.btnOklevelNyomtatas.Click += new System.Windows.RoutedEventHandler(this.btnOklevelNyomtatas_Click); #line default #line hidden return; case 98: this.btnSablonTorles = ((System.Windows.Controls.Button)(target)); #line 468 "..\..\MainWindow.xaml" this.btnSablonTorles.Click += new System.Windows.RoutedEventHandler(this.btnSablonTorles_Click); #line default #line hidden return; case 99: this.btnOSablonHozzaadas = ((System.Windows.Controls.Button)(target)); #line 469 "..\..\MainWindow.xaml" this.btnOSablonHozzaadas.Click += new System.Windows.RoutedEventHandler(this.btnOSablonHozzaadas_Click); #line default #line hidden return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 5 "..\..\..\Windows\UserWindow.xaml" ((ProjectMaster2016.UserWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.lblName = ((System.Windows.Controls.Label)(target)); return; case 3: this.btnLogOut = ((System.Windows.Controls.Button)(target)); #line 50 "..\..\..\Windows\UserWindow.xaml" this.btnLogOut.Click += new System.Windows.RoutedEventHandler(this.btnLogOut_Click); #line default #line hidden return; case 4: this.spLeft = ((System.Windows.Controls.StackPanel)(target)); return; case 5: this.Menu = ((System.Windows.Controls.Menu)(target)); return; case 6: #line 64 "..\..\..\Windows\UserWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.addProject_Click); #line default #line hidden return; case 7: this.admin = ((System.Windows.Controls.MenuItem)(target)); #line 70 "..\..\..\Windows\UserWindow.xaml" this.admin.Click += new System.Windows.RoutedEventHandler(this.addEmployee_click); #line default #line hidden return; case 8: this.editEmployee = ((System.Windows.Controls.MenuItem)(target)); #line 71 "..\..\..\Windows\UserWindow.xaml" this.editEmployee.Click += new System.Windows.RoutedEventHandler(this.editEmployee_Click); #line default #line hidden return; case 9: this.menu_Employee_List = ((System.Windows.Controls.MenuItem)(target)); #line 72 "..\..\..\Windows\UserWindow.xaml" this.menu_Employee_List.Click += new System.Windows.RoutedEventHandler(this.menu_Employee_List_Click); #line default #line hidden return; case 10: this.admin1 = ((System.Windows.Controls.Menu)(target)); return; case 11: this.admin2 = ((System.Windows.Controls.MenuItem)(target)); return; case 12: this.menu_projectsOverview = ((System.Windows.Controls.MenuItem)(target)); #line 78 "..\..\..\Windows\UserWindow.xaml" this.menu_projectsOverview.Click += new System.Windows.RoutedEventHandler(this.menu_projectsList_Click); #line default #line hidden return; case 13: this.menu_projectMessages = ((System.Windows.Controls.MenuItem)(target)); #line 80 "..\..\..\Windows\UserWindow.xaml" this.menu_projectMessages.Click += new System.Windows.RoutedEventHandler(this.menu_projectMessages_Click); #line default #line hidden return; case 14: this.menu_projectCosts = ((System.Windows.Controls.MenuItem)(target)); #line 81 "..\..\..\Windows\UserWindow.xaml" this.menu_projectCosts.Click += new System.Windows.RoutedEventHandler(this.menu_projectCosts_Click); #line default #line hidden return; case 15: this.menu_projectHours = ((System.Windows.Controls.MenuItem)(target)); #line 82 "..\..\..\Windows\UserWindow.xaml" this.menu_projectHours.Click += new System.Windows.RoutedEventHandler(this.menu_projectHours_Click); #line default #line hidden return; case 16: this.lblMPUnfinished = ((System.Windows.Controls.Label)(target)); return; case 17: this.lblMPFinished = ((System.Windows.Controls.Label)(target)); return; case 18: this.lblMPTotal = ((System.Windows.Controls.Label)(target)); return; case 19: this.lblRPUnfinished = ((System.Windows.Controls.Label)(target)); return; case 20: this.lblRPFinished = ((System.Windows.Controls.Label)(target)); return; case 21: this.lblRPTotal = ((System.Windows.Controls.Label)(target)); return; case 22: this.grid2 = ((System.Windows.Controls.Grid)(target)); return; case 23: this.grid1 = ((System.Windows.Controls.Grid)(target)); return; case 24: this.projectDataGrid = ((System.Windows.Controls.DataGrid)(target)); #line 113 "..\..\..\Windows\UserWindow.xaml" this.projectDataGrid.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.projectDataGrid_MouseDoubleClick); #line default #line hidden return; case 25: this.createdColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 26: this.pidColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 27: this.projectnameColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 28: this.employee_eidColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 29: this.pdescriptionColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 30: this.projectisfinishedColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 31: this.pdeadlineColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 32: this.pdateColumn = ((System.Windows.Controls.DataGridTemplateColumn)(target)); return; case 33: this.btnMyProjects = ((System.Windows.Controls.Button)(target)); #line 148 "..\..\..\Windows\UserWindow.xaml" this.btnMyProjects.Click += new System.Windows.RoutedEventHandler(this.btnMyProjects_Click); #line default #line hidden #line 148 "..\..\..\Windows\UserWindow.xaml" this.btnMyProjects.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnMyProjects_MouseEnter); #line default #line hidden #line 148 "..\..\..\Windows\UserWindow.xaml" this.btnMyProjects.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnMyProjects_MouseLeave); #line default #line hidden return; case 34: this.btnMPAll = ((System.Windows.Controls.Button)(target)); #line 149 "..\..\..\Windows\UserWindow.xaml" this.btnMPAll.Click += new System.Windows.RoutedEventHandler(this.btnMPAll_Click); #line default #line hidden return; case 35: this.btnMPUnfinished = ((System.Windows.Controls.Button)(target)); #line 150 "..\..\..\Windows\UserWindow.xaml" this.btnMPUnfinished.Click += new System.Windows.RoutedEventHandler(this.btnMPUnfinished_Click); #line default #line hidden return; case 36: this.btnMPFininshed = ((System.Windows.Controls.Button)(target)); #line 151 "..\..\..\Windows\UserWindow.xaml" this.btnMPFininshed.Click += new System.Windows.RoutedEventHandler(this.btnMPFininshed_Click_1); #line default #line hidden return; case 37: this.btnRelateProjects = ((System.Windows.Controls.Button)(target)); #line 152 "..\..\..\Windows\UserWindow.xaml" this.btnRelateProjects.Click += new System.Windows.RoutedEventHandler(this.btnRelateProjects_Click); #line default #line hidden #line 152 "..\..\..\Windows\UserWindow.xaml" this.btnRelateProjects.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnRelateProjects_MouseEnter); #line default #line hidden #line 152 "..\..\..\Windows\UserWindow.xaml" this.btnRelateProjects.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnRelateProjects_MouseLeave); #line default #line hidden return; case 38: this.btnRPAll = ((System.Windows.Controls.Button)(target)); #line 153 "..\..\..\Windows\UserWindow.xaml" this.btnRPAll.Click += new System.Windows.RoutedEventHandler(this.btnRPAll_Click); #line default #line hidden return; case 39: this.btnRPUnfinished = ((System.Windows.Controls.Button)(target)); #line 154 "..\..\..\Windows\UserWindow.xaml" this.btnRPUnfinished.Click += new System.Windows.RoutedEventHandler(this.btnRPUnfinished_Click); #line default #line hidden return; case 40: this.btnRPFininshed = ((System.Windows.Controls.Button)(target)); #line 155 "..\..\..\Windows\UserWindow.xaml" this.btnRPFininshed.Click += new System.Windows.RoutedEventHandler(this.btnRPFininshed_Click); #line default #line hidden return; } this._contentLoaded = true; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Input/Sales/Utl_InpInvoiceClose.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.txtDummy = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy"))); this.lblTitle = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblTitle"))); this.lblCustomer = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCustomer"))); this.utlInvoice = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlInvoice"))); this.lblSummingUp = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblSummingUp"))); this.utlSummingUp = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlSummingUp"))); this.utlMode = ((SlvHanbaiClient.View.UserControl.Custom.Utl_Mode)(this.FindName("utlMode"))); this.lblInvoiceYm = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblInvoiceYm"))); this.datInvoiceYmd = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datInvoiceYmd"))); this.lblCollectPlanDay = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCollectPlanDay"))); this.datCollectPlanDay = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datCollectPlanDay"))); this.btnSelectAll = ((System.Windows.Controls.Button)(this.FindName("btnSelectAll"))); this.btnNoSelectAll = ((System.Windows.Controls.Button)(this.FindName("btnNoSelectAll"))); this.dg = ((SlvHanbaiClient.Class.UI.ExDataGrid)(this.FindName("dg"))); this.dataG_HeaderSelect = ((System.Windows.Controls.DataGridCheckBoxColumn)(this.FindName("dataG_HeaderSelect"))); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 5 "..\..\MainWindow.xaml" ((PackageTracker.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.trackerDataDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 3: this.deleteme = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 4: this.customNameColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 5: this.trackingNumberColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 6: this.locationColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 7: this.packageStatusColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 8: this.carrierCodeColumn = ((System.Windows.Controls.DataGridTemplateColumn)(target)); return; case 9: this.Update_Button = ((System.Windows.Controls.Button)(target)); #line 66 "..\..\MainWindow.xaml" this.Update_Button.Click += new System.Windows.RoutedEventHandler(this.Update_Click); #line default #line hidden return; case 10: this.Progress = ((System.Windows.Controls.ProgressBar)(target)); return; case 11: this.displayUpdateToggle = ((System.Windows.Controls.TextBlock)(target)); return; case 12: this.delayLength = ((System.Windows.Controls.TextBlock)(target)); return; case 13: this.File_Menu = ((System.Windows.Controls.MenuItem)(target)); return; case 14: #line 81 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Update_Click); #line default #line hidden return; case 15: #line 82 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Quit_Click); #line default #line hidden return; case 16: this.Options_Menu = ((System.Windows.Controls.MenuItem)(target)); return; case 17: #line 86 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenFedExCredentialsMenu_Click); #line default #line hidden return; case 18: #line 87 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenUPSCredentialsMenu_Click); #line default #line hidden return; case 19: #line 88 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenUSPSCredentialsMenu_Click); #line default #line hidden return; case 20: this.HourlyUpdatesBox = ((System.Windows.Controls.MenuItem)(target)); #line 92 "..\..\MainWindow.xaml" this.HourlyUpdatesBox.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_Checked); #line default #line hidden return; case 21: #line 93 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Delay_Click); #line default #line hidden return; case 22: this.Info_Menu = ((System.Windows.Controls.MenuItem)(target)); return; case 23: this.About_Menu = ((System.Windows.Controls.MenuItem)(target)); #line 96 "..\..\MainWindow.xaml" this.About_Menu.Click += new System.Windows.RoutedEventHandler(this.OpenAboutPopup_Click); #line default #line hidden return; case 24: this.FedExCredentialEntry_PopUp = ((System.Windows.Controls.Primitives.Popup)(target)); return; case 25: #line 110 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseFedExCredentialsMenu_Click); #line default #line hidden return; case 26: this.FedExUserKEY = ((System.Windows.Controls.TextBox)(target)); return; case 27: this.FedExUserPASSWORD = ((System.Windows.Controls.TextBox)(target)); return; case 28: this.FedExUserACCOUNTNUMBER = ((System.Windows.Controls.TextBox)(target)); return; case 29: this.FedExUserMETERNUMBER = ((System.Windows.Controls.TextBox)(target)); return; case 30: #line 125 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.UpdateFedExAccount_Click); #line default #line hidden return; case 31: this.UpdateFedExToDefaults_CheckBox = ((System.Windows.Controls.CheckBox)(target)); return; case 32: this.UPSCredentialEntry_PopUp = ((System.Windows.Controls.Primitives.Popup)(target)); return; case 33: #line 141 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseUPSCredentialsMenu_Click); #line default #line hidden return; case 34: this.UPSUserNAME = ((System.Windows.Controls.TextBox)(target)); return; case 35: this.UPSUserPASSWORD = ((System.Windows.Controls.TextBox)(target)); return; case 36: this.UPSUserLicenseNUMBER = ((System.Windows.Controls.TextBox)(target)); return; case 37: #line 153 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.UpdateUPSAccount_Click); #line default #line hidden return; case 38: this.UpdateUPSToDefaults_CheckBox = ((System.Windows.Controls.CheckBox)(target)); return; case 39: this.USPSCredentialEntry_PopUp = ((System.Windows.Controls.Primitives.Popup)(target)); return; case 40: #line 169 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseUSPSCredentialsMenu_Click); #line default #line hidden return; case 41: this.USPSUserID = ((System.Windows.Controls.TextBox)(target)); return; case 42: #line 175 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.UpdateUSPSAccount_Click); #line default #line hidden return; case 43: this.UpdateUSPSToDefaults_CheckBox = ((System.Windows.Controls.CheckBox)(target)); return; case 44: this.DelayAdjuster = ((System.Windows.Controls.Primitives.Popup)(target)); return; case 45: this.delayHeader = ((System.Windows.Controls.TextBlock)(target)); return; case 46: this.delaySlider = ((System.Windows.Controls.Slider)(target)); return; case 47: this.updateDelayAmountButton = ((System.Windows.Controls.Button)(target)); #line 199 "..\..\MainWindow.xaml" this.updateDelayAmountButton.Click += new System.Windows.RoutedEventHandler(this.delayButtonClose_Click); #line default #line hidden return; case 48: this.About_Popup = ((System.Windows.Controls.Primitives.Popup)(target)); return; case 49: #line 225 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseAboutPopup_Click); #line default #line hidden return; case 50: this.Usage_Popup = ((System.Windows.Controls.Primitives.Popup)(target)); return; case 51: #line 236 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseUsageMenu_Click); #line default #line hidden return; case 52: this.Error_Popup = ((System.Windows.Controls.Primitives.Popup)(target)); return; case 53: this.ErrorMessage_TextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 54: this.ErrorQuit_Button = ((System.Windows.Controls.Button)(target)); #line 249 "..\..\MainWindow.xaml" this.ErrorQuit_Button.Click += new System.Windows.RoutedEventHandler(this.Quit_Click); #line default #line hidden return; } this._contentLoaded = true; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SlvHanbaiClient;component/View/UserControl/Input/Purchase/Utl_InpSearchPurchaseO" + "rder.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.txtDummy = ((System.Windows.Controls.TextBox)(this.FindName("txtDummy"))); this.lblOrderYmd = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblOrderYmd"))); this.datPurchaseOrderYmd_F = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datPurchaseOrderYmd_F"))); this.datPurchaseOrderYmd_T = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datPurchaseOrderYmd_T"))); this.lblOrderNo = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblOrderNo"))); this.utlPurchaseOrderNo_F = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlPurchaseOrderNo_F"))); this.utlPurchaseOrderNo_T = ((SlvHanbaiClient.View.UserControl.Custom.Utl_InpNoText)(this.FindName("utlPurchaseOrderNo_T"))); this.lblNokiYmd = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblNokiYmd"))); this.datNokiYmd_F = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datNokiYmd_F"))); this.datNokiYmd_T = ((SlvHanbaiClient.Class.UI.ExDatePicker)(this.FindName("datNokiYmd_T"))); this.lblInpPerson = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblInpPerson"))); this.utlPerson_F = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlPerson_F"))); this.utlPerson_T = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlPerson_T"))); this.utlPurchase = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlPurchase"))); this.lblCommodity = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblCommodity"))); this.utlCommodity = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlCommodity"))); this.utlSendKbn = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MeiText)(this.FindName("utlSendKbn"))); this.lblSupply = ((SlvHanbaiClient.Class.UI.ExLabel)(this.FindName("lblSupply"))); this.utlCustomer = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlCustomer"))); this.utlSupplier = ((SlvHanbaiClient.View.UserControl.Custom.Utl_MstText)(this.FindName("utlSupplier"))); this.chkKake = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkKake"))); this.chkCash = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkCash"))); this.chkUnDelivary = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkUnDelivary"))); this.chkPartDelivary = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkPartDelivary"))); this.chkFullDelivary = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkFullDelivary"))); this.chkTorikeshi = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkTorikeshi"))); this.borPrint = ((System.Windows.Controls.Border)(this.FindName("borPrint"))); this.chkPrintNo = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkPrintNo"))); this.chkPrintYes = ((SlvHanbaiClient.Class.UI.ExCheckBox)(this.FindName("chkPrintYes"))); this.GridDetail = ((System.Windows.Controls.Grid)(this.FindName("GridDetail"))); this.dg = ((SlvHanbaiClient.Class.UI.ExDataGrid)(this.FindName("dg"))); this.GridDetailSelect = ((System.Windows.Controls.Grid)(this.FindName("GridDetailSelect"))); this.btnSelectAll = ((System.Windows.Controls.Button)(this.FindName("btnSelectAll"))); this.btnNoSelectAll = ((System.Windows.Controls.Button)(this.FindName("btnNoSelectAll"))); this.dgSelect = ((SlvHanbaiClient.Class.UI.ExDataGrid)(this.FindName("dgSelect"))); this.dataG_HeaderSelect = ((System.Windows.Controls.DataGridCheckBoxColumn)(this.FindName("dataG_HeaderSelect"))); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 5 "..\..\..\Windows\ProjectWindow.xaml" ((ProjectMaster2016.ProjectWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.projectDataGrid = ((System.Windows.Controls.DataGrid)(target)); return; case 3: this.menu_EditProject = ((System.Windows.Controls.MenuItem)(target)); #line 15 "..\..\..\Windows\ProjectWindow.xaml" this.menu_EditProject.Click += new System.Windows.RoutedEventHandler(this.menu_EditProject_Click); #line default #line hidden return; case 4: this.menu_RemoveProject = ((System.Windows.Controls.MenuItem)(target)); #line 16 "..\..\..\Windows\ProjectWindow.xaml" this.menu_RemoveProject.Click += new System.Windows.RoutedEventHandler(this.menu_RemoveProject_Click); #line default #line hidden return; case 5: this.menu_ProjectCost = ((System.Windows.Controls.MenuItem)(target)); #line 17 "..\..\..\Windows\ProjectWindow.xaml" this.menu_ProjectCost.Click += new System.Windows.RoutedEventHandler(this.menu_ProjectCost_Click); #line default #line hidden return; case 6: this.menu_ProjectMessages = ((System.Windows.Controls.MenuItem)(target)); #line 18 "..\..\..\Windows\ProjectWindow.xaml" this.menu_ProjectMessages.Click += new System.Windows.RoutedEventHandler(this.menu_ProjectMessages_Click); #line default #line hidden return; case 7: this.menu_ProjectHours = ((System.Windows.Controls.MenuItem)(target)); #line 19 "..\..\..\Windows\ProjectWindow.xaml" this.menu_ProjectHours.Click += new System.Windows.RoutedEventHandler(this.menu_ProjectHours_Click); #line default #line hidden return; case 8: this.pidColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 9: this.projectnameColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 10: this.employee_eidColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 11: this.pdescriptionColumn = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 12: this.pdate = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 13: this.projectisfinishedColumn = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 14: this.btnRemoveProject = ((System.Windows.Controls.Button)(target)); #line 39 "..\..\..\Windows\ProjectWindow.xaml" this.btnRemoveProject.Click += new System.Windows.RoutedEventHandler(this.btnRemoveProject_Click); #line default #line hidden return; case 15: this.btnAddProject = ((System.Windows.Controls.Button)(target)); #line 42 "..\..\..\Windows\ProjectWindow.xaml" this.btnAddProject.Click += new System.Windows.RoutedEventHandler(this.btnAddProject_Click); #line default #line hidden return; case 16: this.btnEditProject = ((System.Windows.Controls.Button)(target)); #line 45 "..\..\..\Windows\ProjectWindow.xaml" this.btnEditProject.Click += new System.Windows.RoutedEventHandler(this.btnEditProject_Click); #line default #line hidden return; } this._contentLoaded = true; }
protected override object GetCheckBoxColumn() { var column = new DataGridCheckBoxColumn(); column.Width = 80; return column; }
/// <summary> /// Creates the columns when AutoGenerateColumns=false (takes care of Images, etc...) /// </summary> /// <param name="dcol">DataColumn collection</param> private void CreateColumns(DataColumnCollection dcol) { this.Columns.Clear(); foreach (DataColumn dc in dcol) { DataGridColumn dgc = null; switch (dc.DataType.Name) { case "Boolean": DataGridCheckBoxColumn checkBoxColumn = new DataGridCheckBoxColumn(); checkBoxColumn.Binding = new Binding(dc.ColumnName); dgc = checkBoxColumn; break; case "Image": DataGridTemplateColumn templateColumn = new DataGridTemplateColumn(); // Build template in memory StringBuilder CellTemp = new StringBuilder(); CellTemp.Append("<DataTemplate "); CellTemp.Append("xmlns='http://schemas.microsoft.com/winfx/"); CellTemp.Append("2006/xaml/presentation' "); CellTemp.Append("xmlns:x='http://schemas.microsoft.com/winfx/2006/xaml' "); CellTemp.Append("xmlns:local='clr-namespace:BindableDataGrid;assembly=BindableDataGrid'>"); CellTemp.Append("<Image Source='{Binding " + dc.ColumnName + ".Source }' ></Image>"); CellTemp.Append("</DataTemplate>"); templateColumn.CellTemplate = (DataTemplate)XamlReader.Load(CellTemp.ToString()); // Set editing template the same as regular one (will not be editable) templateColumn.CellEditingTemplate = (DataTemplate)XamlReader.Load(CellTemp.ToString()); dgc = templateColumn; break; //case "String": //case "Int32": //case "DateTime": default: // Treat everything else as a string DataGridTextColumn textColumn = new DataGridTextColumn(); textColumn.Binding = new Binding(dc.ColumnName); dgc = textColumn; break; } if (dgc != null) { dgc.Header = dc.Caption; dgc.IsReadOnly = dc.ReadOnly; dgc.CanUserResize = dc.AllowResize; dgc.CanUserSort = dc.AllowSort; dgc.CanUserReorder = dc.AllowReorder; this.Columns.Add(dgc); } } }
void Bind(Type aType) { foreach (PropertyInfo pi in aType.GetProperties()) { DataGridColumn col = null; if (pi.PropertyType == typeof(int)) { col = new DataGridTextColumn(); ((DataGridTextColumn)col).Binding = new Binding(pi.Name); } else if (pi.PropertyType == typeof(float)) { col = new DataGridTextColumn(); ((DataGridTextColumn)col).Binding = new Binding(pi.Name); } else if (pi.PropertyType == typeof(bool)) { col = new DataGridCheckBoxColumn(); ((DataGridCheckBoxColumn)col).Binding = new Binding(pi.Name); } else if (pi.PropertyType.IsEnum) { col = new DataGridComboBoxColumn(); ((DataGridComboBoxColumn)col).SelectedItemBinding = new Binding(pi.Name); ((DataGridComboBoxColumn)col).ItemsSource = Enum.GetValues(pi.PropertyType); } else if (pi.PropertyType == typeof(Urho.MinMax)) { col = new DataGridTextColumn(); ((DataGridTextColumn)col).Binding = new Binding(pi.Name) { Converter = new MinMaxConverter() }; ((Binding)((DataGridTextColumn)col).Binding).ValidationRules.Add(new MinMaxValidator()); } else if (pi.PropertyType == typeof(Urho.Vector2)) { col = new DataGridTextColumn(); ((DataGridTextColumn)col).Binding = new Binding(pi.Name) { Converter = new Vec2Converter() }; ((Binding)((DataGridTextColumn)col).Binding).ValidationRules.Add(new Vec2Validator()); } else if (pi.PropertyType == typeof(Urho.Vector3)) { col = new DataGridTextColumn(); ((DataGridTextColumn)col).Binding = new Binding(pi.Name) { Converter = new Vec3Converter() }; ((Binding)((DataGridTextColumn)col).Binding).ValidationRules.Add(new Vec3Validator()); } else if (pi.PropertyType == typeof(Urho.Vector4)) { col = new DataGridTextColumn(); ((DataGridTextColumn)col).Binding = new Binding(pi.Name) { Converter = new Vec4Converter() }; ((Binding)((DataGridTextColumn)col).Binding).ValidationRules.Add(new Vec4Validator()); } else if (pi.PropertyType == typeof(Urho.UColor)) { DataGridTemplateColumn c = null; col = c = new DataGridTemplateColumn(); DataGridTemplateColumn guidColumn = c as DataGridTemplateColumn; Binding bind = new Binding(pi.Name); bind.Converter = new ColorToColorConverter(); bind.Mode = BindingMode.TwoWay; Binding colorBind = new Binding(pi.Name); colorBind.Converter = new ColorToBrushConverter(); colorBind.Mode = BindingMode.OneWay; Binding fgBind = new Binding(pi.Name); fgBind.Converter = new ColorToInvertedBrushConverter(); fgBind.Mode = BindingMode.OneWay; // Create the TextBlock FrameworkElementFactory textFactory = new FrameworkElementFactory(typeof(TextBlock)); textFactory.SetBinding(TextBlock.TextProperty, bind); textFactory.SetBinding(TextBlock.BackgroundProperty, colorBind); textFactory.SetBinding(TextBlock.ForegroundProperty, fgBind); DataTemplate textTemplate = new DataTemplate(); textTemplate.VisualTree = textFactory; // Create the ComboBox Binding comboBind = new Binding(pi.Name); FrameworkElementFactory comboFactory = new FrameworkElementFactory(typeof(Xceed.Wpf.Toolkit.ColorPicker)); comboFactory.SetBinding(ColorPicker.SelectedColorProperty, bind); comboFactory.SetValue(ColorPicker.ShowAdvancedButtonProperty, true); DataTemplate comboTemplate = new DataTemplate(); comboTemplate.VisualTree = comboFactory; // Set the Templates to the Column guidColumn.CellTemplate = textTemplate; guidColumn.CellEditingTemplate = comboTemplate; } else if (pi.PropertyType == typeof(string)) { Urho.Resource res = pi.GetCustomAttribute<Urho.Resource>(); if (res == null) res = pi.PropertyType.GetCustomAttribute<Urho.Resource>(); if (res == null && pi.Name.ToLower().Equals("name")) res = aType.GetCustomAttribute<Urho.Resource>(); if (res == null) { col = new DataGridTextColumn(); ((DataGridTextColumn)col).Binding = new Binding(pi.Name); } else { //combo box col = new DataGridComboBoxColumn(); if (res.Type == typeof(Urho.Material)) { ((DataGridComboBoxColumn)col).SelectedItemBinding = new Binding(pi.Name); ((DataGridComboBoxColumn)col).ItemsSource = UrhoPaths.inst().GetList(UrhoPaths.PATH_MATERIALS, false); } else if (res.Type == typeof(Urho.Technique)) { ((DataGridComboBoxColumn)col).SelectedItemBinding = new Binding(pi.Name); ((DataGridComboBoxColumn)col).ItemsSource = UrhoPaths.inst().GetList(UrhoPaths.PATH_TECHNIQUES, false); } else if (res.Type == typeof(Urho.BaseTexture)) { ((DataGridComboBoxColumn)col).SelectedItemBinding = new Binding(pi.Name); ((DataGridComboBoxColumn)col).ItemsSource = UrhoPaths.inst().GetList(UrhoPaths.PATH_TEXTURES, true); } else if (res.Type == typeof(Urho.Texture)) { ((DataGridComboBoxColumn)col).SelectedItemBinding = new Binding(pi.Name); ((DataGridComboBoxColumn)col).ItemsSource = UrhoPaths.inst().GetList(UrhoPaths.PATH_TEXTURES, true); } else if (res.Type == typeof(Urho.Shader)) { ((DataGridComboBoxColumn)col).SelectedItemBinding = new Binding(pi.Name); ((DataGridComboBoxColumn)col).ItemsSource = UrhoPaths.inst().GetList(UrhoPaths.PATH_SHADERS, false); } else if (res.Type == typeof(Urho.Sound)) { ((DataGridComboBoxColumn)col).SelectedItemBinding = new Binding(pi.Name); ((DataGridComboBoxColumn)col).ItemsSource = UrhoPaths.inst().GetList(UrhoPaths.PATH_SOUNDS, false); } } } if (col != null) { col.Header = pi.Name; grid.Columns.Add(col); } } }
/// <summary> /// Helper Method which creates a default DataGridColumn object for the specified property type. /// </summary> /// <param name="itemProperty"></param> /// <returns></returns> internal static DataGridColumn CreateDefaultColumn(ItemPropertyInfo itemProperty) { Debug.Assert(itemProperty != null && itemProperty.PropertyType != null, "itemProperty and/or its PropertyType member cannot be null"); DataGridColumn dataGridColumn = null; DataGridComboBoxColumn comboBoxColumn = null; Type propertyType = itemProperty.PropertyType; // determine the type of column to be created and create one if (propertyType.IsEnum) { comboBoxColumn = new DataGridComboBoxColumn(); comboBoxColumn.ItemsSource = Enum.GetValues(propertyType); dataGridColumn = comboBoxColumn; } else if (typeof(string).IsAssignableFrom(propertyType)) { dataGridColumn = new DataGridTextColumn(); } else if (typeof(bool).IsAssignableFrom(propertyType)) { dataGridColumn = new DataGridCheckBoxColumn(); } else if (typeof(Uri).IsAssignableFrom(propertyType)) { dataGridColumn = new DataGridHyperlinkColumn(); } else { dataGridColumn = new DataGridTextColumn(); } // determine if the datagrid can sort on the column or not if (!typeof(IComparable).IsAssignableFrom(propertyType)) { dataGridColumn.CanUserSort = false; } dataGridColumn.Header = itemProperty.Name; // Set the data field binding for such created columns and // choose the BindingMode based on editability of the property. DataGridBoundColumn boundColumn = dataGridColumn as DataGridBoundColumn; if (boundColumn != null || comboBoxColumn != null) { Binding binding = new Binding(itemProperty.Name); if (comboBoxColumn != null) { comboBoxColumn.SelectedItemBinding = binding; } else { boundColumn.Binding = binding; } PropertyDescriptor pd = itemProperty.Descriptor as PropertyDescriptor; if (pd != null) { if (pd.IsReadOnly) { binding.Mode = BindingMode.OneWay; dataGridColumn.IsReadOnly = true; } } else { PropertyInfo pi = itemProperty.Descriptor as PropertyInfo; if (pi != null) { if (!pi.CanWrite) { binding.Mode = BindingMode.OneWay; dataGridColumn.IsReadOnly = true; } } } } return dataGridColumn; }
private static DataGridBoundColumn GetDataGridColumnFromType(Type type) { Debug.Assert(type != null); if (type == typeof(bool)) { return new DataGridCheckBoxColumn(); } else if (type == typeof(bool?)) { DataGridCheckBoxColumn column = new DataGridCheckBoxColumn(); column.IsThreeState = true; return column; } return new DataGridTextColumn(); }
private void InitializeGrid() { // для переноса строк System.Windows.Style mystyle = new System.Windows.Style(typeof(TextBlock)); mystyle.Setters.Add(new Setter(TextBlock.TextWrappingProperty, TextWrapping.Wrap)); // формирует таблицу // ================== Included =============================== DataGridCheckBoxColumn col1 = new DataGridCheckBoxColumn(); col1.Binding = new Binding("Included"); col1.Header = "Вкл"; //col1.Width = 40; dataList.Columns.Add(col1); // ================== Nomer =============================== DataGridTextColumn col2 = new DataGridTextColumn(); col2.Binding = new Binding("Nomer"); col2.Header = "№"; //col2.Width = 50; dataList.Columns.Add(col2); // ================== Pacient =============================== DataGridTextColumn col3 = new DataGridTextColumn(); col3.Binding = new Binding("tPacient"); col3.Header = "Пцнт"; col3.IsReadOnly = true; dataList.Columns.Add(col3); // ================== Data =============================== DataGridTextColumn col4 = new DataGridTextColumn(); col4.Binding = new Binding("tData"); col4.Binding.StringFormat = "dd.MM.yyyy"; col4.Header = "Дата"; col4.IsReadOnly = true; dataList.Columns.Add(col4); // ================== Preparat =============================== DataGridTextColumn col5 = new DataGridTextColumn(); col5.Binding = new Binding("Preparat"); col5.Header = "Препарат"; col5.Width = 150; col5.ElementStyle = mystyle; col5.IsReadOnly = true; dataList.Columns.Add(col5); // ================== Producer =============================== DataGridTextColumn col6 = new DataGridTextColumn(); col6.Binding = new Binding("Producer"); col6.Header = "Фирма производитель"; col6.Width = 200; col6.ElementStyle = mystyle; dataList.Columns.Add(col6); // ================== Protokol =============================== DataGridTextColumn col7 = new DataGridTextColumn(); col7.Binding = new Binding("Protokol"); col7.Header = "Пртокол исследований"; col7.Width = 250; col7.ElementStyle = mystyle; dataList.Columns.Add(col7); // ================== Pacient =============================== DataGridTextColumn col8 = new DataGridTextColumn(); col8.Binding = new Binding("tDuration"); col8.Header = "Прод."; col8.IsReadOnly = true; dataList.Columns.Add(col8); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 9 "..\..\AdministrationWindow.xaml" ((Administration.AdministrationWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden #line 9 "..\..\AdministrationWindow.xaml" ((Administration.AdministrationWindow)(target)).KeyDown += new System.Windows.Input.KeyEventHandler(this.Window_KeyDown); #line default #line hidden return; case 2: this.btnDashboard = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\AdministrationWindow.xaml" this.btnDashboard.Click += new System.Windows.RoutedEventHandler(this.naviButton_Click); #line default #line hidden return; case 3: this.btnUsers = ((System.Windows.Controls.Button)(target)); #line 33 "..\..\AdministrationWindow.xaml" this.btnUsers.Click += new System.Windows.RoutedEventHandler(this.naviButton_Click); #line default #line hidden return; case 4: this.btnArticles = ((System.Windows.Controls.Button)(target)); #line 34 "..\..\AdministrationWindow.xaml" this.btnArticles.Click += new System.Windows.RoutedEventHandler(this.naviButton_Click); #line default #line hidden return; case 5: this.btnCancellations = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\AdministrationWindow.xaml" this.btnCancellations.Click += new System.Windows.RoutedEventHandler(this.naviButton_Click); #line default #line hidden return; case 6: this.btnCharts = ((System.Windows.Controls.Button)(target)); #line 36 "..\..\AdministrationWindow.xaml" this.btnCharts.Click += new System.Windows.RoutedEventHandler(this.naviButton_Click); #line default #line hidden return; case 7: this.btnSales = ((System.Windows.Controls.Button)(target)); #line 37 "..\..\AdministrationWindow.xaml" this.btnSales.Click += new System.Windows.RoutedEventHandler(this.naviButton_Click); #line default #line hidden return; case 8: this.btnMessages = ((System.Windows.Controls.Button)(target)); #line 38 "..\..\AdministrationWindow.xaml" this.btnMessages.Click += new System.Windows.RoutedEventHandler(this.naviButton_Click); #line default #line hidden return; case 9: this.btnCashpointStates = ((System.Windows.Controls.Button)(target)); #line 39 "..\..\AdministrationWindow.xaml" this.btnCashpointStates.Click += new System.Windows.RoutedEventHandler(this.naviButton_Click); #line default #line hidden return; case 10: this.btnNew = ((System.Windows.Controls.Button)(target)); #line 41 "..\..\AdministrationWindow.xaml" this.btnNew.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnNew_MouseEnter); #line default #line hidden #line 41 "..\..\AdministrationWindow.xaml" this.btnNew.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnNew_MouseLeave); #line default #line hidden return; case 11: this.btnOptions = ((System.Windows.Controls.Button)(target)); #line 42 "..\..\AdministrationWindow.xaml" this.btnOptions.MouseEnter += new System.Windows.Input.MouseEventHandler(this.btnOptions_MouseEnter); #line default #line hidden #line 42 "..\..\AdministrationWindow.xaml" this.btnOptions.MouseLeave += new System.Windows.Input.MouseEventHandler(this.btnOptions_MouseLeave); #line default #line hidden return; case 12: this.cnvOptionsMenu = ((System.Windows.Controls.Canvas)(target)); return; case 13: this.grdOptionsMenu = ((System.Windows.Controls.Grid)(target)); #line 47 "..\..\AdministrationWindow.xaml" this.grdOptionsMenu.MouseEnter += new System.Windows.Input.MouseEventHandler(this.grdOptionsMenu_MouseEnter); #line default #line hidden #line 47 "..\..\AdministrationWindow.xaml" this.grdOptionsMenu.MouseLeave += new System.Windows.Input.MouseEventHandler(this.grdOptionsMenu_MouseLeave); #line default #line hidden return; case 14: this.btnResetCashpoint = ((System.Windows.Controls.Button)(target)); #line 55 "..\..\AdministrationWindow.xaml" this.btnResetCashpoint.Click += new System.Windows.RoutedEventHandler(this.btnResetCashpoint_Click); #line default #line hidden return; case 15: this.btnDesign = ((System.Windows.Controls.Button)(target)); #line 56 "..\..\AdministrationWindow.xaml" this.btnDesign.Click += new System.Windows.RoutedEventHandler(this.btnDesign_Click); #line default #line hidden return; case 16: this.btnSettings = ((System.Windows.Controls.Button)(target)); #line 57 "..\..\AdministrationWindow.xaml" this.btnSettings.Click += new System.Windows.RoutedEventHandler(this.btnSettings_Click); #line default #line hidden return; case 17: this.btnLogout = ((System.Windows.Controls.Button)(target)); #line 58 "..\..\AdministrationWindow.xaml" this.btnLogout.Click += new System.Windows.RoutedEventHandler(this.btnLogout_Click); #line default #line hidden return; case 18: this.btnExit = ((System.Windows.Controls.Button)(target)); #line 59 "..\..\AdministrationWindow.xaml" this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click); #line default #line hidden return; case 19: this.cnvNewMenu = ((System.Windows.Controls.Canvas)(target)); return; case 20: this.grdNewMenu = ((System.Windows.Controls.Grid)(target)); #line 67 "..\..\AdministrationWindow.xaml" this.grdNewMenu.MouseEnter += new System.Windows.Input.MouseEventHandler(this.grdNewMenu_MouseEnter); #line default #line hidden #line 67 "..\..\AdministrationWindow.xaml" this.grdNewMenu.MouseLeave += new System.Windows.Input.MouseEventHandler(this.grdNewMenu_MouseLeave); #line default #line hidden return; case 21: this.btnNewExport = ((System.Windows.Controls.Button)(target)); #line 79 "..\..\AdministrationWindow.xaml" this.btnNewExport.Click += new System.Windows.RoutedEventHandler(this.btnNewExport_Click); #line default #line hidden return; case 22: this.btnNewMessage = ((System.Windows.Controls.Button)(target)); #line 80 "..\..\AdministrationWindow.xaml" this.btnNewMessage.Click += new System.Windows.RoutedEventHandler(this.btnNewMessage_Click); #line default #line hidden return; case 23: this.btnNewDeposit = ((System.Windows.Controls.Button)(target)); #line 81 "..\..\AdministrationWindow.xaml" this.btnNewDeposit.Click += new System.Windows.RoutedEventHandler(this.btnNewDeposit_Click); #line default #line hidden return; case 24: this.btnNewUser = ((System.Windows.Controls.Button)(target)); #line 82 "..\..\AdministrationWindow.xaml" this.btnNewUser.Click += new System.Windows.RoutedEventHandler(this.btnNewUser_Click); #line default #line hidden return; case 25: this.btnNewProfile = ((System.Windows.Controls.Button)(target)); #line 83 "..\..\AdministrationWindow.xaml" this.btnNewProfile.Click += new System.Windows.RoutedEventHandler(this.btnNewProfile_Click); #line default #line hidden return; case 26: this.btnNewArticle = ((System.Windows.Controls.Button)(target)); #line 84 "..\..\AdministrationWindow.xaml" this.btnNewArticle.Click += new System.Windows.RoutedEventHandler(this.btnNewArticle_Click); #line default #line hidden return; case 27: this.btnNewCancellation = ((System.Windows.Controls.Button)(target)); #line 85 "..\..\AdministrationWindow.xaml" this.btnNewCancellation.Click += new System.Windows.RoutedEventHandler(this.btnNewCancellation_Click); #line default #line hidden return; case 28: this.btnNewChart = ((System.Windows.Controls.Button)(target)); #line 86 "..\..\AdministrationWindow.xaml" this.btnNewChart.Click += new System.Windows.RoutedEventHandler(this.btnNewChart_Click); #line default #line hidden return; case 29: this.InfoCanvas = ((System.Windows.Controls.Canvas)(target)); return; case 30: this.tbcMain = ((System.Windows.Controls.TabControl)(target)); return; case 31: this.tabDashboard = ((System.Windows.Controls.TabItem)(target)); return; case 32: this.cmbDashboardProfile = ((System.Windows.Controls.ComboBox)(target)); #line 102 "..\..\AdministrationWindow.xaml" this.cmbDashboardProfile.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbDashboardProfile_SelectionChanged); #line default #line hidden return; case 33: this.btfnSetProfilePrimary = ((System.Windows.Controls.Button)(target)); #line 103 "..\..\AdministrationWindow.xaml" this.btfnSetProfilePrimary.Click += new System.Windows.RoutedEventHandler(this.btfnSetProfilePrimary_Click); #line default #line hidden return; case 34: this.btfnRemoveProfile = ((System.Windows.Controls.Button)(target)); #line 104 "..\..\AdministrationWindow.xaml" this.btfnRemoveProfile.Click += new System.Windows.RoutedEventHandler(this.btfnRemoveProfile_Click); #line default #line hidden return; case 35: this.dgvProfileStats = ((System.Windows.Controls.DataGrid)(target)); #line 125 "..\..\AdministrationWindow.xaml" this.dgvProfileStats.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgvProfileStats_SelectionChanged); #line default #line hidden return; case 36: this.colProfileStatsProperty = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 37: this.colProfileStatsValue = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 38: this.dgvCashpointStateDashboard = ((System.Windows.Controls.DataGrid)(target)); #line 152 "..\..\AdministrationWindow.xaml" this.dgvCashpointStateDashboard.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.dgvCashpointStateDashboard_SelectionChanged); #line default #line hidden return; case 39: this.colStateDashboardSite = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 40: this.colStateDashboardStatus = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 41: this.colStateDashboardDate = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 42: this.cnvLoadingProfileStats = ((System.Windows.Controls.Canvas)(target)); return; case 43: this.tabUsers = ((System.Windows.Controls.TabItem)(target)); return; case 44: this.dgvUsers = ((System.Windows.Controls.DataGrid)(target)); return; case 45: #line 194 "..\..\AdministrationWindow.xaml" ((System.Windows.Controls.ContextMenu)(target)).Opened += new System.Windows.RoutedEventHandler(this.UsersContextMenu_Opened); #line default #line hidden return; case 46: #line 195 "..\..\AdministrationWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.EditUserMenuItemClick_Click); #line default #line hidden return; case 47: #line 201 "..\..\AdministrationWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteUserMenuItemClick_Click); #line default #line hidden return; case 49: this.colUsersUsername = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 50: this.colUsersPIN = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 51: this.colUsersAdmin = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 52: this.colUsersEnabled = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 53: this.colUsersLastLogin = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 54: this.tabArticles = ((System.Windows.Controls.TabItem)(target)); return; case 55: this.dgvArticles = ((System.Windows.Controls.DataGrid)(target)); return; case 56: #line 249 "..\..\AdministrationWindow.xaml" ((System.Windows.Controls.ContextMenu)(target)).Opened += new System.Windows.RoutedEventHandler(this.ArticlesContextMenu_Opened); #line default #line hidden return; case 57: #line 250 "..\..\AdministrationWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.EditArticleMenuItemClick_Click); #line default #line hidden return; case 58: #line 256 "..\..\AdministrationWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteArticleMenuItemClick_Click); #line default #line hidden return; case 60: this.colArticlesName = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 61: this.colArticlesPrice = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 62: this.colArticlesDepositName = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 63: this.colArticlesDepositAmount = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 64: this.colArticlesDoPrint = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 65: this.colArticlesIsEnabled = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 66: this.colArticlesIsVisible = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 67: this.cmbSelectedProfile = ((System.Windows.Controls.ComboBox)(target)); #line 284 "..\..\AdministrationWindow.xaml" this.cmbSelectedProfile.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbSelectedProfile_SelectionChanged); #line default #line hidden return; case 68: this.tabCancellations = ((System.Windows.Controls.TabItem)(target)); return; case 69: this.dgvCancellations = ((System.Windows.Controls.DataGrid)(target)); return; case 70: #line 308 "..\..\AdministrationWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MergeCancellationsMenuItemClick_Click); #line default #line hidden return; case 71: #line 314 "..\..\AdministrationWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DeletCancellationMenuItemClick_Click_1); #line default #line hidden return; case 72: this.colCancellationsUsername = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 73: this.colCancellationsArticle = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 74: this.colCancellationsPrice = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 75: this.colCancellationsCount = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 76: this.colCancellationsSum = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 77: this.colCancellationsDate = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 78: this.cmbCancellationsProfile = ((System.Windows.Controls.ComboBox)(target)); #line 340 "..\..\AdministrationWindow.xaml" this.cmbCancellationsProfile.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbCancellationsProfile_SelectionChanged); #line default #line hidden return; case 79: this.tabCharts = ((System.Windows.Controls.TabItem)(target)); return; case 80: this.txtChartsFilter = ((System.Windows.Controls.TextBox)(target)); #line 357 "..\..\AdministrationWindow.xaml" this.txtChartsFilter.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtChartsFilter_TextChanged); #line default #line hidden return; case 81: this.btnClearChartsFilter = ((System.Windows.Controls.Button)(target)); #line 358 "..\..\AdministrationWindow.xaml" this.btnClearChartsFilter.Click += new System.Windows.RoutedEventHandler(this.btnClearChartsFilter_Click); #line default #line hidden return; case 82: this.dgvCharts = ((System.Windows.Controls.DataGrid)(target)); return; case 83: #line 363 "..\..\AdministrationWindow.xaml" ((System.Windows.Controls.ContextMenu)(target)).Opened += new System.Windows.RoutedEventHandler(this.ChartsContextMenu_Opened); #line default #line hidden return; case 84: #line 373 "..\..\AdministrationWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SaveChartAsHtmlMenuItemClick_Click); #line default #line hidden return; case 85: #line 380 "..\..\AdministrationWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteChartResultClick_Click); #line default #line hidden return; case 87: this.colChartsCaption = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 88: this.colChartsUsersProfile = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 89: this.colChartsUsersCount = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 90: this.tabSales = ((System.Windows.Controls.TabItem)(target)); return; case 91: this.cmbSalesProfile = ((System.Windows.Controls.ComboBox)(target)); #line 418 "..\..\AdministrationWindow.xaml" this.cmbSalesProfile.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbSalesProfile_SelectionChanged); #line default #line hidden return; case 92: this.lblSalesFilter = ((System.Windows.Controls.TextBlock)(target)); #line 419 "..\..\AdministrationWindow.xaml" this.lblSalesFilter.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.lblSalesFilter_MouseLeftButtonUp); #line default #line hidden return; case 93: this.lblSalesFilterReset = ((System.Windows.Controls.TextBlock)(target)); #line 420 "..\..\AdministrationWindow.xaml" this.lblSalesFilterReset.MouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.lblSalesFilterReset_MouseLeftButtonUp); #line default #line hidden return; case 94: this.dgvSales = ((System.Windows.Controls.DataGrid)(target)); return; case 95: #line 423 "..\..\AdministrationWindow.xaml" ((System.Windows.Controls.ContextMenu)(target)).Opened += new System.Windows.RoutedEventHandler(this.SalesContextMenu_Opened); #line default #line hidden return; case 96: #line 424 "..\..\AdministrationWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.GetSaleDetailsClick_Click); #line default #line hidden return; case 98: this.colSalesUsername = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 99: this.colSalesAmount = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 100: this.colSalesCount = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 101: this.colSalesDate = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 102: this.cnvLoadingSales = ((System.Windows.Controls.Canvas)(target)); return; case 103: this.tabMessages = ((System.Windows.Controls.TabItem)(target)); return; case 104: this.dgvMessages = ((System.Windows.Controls.DataGrid)(target)); return; case 105: #line 476 "..\..\AdministrationWindow.xaml" ((System.Windows.Controls.ContextMenu)(target)).Opened += new System.Windows.RoutedEventHandler(this.MessagesContexMenu_Opened); #line default #line hidden return; case 106: #line 477 "..\..\AdministrationWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MarkMessageAsReadClick_Click); #line default #line hidden return; case 107: #line 482 "..\..\AdministrationWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MarkMessageAsUnreadClick_Click); #line default #line hidden return; case 108: #line 488 "..\..\AdministrationWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteMessageClick_Click); #line default #line hidden return; case 109: #line 494 "..\..\AdministrationWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ViewMessageClick_Click); #line default #line hidden return; case 111: this.colMessagesPreview = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 112: this.colMessagesRecipients = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 113: this.colMessagesIsRead = ((System.Windows.Controls.DataGridCheckBoxColumn)(target)); return; case 114: this.colMessagesCreated = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 115: this.tabCashpointStates = ((System.Windows.Controls.TabItem)(target)); return; case 116: this.cmbStatesCashpoint = ((System.Windows.Controls.ComboBox)(target)); #line 531 "..\..\AdministrationWindow.xaml" this.cmbStatesCashpoint.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbStatesCashpoint_SelectionChanged); #line default #line hidden return; case 117: this.dgvCashpointStates = ((System.Windows.Controls.DataGrid)(target)); return; case 118: this.colStatesSite = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 119: this.colStatesState = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 120: this.colStatesDescription = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 121: this.colStatesCreated = ((System.Windows.Controls.DataGridTextColumn)(target)); return; case 122: this.colStatesCode = ((System.Windows.Controls.DataGridTextColumn)(target)); return; } this._contentLoaded = true; }