//INSTANT C# NOTE: C# does not support optional parameters. Overloaded method(s) are created above. //ORIGINAL LINE: Private Shared Sub storeData(ByVal dateControl As GISA.Controls.PxDateBox, ByVal dpRow As GISA.Model.GISADataset.SFRDDatasProducaoRow, Optional ByVal extremo As String = "Inicio") private static void storeData(GISA.Controls.PxDateBox dateControl, GISA.Model.GISADataset.SFRDDatasProducaoRow dpRow, string extremo) { if (!(dateControl.ValueYear.Equals(GISA.Model.GisaDataSetHelper.GetDBNullableText(dpRow, string.Format("{0}Ano", extremo)))) || !(dateControl.ValueMonth.Equals(GISA.Model.GisaDataSetHelper.GetDBNullableText(dpRow, string.Format("{0}Mes", extremo)))) || !(dateControl.ValueDay.Equals(GISA.Model.GisaDataSetHelper.GetDBNullableText(dpRow, string.Format("{0}Dia", extremo))))) { if (dateControl.ValueYear.Length > 0) { dpRow[string.Format("{0}Ano", extremo)] = dateControl.ValueYear; } else { dpRow[string.Format("{0}Ano", extremo)] = DBNull.Value; } if (dateControl.ValueMonth.Length > 0) { dpRow[string.Format("{0}Mes", extremo)] = dateControl.ValueMonth; } else { dpRow[string.Format("{0}Mes", extremo)] = DBNull.Value; } if (dateControl.ValueDay.Length > 0) { dpRow[string.Format("{0}Dia", extremo)] = dateControl.ValueDay; } else { dpRow[string.Format("{0}Dia", extremo)] = DBNull.Value; } } }
// Limpa os databindings e os conteúdos do campo passado. No caso das comboboxes é selecionado o 1º item caso exista public static void clearField(Control ctrl) { ctrl.DataBindings.Clear(); if (ctrl is TextBox) { ((TextBox)ctrl).Clear(); } else if (ctrl is CheckBox) { ((CheckBox)ctrl).Checked = false; } else if (ctrl is ComboBox) { ComboBox combo = (ComboBox)ctrl; if (combo.Items.Count > 0) { combo.SelectedIndex = 0; } else { combo.SelectedIndex = -1; } } else if (ctrl is GISA.Controls.PxDateBox) { GISA.Controls.PxDateBox dateBox = null; dateBox = (GISA.Controls.PxDateBox)ctrl; dateBox.ValueYear = string.Empty; dateBox.ValueMonth = string.Empty; dateBox.ValueDay = string.Empty; } else if (ctrl is ListView) { ((ListView)ctrl).SuspendLayout(); ((ListView)ctrl).SelectedItems.Clear(); ((ListView)ctrl).Items.Clear(); ((ListView)ctrl).ResumeLayout(); } else if (ctrl is TreeView) { ((TreeView)ctrl).Nodes.Clear(); } else if (ctrl is GISA.Controls.PxDecimalBox) { ((GISA.Controls.PxDecimalBox)ctrl).Clear(); } else if (ctrl is ListBox) { ((ListBox)ctrl).Items.Clear(); } else if (ctrl is CheckedListBox) { DeactivateCheckedListBox((CheckedListBox)ctrl); } }
private void InitializeComponent() { this.grpTitulo = new System.Windows.Forms.GroupBox(); this.dtData = new GISA.Controls.PxDateBox(); this.chkAtribuida = new System.Windows.Forms.CheckBox(); this.grpTitulo.SuspendLayout(); this.SuspendLayout(); // // grpTitulo // this.grpTitulo.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.grpTitulo.Controls.Add(this.dtData); this.grpTitulo.Controls.Add(this.chkAtribuida); this.grpTitulo.Location = new System.Drawing.Point(0, 0); this.grpTitulo.Name = "grpTitulo"; this.grpTitulo.Size = new System.Drawing.Size(179, 44); this.grpTitulo.TabIndex = 1; this.grpTitulo.TabStop = false; this.grpTitulo.Text = "Data"; // // dtData // this.dtData.Location = new System.Drawing.Point(8, 14); this.dtData.Name = "dtData"; this.dtData.Size = new System.Drawing.Size(82, 22); this.dtData.TabIndex = 1; this.dtData.ValueDay = ""; this.dtData.ValueMonth = ""; this.dtData.ValueYear = ""; // // chkAtribuida // this.chkAtribuida.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.chkAtribuida.Location = new System.Drawing.Point(104, 18); this.chkAtribuida.Name = "chkAtribuida"; this.chkAtribuida.Size = new System.Drawing.Size(69, 16); this.chkAtribuida.TabIndex = 2; this.chkAtribuida.Text = "Atribuída"; // // AttributableDate // this.Controls.Add(this.grpTitulo); this.Name = "AttributableDate"; this.Size = new System.Drawing.Size(179, 44); this.grpTitulo.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.grpDataInicio = new System.Windows.Forms.GroupBox(); this.PxDateBox1 = new GISA.Controls.PxDateBox(); this.btnOk = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.grpDesignacaoListaModelos = new System.Windows.Forms.GroupBox(); this.txtDesignacaoListaModelos = new System.Windows.Forms.TextBox(); this.grpDataInicio.SuspendLayout(); this.grpDesignacaoListaModelos.SuspendLayout(); this.SuspendLayout(); // //grpDataInicio // this.grpDataInicio.Anchor = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)); this.grpDataInicio.Controls.Add(this.PxDateBox1); this.grpDataInicio.Location = new System.Drawing.Point(408, 16); this.grpDataInicio.Name = "grpDataInicio"; this.grpDataInicio.Size = new System.Drawing.Size(96, 44); this.grpDataInicio.TabIndex = 11; this.grpDataInicio.TabStop = false; this.grpDataInicio.Text = "Data de Início"; // //PxDateBox1 // this.PxDateBox1.Location = new System.Drawing.Point(8, 16); this.PxDateBox1.Name = "PxDateBox1"; this.PxDateBox1.Size = new System.Drawing.Size(80, 22); this.PxDateBox1.TabIndex = 1; this.PxDateBox1.ValueDay = ""; this.PxDateBox1.ValueMonth = ""; this.PxDateBox1.ValueYear = ""; // //btnOk // this.btnOk.Anchor = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)); this.btnOk.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnOk.Location = new System.Drawing.Point(312, 67); this.btnOk.Name = "btnOk"; this.btnOk.Size = new System.Drawing.Size(88, 24); this.btnOk.TabIndex = 2; this.btnOk.Text = "Aceitar"; // //btnCancel // this.btnCancel.Anchor = (System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(408, 67); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(88, 24); this.btnCancel.TabIndex = 3; this.btnCancel.Text = "Cancelar"; // //grpDesignacaoListaModelos // this.grpDesignacaoListaModelos.Anchor = (System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)); this.grpDesignacaoListaModelos.Controls.Add(this.txtDesignacaoListaModelos); this.grpDesignacaoListaModelos.Location = new System.Drawing.Point(8, 16); this.grpDesignacaoListaModelos.Name = "grpDesignacaoListaModelos"; this.grpDesignacaoListaModelos.Size = new System.Drawing.Size(394, 44); this.grpDesignacaoListaModelos.TabIndex = 10; this.grpDesignacaoListaModelos.TabStop = false; this.grpDesignacaoListaModelos.Text = "Designação"; // //txtDesignacaoListaModelos // this.txtDesignacaoListaModelos.Anchor = (System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right)); this.txtDesignacaoListaModelos.Location = new System.Drawing.Point(8, 16); this.txtDesignacaoListaModelos.Name = "txtDesignacaoListaModelos"; this.txtDesignacaoListaModelos.Size = new System.Drawing.Size(378, 20); this.txtDesignacaoListaModelos.TabIndex = 0; this.txtDesignacaoListaModelos.Text = ""; // //FormListaModelosAvaliacao // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(512, 102); this.ControlBox = false; this.Controls.Add(this.grpDataInicio); this.Controls.Add(this.btnOk); this.Controls.Add(this.btnCancel); this.Controls.Add(this.grpDesignacaoListaModelos); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Name = "FormListaModelosAvaliacao"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Lista de Modelos de Avaliação"; this.grpDataInicio.ResumeLayout(false); this.grpDesignacaoListaModelos.ResumeLayout(false); this.ResumeLayout(false); //INSTANT C# NOTE: Converted event handlers: }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PanelUFIdentificacao2)); this.grpGuia = new System.Windows.Forms.GroupBox(); this.txtGuia = new System.Windows.Forms.TextBox(); this.grpCodigoBarras = new System.Windows.Forms.GroupBox(); this.txtCodigoBarras = new GISA.Controls.PxIntegerBox(); this.grpCota = new System.Windows.Forms.GroupBox(); this.label1 = new System.Windows.Forms.Label(); this.txtCota = new System.Windows.Forms.TextBox(); this.grpCodigo = new System.Windows.Forms.GroupBox(); this.txtCodigoDeReferencia = new System.Windows.Forms.TextBox(); this.grpDimensoes = new System.Windows.Forms.GroupBox(); this.DimensoesSuporte1 = new GISA.DimensoesSuporte(); this.grpFim = new System.Windows.Forms.GroupBox(); this.chkAtribuidaFim = new System.Windows.Forms.CheckBox(); this.dtProducaoFim = new GISA.Controls.PxDateBox(); this.grpInicio = new System.Windows.Forms.GroupBox(); this.dtProducaoInicio = new GISA.Controls.PxDateBox(); this.chkAtribuidaInicio = new System.Windows.Forms.CheckBox(); this.grpDatasProducao = new System.Windows.Forms.GroupBox(); this.grpConteudo = new System.Windows.Forms.GroupBox(); this.txtConteudoInformacional = new System.Windows.Forms.TextBox(); this.grpTitulo = new System.Windows.Forms.GroupBox(); this.txtTitulo = new System.Windows.Forms.TextBox(); this.grpTipo = new System.Windows.Forms.GroupBox(); this.btnMaterialManager = new System.Windows.Forms.Button(); this.cbTipo = new System.Windows.Forms.ComboBox(); this.grpTipoEntrega = new System.Windows.Forms.GroupBox(); this.cbTipoEntrega = new System.Windows.Forms.ComboBox(); this.grpEntrega = new System.Windows.Forms.GroupBox(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.controlLocalConsulta1 = new GISA.ControlLocalConsulta(); this.grpGuia.SuspendLayout(); this.grpCodigoBarras.SuspendLayout(); this.grpCota.SuspendLayout(); this.grpCodigo.SuspendLayout(); this.grpDimensoes.SuspendLayout(); this.grpFim.SuspendLayout(); this.grpInicio.SuspendLayout(); this.grpDatasProducao.SuspendLayout(); this.grpConteudo.SuspendLayout(); this.grpTitulo.SuspendLayout(); this.grpTipo.SuspendLayout(); this.grpTipoEntrega.SuspendLayout(); this.grpEntrega.SuspendLayout(); this.SuspendLayout(); // // grpGuia // this.grpGuia.Controls.Add(this.txtGuia); this.grpGuia.Location = new System.Drawing.Point(6, 19); this.grpGuia.Name = "grpGuia"; this.grpGuia.Size = new System.Drawing.Size(117, 50); this.grpGuia.TabIndex = 11; this.grpGuia.TabStop = false; this.grpGuia.Text = "Guia nº"; // // txtGuia // this.txtGuia.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtGuia.Location = new System.Drawing.Point(6, 19); this.txtGuia.Name = "txtGuia"; this.txtGuia.Size = new System.Drawing.Size(105, 20); this.txtGuia.TabIndex = 1; // // grpCodigoBarras // this.grpCodigoBarras.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.grpCodigoBarras.Controls.Add(this.txtCodigoBarras); this.grpCodigoBarras.Location = new System.Drawing.Point(496, 100); this.grpCodigoBarras.Name = "grpCodigoBarras"; this.grpCodigoBarras.Size = new System.Drawing.Size(297, 43); this.grpCodigoBarras.TabIndex = 2; this.grpCodigoBarras.TabStop = false; this.grpCodigoBarras.Text = "Código de barras"; // // txtCodigoBarras // this.txtCodigoBarras.Location = new System.Drawing.Point(8, 16); this.txtCodigoBarras.Name = "txtCodigoBarras"; this.txtCodigoBarras.Size = new System.Drawing.Size(280, 20); this.txtCodigoBarras.TabIndex = 0; this.txtCodigoBarras.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; // // grpCota // this.grpCota.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.grpCota.Controls.Add(this.label1); this.grpCota.Controls.Add(this.txtCota); this.grpCota.Location = new System.Drawing.Point(6, 100); this.grpCota.Name = "grpCota"; this.grpCota.Size = new System.Drawing.Size(482, 43); this.grpCota.TabIndex = 1; this.grpCota.TabStop = false; this.grpCota.Text = "Cota"; // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label1.AutoSize = true; this.label1.Enabled = false; this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.75F); this.label1.Image = ((System.Drawing.Image)(resources.GetObject("label1.Image"))); this.label1.Location = new System.Drawing.Point(456, 17); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(22, 15); this.label1.TabIndex = 2; this.label1.Text = " "; // // txtCota // this.txtCota.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtCota.Location = new System.Drawing.Point(8, 16); this.txtCota.MaxLength = 50; this.txtCota.Name = "txtCota"; this.txtCota.Size = new System.Drawing.Size(442, 20); this.txtCota.TabIndex = 1; // // grpCodigo // this.grpCodigo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.grpCodigo.Controls.Add(this.txtCodigoDeReferencia); this.grpCodigo.Location = new System.Drawing.Point(6, 4); this.grpCodigo.Name = "grpCodigo"; this.grpCodigo.Size = new System.Drawing.Size(482, 43); this.grpCodigo.TabIndex = 10; this.grpCodigo.TabStop = false; this.grpCodigo.Text = "Código de referência"; // // txtCodigoDeReferencia // this.txtCodigoDeReferencia.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtCodigoDeReferencia.Location = new System.Drawing.Point(8, 16); this.txtCodigoDeReferencia.Name = "txtCodigoDeReferencia"; this.txtCodigoDeReferencia.ReadOnly = true; this.txtCodigoDeReferencia.Size = new System.Drawing.Size(468, 20); this.txtCodigoDeReferencia.TabIndex = 1; // // grpDimensoes // this.grpDimensoes.Controls.Add(this.DimensoesSuporte1); this.grpDimensoes.Location = new System.Drawing.Point(6, 220); this.grpDimensoes.Name = "grpDimensoes"; this.grpDimensoes.Size = new System.Drawing.Size(386, 67); this.grpDimensoes.TabIndex = 4; this.grpDimensoes.TabStop = false; this.grpDimensoes.Text = "Dimensões"; // // DimensoesSuporte1 // this.DimensoesSuporte1.Location = new System.Drawing.Point(6, 12); this.DimensoesSuporte1.MedidaAltura = ""; this.DimensoesSuporte1.MedidaLargura = ""; this.DimensoesSuporte1.MedidaProfundidade = ""; this.DimensoesSuporte1.Name = "DimensoesSuporte1"; this.DimensoesSuporte1.Size = new System.Drawing.Size(366, 50); this.DimensoesSuporte1.TabIndex = 1; this.DimensoesSuporte1.TipoMedida = null; // // grpFim // this.grpFim.Controls.Add(this.chkAtribuidaFim); this.grpFim.Controls.Add(this.dtProducaoFim); this.grpFim.Location = new System.Drawing.Point(202, 15); this.grpFim.Name = "grpFim"; this.grpFim.Size = new System.Drawing.Size(178, 44); this.grpFim.TabIndex = 2; this.grpFim.TabStop = false; this.grpFim.Text = "Fim"; // // chkAtribuidaFim // this.chkAtribuidaFim.Location = new System.Drawing.Point(97, 16); this.chkAtribuidaFim.Name = "chkAtribuidaFim"; this.chkAtribuidaFim.Size = new System.Drawing.Size(72, 20); this.chkAtribuidaFim.TabIndex = 2; this.chkAtribuidaFim.Text = "Atribuída"; // // dtProducaoFim // this.dtProducaoFim.Location = new System.Drawing.Point(7, 14); this.dtProducaoFim.Name = "dtProducaoFim"; this.dtProducaoFim.Size = new System.Drawing.Size(82, 22); this.dtProducaoFim.TabIndex = 1; this.dtProducaoFim.ValueDay = ""; this.dtProducaoFim.ValueMonth = ""; this.dtProducaoFim.ValueYear = ""; // // grpInicio // this.grpInicio.Controls.Add(this.dtProducaoInicio); this.grpInicio.Controls.Add(this.chkAtribuidaInicio); this.grpInicio.Location = new System.Drawing.Point(8, 15); this.grpInicio.Name = "grpInicio"; this.grpInicio.Size = new System.Drawing.Size(182, 44); this.grpInicio.TabIndex = 1; this.grpInicio.TabStop = false; this.grpInicio.Text = "Início"; // // dtProducaoInicio // this.dtProducaoInicio.Location = new System.Drawing.Point(7, 14); this.dtProducaoInicio.Name = "dtProducaoInicio"; this.dtProducaoInicio.Size = new System.Drawing.Size(82, 22); this.dtProducaoInicio.TabIndex = 1; this.dtProducaoInicio.ValueDay = ""; this.dtProducaoInicio.ValueMonth = ""; this.dtProducaoInicio.ValueYear = ""; // // chkAtribuidaInicio // this.chkAtribuidaInicio.Location = new System.Drawing.Point(95, 16); this.chkAtribuidaInicio.Name = "chkAtribuidaInicio"; this.chkAtribuidaInicio.Size = new System.Drawing.Size(73, 18); this.chkAtribuidaInicio.TabIndex = 2; this.chkAtribuidaInicio.Text = "Atribuída"; // // grpDatasProducao // this.grpDatasProducao.Controls.Add(this.grpInicio); this.grpDatasProducao.Controls.Add(this.grpFim); this.grpDatasProducao.Location = new System.Drawing.Point(6, 148); this.grpDatasProducao.Name = "grpDatasProducao"; this.grpDatasProducao.Size = new System.Drawing.Size(386, 67); this.grpDatasProducao.TabIndex = 3; this.grpDatasProducao.TabStop = false; this.grpDatasProducao.Text = "Datas de produção"; // // grpConteudo // this.grpConteudo.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.grpConteudo.Controls.Add(this.txtConteudoInformacional); this.grpConteudo.Location = new System.Drawing.Point(400, 148); this.grpConteudo.Name = "grpConteudo"; this.grpConteudo.Size = new System.Drawing.Size(393, 443); this.grpConteudo.TabIndex = 6; this.grpConteudo.TabStop = false; this.grpConteudo.Text = "Conteúdo informacional"; // // txtConteudoInformacional // this.txtConteudoInformacional.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtConteudoInformacional.Location = new System.Drawing.Point(8, 16); this.txtConteudoInformacional.Multiline = true; this.txtConteudoInformacional.Name = "txtConteudoInformacional"; this.txtConteudoInformacional.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.txtConteudoInformacional.Size = new System.Drawing.Size(376, 419); this.txtConteudoInformacional.TabIndex = 1; // // grpTitulo // this.grpTitulo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.grpTitulo.Controls.Add(this.txtTitulo); this.grpTitulo.Location = new System.Drawing.Point(6, 52); this.grpTitulo.Name = "grpTitulo"; this.grpTitulo.Size = new System.Drawing.Size(482, 43); this.grpTitulo.TabIndex = 12; this.grpTitulo.TabStop = false; this.grpTitulo.Text = "Título"; // // txtTitulo // this.txtTitulo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtTitulo.Location = new System.Drawing.Point(8, 16); this.txtTitulo.Name = "txtTitulo"; this.txtTitulo.ReadOnly = true; this.txtTitulo.Size = new System.Drawing.Size(468, 20); this.txtTitulo.TabIndex = 1; // // grpTipo // this.grpTipo.Controls.Add(this.btnMaterialManager); this.grpTipo.Controls.Add(this.cbTipo); this.grpTipo.Location = new System.Drawing.Point(6, 288); this.grpTipo.Name = "grpTipo"; this.grpTipo.Size = new System.Drawing.Size(386, 42); this.grpTipo.TabIndex = 5; this.grpTipo.TabStop = false; this.grpTipo.Text = "Tipo"; // // btnMaterialManager // this.btnMaterialManager.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.btnMaterialManager.Location = new System.Drawing.Point(356, 12); this.btnMaterialManager.Name = "btnMaterialManager"; this.btnMaterialManager.Size = new System.Drawing.Size(24, 23); this.btnMaterialManager.TabIndex = 2; // // cbTipo // this.cbTipo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbTipo.Location = new System.Drawing.Point(6, 14); this.cbTipo.Name = "cbTipo"; this.cbTipo.Size = new System.Drawing.Size(344, 21); this.cbTipo.TabIndex = 1; // // grpTipoEntrega // this.grpTipoEntrega.Controls.Add(this.cbTipoEntrega); this.grpTipoEntrega.Location = new System.Drawing.Point(129, 19); this.grpTipoEntrega.Name = "grpTipoEntrega"; this.grpTipoEntrega.Size = new System.Drawing.Size(159, 50); this.grpTipoEntrega.TabIndex = 12; this.grpTipoEntrega.TabStop = false; this.grpTipoEntrega.Text = "Tipo"; // // cbTipoEntrega // this.cbTipoEntrega.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cbTipoEntrega.FormattingEnabled = true; this.cbTipoEntrega.Location = new System.Drawing.Point(6, 19); this.cbTipoEntrega.Name = "cbTipoEntrega"; this.cbTipoEntrega.Size = new System.Drawing.Size(147, 21); this.cbTipoEntrega.TabIndex = 0; // // grpEntrega // this.grpEntrega.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.grpEntrega.Controls.Add(this.grpGuia); this.grpEntrega.Controls.Add(this.grpTipoEntrega); this.grpEntrega.Location = new System.Drawing.Point(496, 4); this.grpEntrega.Name = "grpEntrega"; this.grpEntrega.Size = new System.Drawing.Size(297, 90); this.grpEntrega.TabIndex = 13; this.grpEntrega.TabStop = false; this.grpEntrega.Text = "Entrega"; // // toolTip1 // this.toolTip1.Active = false; this.toolTip1.AutoPopDelay = 60000; this.toolTip1.InitialDelay = 500; this.toolTip1.IsBalloon = true; this.toolTip1.ReshowDelay = 100; this.toolTip1.ShowAlways = true; // // controlLocalConsulta1 // this.controlLocalConsulta1.Location = new System.Drawing.Point(6, 336); this.controlLocalConsulta1.Name = "controlLocalConsulta1"; this.controlLocalConsulta1.Size = new System.Drawing.Size(388, 48); this.controlLocalConsulta1.TabIndex = 14; // // PanelUFIdentificacao2 // this.Controls.Add(this.controlLocalConsulta1); this.Controls.Add(this.grpEntrega); this.Controls.Add(this.grpTipo); this.Controls.Add(this.grpTitulo); this.Controls.Add(this.grpConteudo); this.Controls.Add(this.grpDatasProducao); this.Controls.Add(this.grpDimensoes); this.Controls.Add(this.grpCota); this.Controls.Add(this.grpCodigo); this.Controls.Add(this.grpCodigoBarras); this.Name = "PanelUFIdentificacao2"; this.grpGuia.ResumeLayout(false); this.grpGuia.PerformLayout(); this.grpCodigoBarras.ResumeLayout(false); this.grpCota.ResumeLayout(false); this.grpCota.PerformLayout(); this.grpCodigo.ResumeLayout(false); this.grpCodigo.PerformLayout(); this.grpDimensoes.ResumeLayout(false); this.grpFim.ResumeLayout(false); this.grpInicio.ResumeLayout(false); this.grpDatasProducao.ResumeLayout(false); this.grpConteudo.ResumeLayout(false); this.grpConteudo.PerformLayout(); this.grpTitulo.ResumeLayout(false); this.grpTitulo.PerformLayout(); this.grpTipo.ResumeLayout(false); this.grpTipoEntrega.ResumeLayout(false); this.grpEntrega.ResumeLayout(false); this.ResumeLayout(false); }
public static System.DateTime GetData(GISA.Controls.PxDateBox dateControl) { return(System.DateTime.Parse(dateControl.ValueDate)); }
public static void storeData(GISA.Controls.PxDateBox dateControl, GISA.Model.GISADataset.ListaModelosAvaliacaoRow lstModAvRow) { lstModAvRow.DataInicio = System.DateTime.Parse(dateControl.ValueDate); }
private static void storeData(GISA.Controls.PxDateBox dateControl, GISA.Model.GISADataset.SFRDDatasProducaoRow dpRow) { storeData(dateControl, dpRow, "Inicio"); }
public static void storeDataFim(GISA.Controls.PxDateBox dateControl, GISA.Model.GISADataset.SFRDDatasProducaoRow dpRow) { storeData(dateControl, dpRow, "Fim"); }
private static void genericPopulateData(GISA.Controls.PxDateBox dateControl, string ano, string mes, string dia) { dateControl.ValueYear = ano; dateControl.ValueMonth = mes; dateControl.ValueDay = dia; }
public static void populateData(GISA.Controls.PxDateBox dateControl, GISA.Model.GISADataset.ListaModelosAvaliacaoRow lstModAvRow) { genericPopulateData(dateControl, lstModAvRow.DataInicio.Year.ToString(), lstModAvRow.DataInicio.Month.ToString(), lstModAvRow.DataInicio.Day.ToString()); }
//INSTANT C# NOTE: C# does not support optional parameters. Overloaded method(s) are created above. //ORIGINAL LINE: Public Shared Sub populateData(ByVal dateControl As GISA.Controls.PxDateBox, ByVal dpRow As GISA.Model.GISADataset.SFRDDatasProducaoRow, Optional ByVal extremo As String = "Inicio") public static void populateData(GISA.Controls.PxDateBox dateControl, GISA.Model.GISADataset.SFRDDatasProducaoRow dpRow, string extremo) { genericPopulateData(dateControl, GISA.Model.GisaDataSetHelper.GetDBNullableText(dpRow, string.Format("{0}Ano", extremo)), GISA.Model.GisaDataSetHelper.GetDBNullableText(dpRow, string.Format("{0}Mes", extremo)), GISA.Model.GisaDataSetHelper.GetDBNullableText(dpRow, string.Format("{0}Dia", extremo))); }
public static void populateData(GISA.Controls.PxDateBox dateControl, GISA.Model.GISADataset.SFRDDatasProducaoRow dpRow) { populateData(dateControl, dpRow, "Inicio"); }