/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); ValidadorWindows.MyControl myControl21 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl22 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl23 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl24 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl25 = new ValidadorWindows.MyControl(); this.TxtEPCodigoPontoControle = new System.Windows.Forms.TextBox(); this.CboPontoControle = new System.Windows.Forms.ComboBox(); this.TxtEPCodigoTipoEquipamento = new System.Windows.Forms.TextBox(); this.CboTipoEquipamento = new System.Windows.Forms.ComboBox(); this.label7 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.BtnCancela = new System.Windows.Forms.Button(); this.btnSalvar = new System.Windows.Forms.Button(); this.GrdItens = new System.Windows.Forms.DataGridView(); this.validador1 = new ValidadorWindows.Validador(this.components); this.ChkEPObrigatorio = new System.Windows.Forms.CheckBox(); this.FaNome = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.EQObrigatorio = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.BtnExcluir = new System.Windows.Forms.DataGridViewButtonColumn(); ((System.ComponentModel.ISupportInitialize)(this.GrdItens)).BeginInit(); this.SuspendLayout(); // // TxtEPCodigoPontoControle // this.TxtEPCodigoPontoControle.Location = new System.Drawing.Point(119, 10); this.TxtEPCodigoPontoControle.MaxLength = 8; this.TxtEPCodigoPontoControle.Name = "TxtEPCodigoPontoControle"; this.TxtEPCodigoPontoControle.Size = new System.Drawing.Size(54, 20); this.TxtEPCodigoPontoControle.TabIndex = 3; this.TxtEPCodigoPontoControle.TextChanged += new System.EventHandler(this.TxtEPCodigoPontoControle_TextChanged); // // CboPontoControle // this.CboPontoControle.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CboPontoControle.FormattingEnabled = true; this.CboPontoControle.Location = new System.Drawing.Point(175, 9); this.CboPontoControle.Name = "CboPontoControle"; this.CboPontoControle.Size = new System.Drawing.Size(440, 21); this.CboPontoControle.TabIndex = 4; this.CboPontoControle.SelectedIndexChanged += new System.EventHandler(this.CboPontoControle_SelectedIndexChanged); // // TxtEPCodigoTipoEquipamento // this.TxtEPCodigoTipoEquipamento.Location = new System.Drawing.Point(119, 37); this.TxtEPCodigoTipoEquipamento.MaxLength = 8; this.TxtEPCodigoTipoEquipamento.Name = "TxtEPCodigoTipoEquipamento"; this.TxtEPCodigoTipoEquipamento.Size = new System.Drawing.Size(54, 20); this.TxtEPCodigoTipoEquipamento.TabIndex = 6; this.TxtEPCodigoTipoEquipamento.TextChanged += new System.EventHandler(this.TxtEPCodigoTipoEquipamento_TextChanged); // // CboTipoEquipamento // this.CboTipoEquipamento.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CboTipoEquipamento.FormattingEnabled = true; this.CboTipoEquipamento.Location = new System.Drawing.Point(175, 36); this.CboTipoEquipamento.Name = "CboTipoEquipamento"; this.CboTipoEquipamento.Size = new System.Drawing.Size(440, 21); this.CboTipoEquipamento.TabIndex = 7; this.CboTipoEquipamento.SelectedIndexChanged += new System.EventHandler(this.CboTipoEquipamento_SelectedIndexChanged); // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(21, 13); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(92, 13); this.label7.TabIndex = 2; this.label7.Text = "Ponto de Controle"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(5, 39); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(108, 13); this.label1.TabIndex = 5; this.label1.Text = "Tipo de Equipamento"; // // BtnCancela // this.BtnCancela.Location = new System.Drawing.Point(214, 105); this.BtnCancela.Name = "BtnCancela"; this.BtnCancela.Size = new System.Drawing.Size(90, 30); this.BtnCancela.TabIndex = 18; this.BtnCancela.Text = "Cancelar"; this.BtnCancela.UseVisualStyleBackColor = true; this.BtnCancela.Click += new System.EventHandler(this.BtnCancela_Click); // // btnSalvar // this.btnSalvar.Location = new System.Drawing.Point(119, 105); this.btnSalvar.Name = "btnSalvar"; this.btnSalvar.Size = new System.Drawing.Size(90, 30); this.btnSalvar.TabIndex = 19; this.btnSalvar.Text = "Salvar"; this.btnSalvar.UseVisualStyleBackColor = true; this.btnSalvar.Click += new System.EventHandler(this.btnSalvar_Click); // // GrdItens // this.GrdItens.AllowUserToAddRows = false; this.GrdItens.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.GrdItens.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.GrdItens.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.FaNome, this.EQObrigatorio, this.BtnExcluir }); this.GrdItens.Location = new System.Drawing.Point(1, 141); this.GrdItens.Name = "GrdItens"; this.GrdItens.RowHeadersWidth = 4; this.GrdItens.Size = new System.Drawing.Size(628, 194); this.GrdItens.TabIndex = 20; this.GrdItens.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.GrdItens_CellClick); // // validador1 // myControl21.CasasDecimais = ((byte)(0)); myControl21.Controle = this.TxtEPCodigoPontoControle; myControl21.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl21.MarcaConteudo = true; myControl21.NomeCampo = "Ponto de Controle"; myControl21.Requerido = true; myControl21.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.Numerico; myControl22.CasasDecimais = ((byte)(0)); myControl22.Controle = this.CboPontoControle; myControl22.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl22.MarcaConteudo = false; myControl22.NomeCampo = "Ponto de Controle"; myControl22.Requerido = true; myControl22.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl23.CasasDecimais = ((byte)(0)); myControl23.Controle = this.TxtEPCodigoTipoEquipamento; myControl23.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl23.MarcaConteudo = true; myControl23.NomeCampo = "Tio do Equipamento"; myControl23.Requerido = true; myControl23.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.Numerico; myControl24.CasasDecimais = ((byte)(0)); myControl24.Controle = this.CboTipoEquipamento; myControl24.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl24.MarcaConteudo = false; myControl24.NomeCampo = "Tipo do Equipamento"; myControl24.Requerido = true; myControl24.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl25.CasasDecimais = ((byte)(0)); myControl25.Controle = this.ChkEPObrigatorio; myControl25.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl25.MarcaConteudo = false; myControl25.NomeCampo = "ChkEPObrigatorio"; myControl25.Requerido = false; myControl25.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; this.validador1.Controles.Add(myControl21); this.validador1.Controles.Add(myControl22); this.validador1.Controles.Add(myControl23); this.validador1.Controles.Add(myControl24); this.validador1.Controles.Add(myControl25); // // ChkEPObrigatorio // this.ChkEPObrigatorio.AutoSize = true; this.ChkEPObrigatorio.Location = new System.Drawing.Point(119, 71); this.ChkEPObrigatorio.Name = "ChkEPObrigatorio"; this.ChkEPObrigatorio.Size = new System.Drawing.Size(142, 17); this.ChkEPObrigatorio.TabIndex = 21; this.ChkEPObrigatorio.Text = "Equipamento Obrigatório"; this.ChkEPObrigatorio.UseVisualStyleBackColor = true; // // FaNome // this.FaNome.DataPropertyName = "TeDescricao"; this.FaNome.HeaderText = "Descrição"; this.FaNome.Name = "FaNome"; this.FaNome.ReadOnly = true; this.FaNome.Width = 450; // // EQObrigatorio // this.EQObrigatorio.DataPropertyName = "EPObrigatorio"; this.EQObrigatorio.HeaderText = "Obrigatório"; this.EQObrigatorio.Name = "EQObrigatorio"; this.EQObrigatorio.ReadOnly = true; // // BtnExcluir // this.BtnExcluir.HeaderText = "Excluir"; this.BtnExcluir.Name = "BtnExcluir"; this.BtnExcluir.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.BtnExcluir.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.BtnExcluir.Width = 50; // // FrmEqPontoControle // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(630, 337); this.Controls.Add(this.ChkEPObrigatorio); this.Controls.Add(this.GrdItens); this.Controls.Add(this.BtnCancela); this.Controls.Add(this.btnSalvar); this.Controls.Add(this.CboTipoEquipamento); this.Controls.Add(this.TxtEPCodigoTipoEquipamento); this.Controls.Add(this.label1); this.Controls.Add(this.CboPontoControle); this.Controls.Add(this.TxtEPCodigoPontoControle); this.Controls.Add(this.label7); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MaximizeBox = false; this.Name = "FrmEqPontoControle"; this.Text = "Equipamentos do Ponto de Controle"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmEqPontoControle_FormClosed); this.Load += new System.EventHandler(this.FrmEqPontoControle_Load); ((System.ComponentModel.ISupportInitialize)(this.GrdItens)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); ValidadorWindows.MyControl myControl17 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl18 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl19 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl20 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl21 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl22 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl23 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl24 = new ValidadorWindows.MyControl(); this.TxtROCodigo = new System.Windows.Forms.TextBox(); this.TxtRONome = new System.Windows.Forms.TextBox(); this.TxtRODescricao = new System.Windows.Forms.TextBox(); this.ChkROBloqueada = new System.Windows.Forms.CheckBox(); this.CboTipoPonto = new System.Windows.Forms.ComboBox(); this.CboPontoControle = new System.Windows.Forms.ComboBox(); this.TxtPRTempoMaxPerm = new System.Windows.Forms.TextBox(); this.label7 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.BtnCancela = new System.Windows.Forms.Button(); this.btnSalvar = new System.Windows.Forms.Button(); this.BtnNovo = new System.Windows.Forms.Button(); this.BtnExcluir = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); this.GrdItens = new System.Windows.Forms.DataGridView(); this.BtnSalvarPontoRota = new System.Windows.Forms.Button(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.validador1 = new ValidadorWindows.Validador(this.components); this.BtnAlterar = new System.Windows.Forms.Button(); this.label6 = new System.Windows.Forms.Label(); this.validador2 = new ValidadorWindows.Validador(this.components); this.label3 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.TxtROMotivoBloqueio = new System.Windows.Forms.TextBox(); this.PONome = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.PRTipoPontoControle = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.BtnOrdemMenos1 = new System.Windows.Forms.DataGridViewButtonColumn(); this.BtnOrdemMais1 = new System.Windows.Forms.DataGridViewButtonColumn(); this.BtnExcluirPC = new System.Windows.Forms.DataGridViewButtonColumn(); ((System.ComponentModel.ISupportInitialize)(this.GrdItens)).BeginInit(); this.SuspendLayout(); // // TxtROCodigo // this.TxtROCodigo.Location = new System.Drawing.Point(110, 9); this.TxtROCodigo.MaxLength = 8; this.TxtROCodigo.Name = "TxtROCodigo"; this.TxtROCodigo.Size = new System.Drawing.Size(80, 20); this.TxtROCodigo.TabIndex = 1; this.TxtROCodigo.Leave += new System.EventHandler(this.TxtROCodigo_Leave); // // TxtRONome // this.TxtRONome.Location = new System.Drawing.Point(110, 35); this.TxtRONome.MaxLength = 50; this.TxtRONome.Name = "TxtRONome"; this.TxtRONome.Size = new System.Drawing.Size(486, 20); this.TxtRONome.TabIndex = 3; // // TxtRODescricao // this.TxtRODescricao.Location = new System.Drawing.Point(110, 61); this.TxtRODescricao.MaxLength = 255; this.TxtRODescricao.Multiline = true; this.TxtRODescricao.Name = "TxtRODescricao"; this.TxtRODescricao.Size = new System.Drawing.Size(486, 53); this.TxtRODescricao.TabIndex = 5; // // ChkROBloqueada // this.ChkROBloqueada.AutoSize = true; this.ChkROBloqueada.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.ChkROBloqueada.Location = new System.Drawing.Point(46, 121); this.ChkROBloqueada.Name = "ChkROBloqueada"; this.ChkROBloqueada.Size = new System.Drawing.Size(77, 17); this.ChkROBloqueada.TabIndex = 6; this.ChkROBloqueada.Text = "Bloqueada"; this.ChkROBloqueada.UseVisualStyleBackColor = true; // // CboTipoPonto // this.CboTipoPonto.FormattingEnabled = true; this.CboTipoPonto.Items.AddRange(new object[] { "ENTRADA", "SAÍDA" }); this.CboTipoPonto.Location = new System.Drawing.Point(110, 223); this.CboTipoPonto.Name = "CboTipoPonto"; this.CboTipoPonto.Size = new System.Drawing.Size(90, 21); this.CboTipoPonto.TabIndex = 13; this.CboTipoPonto.SelectedIndexChanged += new System.EventHandler(this.CboTipoPonto_SelectedIndexChanged); // // CboPontoControle // this.CboPontoControle.FormattingEnabled = true; this.CboPontoControle.Location = new System.Drawing.Point(110, 253); this.CboPontoControle.Name = "CboPontoControle"; this.CboPontoControle.Size = new System.Drawing.Size(486, 21); this.CboPontoControle.TabIndex = 15; // // TxtPRTempoMaxPerm // this.TxtPRTempoMaxPerm.Location = new System.Drawing.Point(110, 282); this.TxtPRTempoMaxPerm.MaxLength = 8; this.TxtPRTempoMaxPerm.Name = "TxtPRTempoMaxPerm"; this.TxtPRTempoMaxPerm.Size = new System.Drawing.Size(80, 20); this.TxtPRTempoMaxPerm.TabIndex = 17; this.TxtPRTempoMaxPerm.Visible = false; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(69, 12); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(40, 13); this.label7.TabIndex = 0; this.label7.Text = "Código"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(49, 82); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(55, 13); this.label1.TabIndex = 4; this.label1.Text = "Descrição"; // // BtnCancela // this.BtnCancela.Enabled = false; this.BtnCancela.Location = new System.Drawing.Point(303, 176); this.BtnCancela.Name = "BtnCancela"; this.BtnCancela.Size = new System.Drawing.Size(90, 30); this.BtnCancela.TabIndex = 9; this.BtnCancela.Text = "Cancela&r"; this.BtnCancela.UseVisualStyleBackColor = true; this.BtnCancela.Click += new System.EventHandler(this.BtnCancela_Click); // // btnSalvar // this.btnSalvar.Enabled = false; this.btnSalvar.Location = new System.Drawing.Point(207, 176); this.btnSalvar.Name = "btnSalvar"; this.btnSalvar.Size = new System.Drawing.Size(90, 30); this.btnSalvar.TabIndex = 8; this.btnSalvar.Text = "&Salvar"; this.btnSalvar.UseVisualStyleBackColor = true; this.btnSalvar.Click += new System.EventHandler(this.btnSalvar_Click); // // BtnNovo // this.BtnNovo.Location = new System.Drawing.Point(110, 176); this.BtnNovo.Name = "BtnNovo"; this.BtnNovo.Size = new System.Drawing.Size(90, 30); this.BtnNovo.TabIndex = 7; this.BtnNovo.Text = "&Novo"; this.BtnNovo.UseVisualStyleBackColor = true; this.BtnNovo.Click += new System.EventHandler(this.BtnNovo_Click); // // BtnExcluir // this.BtnExcluir.Enabled = false; this.BtnExcluir.Location = new System.Drawing.Point(495, 176); this.BtnExcluir.Name = "BtnExcluir"; this.BtnExcluir.Size = new System.Drawing.Size(90, 30); this.BtnExcluir.TabIndex = 11; this.BtnExcluir.Text = "&Excluir"; this.BtnExcluir.UseVisualStyleBackColor = true; this.BtnExcluir.Click += new System.EventHandler(this.BtnExcluir_Click); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(12, 256); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(92, 13); this.label2.TabIndex = 14; this.label2.Text = "Ponto de Controle"; // // GrdItens // this.GrdItens.AllowUserToAddRows = false; this.GrdItens.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.GrdItens.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.GrdItens.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.PONome, this.PRTipoPontoControle, this.BtnOrdemMenos1, this.BtnOrdemMais1, this.BtnExcluirPC }); this.GrdItens.Location = new System.Drawing.Point(1, 308); this.GrdItens.Name = "GrdItens"; this.GrdItens.RowHeadersWidth = 4; this.GrdItens.Size = new System.Drawing.Size(611, 118); this.GrdItens.TabIndex = 20; this.GrdItens.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.GrdItens_CellClick); // // BtnSalvarPontoRota // this.BtnSalvarPontoRota.Enabled = false; this.BtnSalvarPontoRota.Location = new System.Drawing.Point(262, 280); this.BtnSalvarPontoRota.Name = "BtnSalvarPontoRota"; this.BtnSalvarPontoRota.Size = new System.Drawing.Size(334, 22); this.BtnSalvarPontoRota.TabIndex = 19; this.BtnSalvarPontoRota.Text = "Incluir"; this.BtnSalvarPontoRota.UseVisualStyleBackColor = true; this.BtnSalvarPontoRota.Click += new System.EventHandler(this.BtnSalvarPontoRota_Click); // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(25, 285); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(79, 13); this.label4.TabIndex = 16; this.label4.Text = "Tempo Máximo"; this.label4.Visible = false; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(196, 285); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(60, 13); this.label5.TabIndex = 18; this.label5.Text = "em minutos"; this.label5.Visible = false; // // validador1 // myControl17.CasasDecimais = ((byte)(0)); myControl17.Controle = this.TxtROCodigo; myControl17.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl17.MarcaConteudo = true; myControl17.NomeCampo = "Código"; myControl17.Requerido = false; myControl17.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.Numerico; myControl18.CasasDecimais = ((byte)(0)); myControl18.Controle = this.TxtRONome; myControl18.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl18.MarcaConteudo = true; myControl18.NomeCampo = "Nome"; myControl18.Requerido = true; myControl18.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl19.CasasDecimais = ((byte)(0)); myControl19.Controle = this.TxtRODescricao; myControl19.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl19.MarcaConteudo = true; myControl19.NomeCampo = "Descrição"; myControl19.Requerido = true; myControl19.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl20.CasasDecimais = ((byte)(0)); myControl20.Controle = this.ChkROBloqueada; myControl20.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl20.MarcaConteudo = false; myControl20.NomeCampo = "Rota Ativa"; myControl20.Requerido = false; myControl20.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl21.CasasDecimais = ((byte)(0)); myControl21.Controle = this.TxtROMotivoBloqueio; myControl21.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl21.MarcaConteudo = false; myControl21.NomeCampo = "Motivo do bloqueio"; myControl21.Requerido = false; myControl21.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; this.validador1.Controles.Add(myControl17); this.validador1.Controles.Add(myControl18); this.validador1.Controles.Add(myControl19); this.validador1.Controles.Add(myControl20); this.validador1.Controles.Add(myControl21); // // BtnAlterar // this.BtnAlterar.Enabled = false; this.BtnAlterar.Location = new System.Drawing.Point(399, 176); this.BtnAlterar.Name = "BtnAlterar"; this.BtnAlterar.Size = new System.Drawing.Size(90, 30); this.BtnAlterar.TabIndex = 10; this.BtnAlterar.Text = "&Alterar"; this.BtnAlterar.UseVisualStyleBackColor = true; this.BtnAlterar.Click += new System.EventHandler(this.BtnAlterar_Click); // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(45, 226); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(59, 13); this.label6.TabIndex = 12; this.label6.Text = "Tipo Ponto"; // // validador2 // myControl22.CasasDecimais = ((byte)(0)); myControl22.Controle = this.CboTipoPonto; myControl22.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl22.MarcaConteudo = false; myControl22.NomeCampo = "CboTipoPonto"; myControl22.Requerido = true; myControl22.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl23.CasasDecimais = ((byte)(0)); myControl23.Controle = this.CboPontoControle; myControl23.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl23.MarcaConteudo = false; myControl23.NomeCampo = "CboPontoControle"; myControl23.Requerido = true; myControl23.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl24.CasasDecimais = ((byte)(0)); myControl24.Controle = this.TxtPRTempoMaxPerm; myControl24.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl24.MarcaConteudo = true; myControl24.NomeCampo = "TxtPRTempoMaxPerm"; myControl24.Requerido = true; myControl24.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.Numerico; this.validador2.Controles.Add(myControl22); this.validador2.Controles.Add(myControl23); this.validador2.Controles.Add(myControl24); // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(69, 38); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(35, 13); this.label3.TabIndex = 2; this.label3.Text = "Nome"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(21, 150); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(83, 13); this.label8.TabIndex = 21; this.label8.Text = "Motivo Bloqueio"; // // TxtROMotivoBloqueio // this.TxtROMotivoBloqueio.Location = new System.Drawing.Point(110, 144); this.TxtROMotivoBloqueio.MaxLength = 50; this.TxtROMotivoBloqueio.Name = "TxtROMotivoBloqueio"; this.TxtROMotivoBloqueio.Size = new System.Drawing.Size(486, 20); this.TxtROMotivoBloqueio.TabIndex = 22; // // PONome // this.PONome.DataPropertyName = "PONome"; this.PONome.HeaderText = "Ponto de Controle"; this.PONome.Name = "PONome"; this.PONome.ReadOnly = true; this.PONome.Width = 320; // // PRTipoPontoControle // this.PRTipoPontoControle.DataPropertyName = "PRTipoPontoControle"; this.PRTipoPontoControle.HeaderText = "Tipo"; this.PRTipoPontoControle.Name = "PRTipoPontoControle"; this.PRTipoPontoControle.ReadOnly = true; this.PRTipoPontoControle.Width = 40; // // BtnOrdemMenos1 // this.BtnOrdemMenos1.HeaderText = "Ordem - 1"; this.BtnOrdemMenos1.Name = "BtnOrdemMenos1"; this.BtnOrdemMenos1.Width = 70; // // BtnOrdemMais1 // this.BtnOrdemMais1.HeaderText = "Ordem + 1"; this.BtnOrdemMais1.Name = "BtnOrdemMais1"; this.BtnOrdemMais1.Width = 70; // // BtnExcluirPC // this.BtnExcluirPC.HeaderText = "Excluir"; this.BtnExcluirPC.Name = "BtnExcluirPC"; this.BtnExcluirPC.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.BtnExcluirPC.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.BtnExcluirPC.Width = 50; // // FrmRota // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(611, 423); this.Controls.Add(this.TxtROMotivoBloqueio); this.Controls.Add(this.label8); this.Controls.Add(this.CboTipoPonto); this.Controls.Add(this.label5); this.Controls.Add(this.TxtPRTempoMaxPerm); this.Controls.Add(this.label4); this.Controls.Add(this.BtnSalvarPontoRota); this.Controls.Add(this.GrdItens); this.Controls.Add(this.label6); this.Controls.Add(this.label2); this.Controls.Add(this.CboPontoControle); this.Controls.Add(this.BtnAlterar); this.Controls.Add(this.BtnExcluir); this.Controls.Add(this.BtnCancela); this.Controls.Add(this.BtnNovo); this.Controls.Add(this.btnSalvar); this.Controls.Add(this.ChkROBloqueada); this.Controls.Add(this.TxtRODescricao); this.Controls.Add(this.label1); this.Controls.Add(this.TxtRONome); this.Controls.Add(this.label3); this.Controls.Add(this.TxtROCodigo); this.Controls.Add(this.label7); this.Name = "FrmRota"; this.Text = "Cadastro de Rotas"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmRota_FormClosed); this.Load += new System.EventHandler(this.FrmRota_Load); ((System.ComponentModel.ISupportInitialize)(this.GrdItens)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); ValidadorWindows.MyControl myControl1 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl2 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl3 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl4 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl5 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl6 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl7 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl8 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl9 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl10 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl11 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl12 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl13 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl14 = new ValidadorWindows.MyControl(); this.TxtPoCodigo = new System.Windows.Forms.TextBox(); this.CboPoTipo = new System.Windows.Forms.ComboBox(); this.TxtPoNome = new System.Windows.Forms.TextBox(); this.TxtPoDescricao = new System.Windows.Forms.TextBox(); this.ChkPoBiometria = new System.Windows.Forms.CheckBox(); this.ChkPoCartaoRFID = new System.Windows.Forms.CheckBox(); this.ChkPoSenha = new System.Windows.Forms.CheckBox(); this.TxtPoObservacao = new System.Windows.Forms.TextBox(); this.ChkPoControlaSaida = new System.Windows.Forms.CheckBox(); this.ChkPoDisparaAlarme = new System.Windows.Forms.CheckBox(); this.TxtPoTentativasIndevidaDisparaAlarme = new System.Windows.Forms.TextBox(); this.ChkPoPermiteLiberacaoForcada = new System.Windows.Forms.CheckBox(); this.TxtPoQtdMediaPessoas = new System.Windows.Forms.TextBox(); this.TxtQtdVerificaEquip = new System.Windows.Forms.TextBox(); this.label7 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.BtnCancela = new System.Windows.Forms.Button(); this.btnSalvar = new System.Windows.Forms.Button(); this.validador1 = new ValidadorWindows.Validador(this.components); this.BtnExcluir = new System.Windows.Forms.DataGridViewButtonColumn(); this.BtnAlterar = new System.Windows.Forms.DataGridViewButtonColumn(); this.PONome = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.CrTipo = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.EqCodigo = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.GrdItens = new System.Windows.Forms.DataGridView(); this.label8 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.GrdItens)).BeginInit(); this.SuspendLayout(); // // TxtPoCodigo // this.TxtPoCodigo.Location = new System.Drawing.Point(144, 6); this.TxtPoCodigo.MaxLength = 8; this.TxtPoCodigo.Name = "TxtPoCodigo"; this.TxtPoCodigo.Size = new System.Drawing.Size(80, 20); this.TxtPoCodigo.TabIndex = 2; // // CboPoTipo // this.CboPoTipo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CboPoTipo.FormattingEnabled = true; this.CboPoTipo.Items.AddRange(new object[] { "E", "S", "A" }); this.CboPoTipo.Location = new System.Drawing.Point(144, 32); this.CboPoTipo.Name = "CboPoTipo"; this.CboPoTipo.Size = new System.Drawing.Size(47, 21); this.CboPoTipo.TabIndex = 4; // // TxtPoNome // this.TxtPoNome.Location = new System.Drawing.Point(144, 59); this.TxtPoNome.MaxLength = 50; this.TxtPoNome.Name = "TxtPoNome"; this.TxtPoNome.Size = new System.Drawing.Size(486, 20); this.TxtPoNome.TabIndex = 7; // // TxtPoDescricao // this.TxtPoDescricao.Location = new System.Drawing.Point(144, 85); this.TxtPoDescricao.MaxLength = 255; this.TxtPoDescricao.Multiline = true; this.TxtPoDescricao.Name = "TxtPoDescricao"; this.TxtPoDescricao.Size = new System.Drawing.Size(486, 53); this.TxtPoDescricao.TabIndex = 9; // // ChkPoBiometria // this.ChkPoBiometria.AutoSize = true; this.ChkPoBiometria.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.ChkPoBiometria.Location = new System.Drawing.Point(163, 144); this.ChkPoBiometria.Name = "ChkPoBiometria"; this.ChkPoBiometria.Size = new System.Drawing.Size(287, 17); this.ChkPoBiometria.TabIndex = 10; this.ChkPoBiometria.Text = "Identificar/Autenticar por Biometria da Impressão Digital"; this.ChkPoBiometria.UseVisualStyleBackColor = true; // // ChkPoCartaoRFID // this.ChkPoCartaoRFID.AutoSize = true; this.ChkPoCartaoRFID.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.ChkPoCartaoRFID.Location = new System.Drawing.Point(5, 144); this.ChkPoCartaoRFID.Name = "ChkPoCartaoRFID"; this.ChkPoCartaoRFID.Size = new System.Drawing.Size(152, 17); this.ChkPoCartaoRFID.TabIndex = 11; this.ChkPoCartaoRFID.Text = "Identificar por Cartão RFID"; this.ChkPoCartaoRFID.UseVisualStyleBackColor = true; // // ChkPoSenha // this.ChkPoSenha.AutoSize = true; this.ChkPoSenha.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.ChkPoSenha.Location = new System.Drawing.Point(462, 144); this.ChkPoSenha.Name = "ChkPoSenha"; this.ChkPoSenha.Size = new System.Drawing.Size(170, 17); this.ChkPoSenha.TabIndex = 12; this.ChkPoSenha.Text = "Autenticar por Senha de Rede"; this.ChkPoSenha.UseVisualStyleBackColor = true; // // TxtPoObservacao // this.TxtPoObservacao.Location = new System.Drawing.Point(144, 167); this.TxtPoObservacao.MaxLength = 0; this.TxtPoObservacao.Multiline = true; this.TxtPoObservacao.Name = "TxtPoObservacao"; this.TxtPoObservacao.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.TxtPoObservacao.Size = new System.Drawing.Size(486, 51); this.TxtPoObservacao.TabIndex = 14; // // ChkPoControlaSaida // this.ChkPoControlaSaida.AutoSize = true; this.ChkPoControlaSaida.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.ChkPoControlaSaida.Location = new System.Drawing.Point(524, 288); this.ChkPoControlaSaida.Name = "ChkPoControlaSaida"; this.ChkPoControlaSaida.Size = new System.Drawing.Size(95, 17); this.ChkPoControlaSaida.TabIndex = 15; this.ChkPoControlaSaida.Text = "Controla Saida"; this.ChkPoControlaSaida.UseVisualStyleBackColor = true; this.ChkPoControlaSaida.Visible = false; // // ChkPoDisparaAlarme // this.ChkPoDisparaAlarme.AutoSize = true; this.ChkPoDisparaAlarme.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.ChkPoDisparaAlarme.Location = new System.Drawing.Point(49, 224); this.ChkPoDisparaAlarme.Name = "ChkPoDisparaAlarme"; this.ChkPoDisparaAlarme.Size = new System.Drawing.Size(108, 17); this.ChkPoDisparaAlarme.TabIndex = 16; this.ChkPoDisparaAlarme.Text = "Alarme Habilitado"; this.ChkPoDisparaAlarme.UseVisualStyleBackColor = true; // // TxtPoTentativasIndevidaDisparaAlarme // this.TxtPoTentativasIndevidaDisparaAlarme.Location = new System.Drawing.Point(388, 221); this.TxtPoTentativasIndevidaDisparaAlarme.MaxLength = 2; this.TxtPoTentativasIndevidaDisparaAlarme.Name = "TxtPoTentativasIndevidaDisparaAlarme"; this.TxtPoTentativasIndevidaDisparaAlarme.Size = new System.Drawing.Size(26, 20); this.TxtPoTentativasIndevidaDisparaAlarme.TabIndex = 18; // // ChkPoPermiteLiberacaoForcada // this.ChkPoPermiteLiberacaoForcada.AutoSize = true; this.ChkPoPermiteLiberacaoForcada.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.ChkPoPermiteLiberacaoForcada.Location = new System.Drawing.Point(4, 252); this.ChkPoPermiteLiberacaoForcada.Name = "ChkPoPermiteLiberacaoForcada"; this.ChkPoPermiteLiberacaoForcada.Size = new System.Drawing.Size(153, 17); this.ChkPoPermiteLiberacaoForcada.TabIndex = 19; this.ChkPoPermiteLiberacaoForcada.Text = "Permite Liberação Forçada"; this.ChkPoPermiteLiberacaoForcada.UseVisualStyleBackColor = true; // // TxtPoQtdMediaPessoas // this.TxtPoQtdMediaPessoas.Location = new System.Drawing.Point(331, 251); this.TxtPoQtdMediaPessoas.MaxLength = 8; this.TxtPoQtdMediaPessoas.Name = "TxtPoQtdMediaPessoas"; this.TxtPoQtdMediaPessoas.Size = new System.Drawing.Size(64, 20); this.TxtPoQtdMediaPessoas.TabIndex = 21; // // TxtQtdVerificaEquip // this.TxtQtdVerificaEquip.Location = new System.Drawing.Point(534, 252); this.TxtQtdVerificaEquip.MaxLength = 8; this.TxtQtdVerificaEquip.Name = "TxtQtdVerificaEquip"; this.TxtQtdVerificaEquip.Size = new System.Drawing.Size(64, 20); this.TxtQtdVerificaEquip.TabIndex = 23; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(103, 9); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(40, 13); this.label7.TabIndex = 1; this.label7.Text = "Código"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(64, 35); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(74, 13); this.label4.TabIndex = 3; this.label4.Text = "Tipo de Ponto"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(197, 35); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(221, 13); this.label6.TabIndex = 5; this.label6.Text = "E = Entrada; S = Saida; A = Entrada e Saída;"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(103, 62); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(35, 13); this.label3.TabIndex = 6; this.label3.Text = "Nome"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(83, 88); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(55, 13); this.label1.TabIndex = 8; this.label1.Text = "Descrição"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(68, 186); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(70, 13); this.label2.TabIndex = 13; this.label2.Text = "Observações"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(178, 225); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(206, 13); this.label5.TabIndex = 17; this.label5.Text = "Tentativas Indevidas p/ Disparar o Alarme"; // // BtnCancela // this.BtnCancela.Location = new System.Drawing.Point(240, 275); this.BtnCancela.Name = "BtnCancela"; this.BtnCancela.Size = new System.Drawing.Size(90, 30); this.BtnCancela.TabIndex = 25; this.BtnCancela.Text = "Cancelar"; this.BtnCancela.UseVisualStyleBackColor = true; this.BtnCancela.Click += new System.EventHandler(this.BtnCancela_Click); // // btnSalvar // this.btnSalvar.Location = new System.Drawing.Point(144, 275); this.btnSalvar.Name = "btnSalvar"; this.btnSalvar.Size = new System.Drawing.Size(90, 30); this.btnSalvar.TabIndex = 24; this.btnSalvar.Text = "Salvar"; this.btnSalvar.UseVisualStyleBackColor = true; this.btnSalvar.Click += new System.EventHandler(this.btnSalvar_Click); // // validador1 // myControl1.CasasDecimais = ((byte)(0)); myControl1.Controle = this.TxtPoCodigo; myControl1.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl1.MarcaConteudo = true; myControl1.NomeCampo = "Código"; myControl1.Requerido = true; myControl1.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.Numerico; myControl2.CasasDecimais = ((byte)(0)); myControl2.Controle = this.CboPoTipo; myControl2.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl2.MarcaConteudo = false; myControl2.NomeCampo = "Tipo de Ponto"; myControl2.Requerido = true; myControl2.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl3.CasasDecimais = ((byte)(0)); myControl3.Controle = this.TxtPoNome; myControl3.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl3.MarcaConteudo = false; myControl3.NomeCampo = "Nome"; myControl3.Requerido = true; myControl3.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl4.CasasDecimais = ((byte)(0)); myControl4.Controle = this.TxtPoDescricao; myControl4.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl4.MarcaConteudo = false; myControl4.NomeCampo = "TxtPoDescricao"; myControl4.Requerido = false; myControl4.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl5.CasasDecimais = ((byte)(0)); myControl5.Controle = this.ChkPoBiometria; myControl5.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl5.MarcaConteudo = false; myControl5.NomeCampo = "ChkPoBiometria"; myControl5.Requerido = false; myControl5.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl6.CasasDecimais = ((byte)(0)); myControl6.Controle = this.ChkPoCartaoRFID; myControl6.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl6.MarcaConteudo = false; myControl6.NomeCampo = "ChkRFID"; myControl6.Requerido = false; myControl6.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl7.CasasDecimais = ((byte)(0)); myControl7.Controle = this.ChkPoSenha; myControl7.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl7.MarcaConteudo = false; myControl7.NomeCampo = "ChkSenha"; myControl7.Requerido = false; myControl7.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl8.CasasDecimais = ((byte)(0)); myControl8.Controle = this.TxtPoObservacao; myControl8.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl8.MarcaConteudo = false; myControl8.NomeCampo = "TxtPoObservacao"; myControl8.Requerido = false; myControl8.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl9.CasasDecimais = ((byte)(0)); myControl9.Controle = this.ChkPoControlaSaida; myControl9.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl9.MarcaConteudo = false; myControl9.NomeCampo = "ChkPoControleSaida"; myControl9.Requerido = false; myControl9.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl10.CasasDecimais = ((byte)(0)); myControl10.Controle = this.ChkPoDisparaAlarme; myControl10.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl10.MarcaConteudo = false; myControl10.NomeCampo = "ChkPoDisparaAlarme"; myControl10.Requerido = false; myControl10.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl11.CasasDecimais = ((byte)(0)); myControl11.Controle = this.TxtPoTentativasIndevidaDisparaAlarme; myControl11.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl11.MarcaConteudo = true; myControl11.NomeCampo = "Tentativas indevidas"; myControl11.Requerido = false; myControl11.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl12.CasasDecimais = ((byte)(0)); myControl12.Controle = this.ChkPoPermiteLiberacaoForcada; myControl12.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl12.MarcaConteudo = false; myControl12.NomeCampo = "ChkPoPermiteLiberacaoForcada"; myControl12.Requerido = false; myControl12.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl13.CasasDecimais = ((byte)(0)); myControl13.Controle = this.TxtPoQtdMediaPessoas; myControl13.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl13.MarcaConteudo = false; myControl13.NomeCampo = "Qtd média de pessoas"; myControl13.Requerido = false; myControl13.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.Numerico; myControl14.CasasDecimais = ((byte)(0)); myControl14.Controle = this.TxtQtdVerificaEquip; myControl14.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl14.MarcaConteudo = false; myControl14.NomeCampo = "Qtd de Pessoas que verifica o equipamento"; myControl14.Requerido = false; myControl14.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.Numerico; this.validador1.Controles.Add(myControl1); this.validador1.Controles.Add(myControl2); this.validador1.Controles.Add(myControl3); this.validador1.Controles.Add(myControl4); this.validador1.Controles.Add(myControl5); this.validador1.Controles.Add(myControl6); this.validador1.Controles.Add(myControl7); this.validador1.Controles.Add(myControl8); this.validador1.Controles.Add(myControl9); this.validador1.Controles.Add(myControl10); this.validador1.Controles.Add(myControl11); this.validador1.Controles.Add(myControl12); this.validador1.Controles.Add(myControl13); this.validador1.Controles.Add(myControl14); // // BtnExcluir // this.BtnExcluir.HeaderText = "Excluir"; this.BtnExcluir.Name = "BtnExcluir"; this.BtnExcluir.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.BtnExcluir.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.BtnExcluir.Width = 50; // // BtnAlterar // this.BtnAlterar.HeaderText = "Alterar"; this.BtnAlterar.Name = "BtnAlterar"; this.BtnAlterar.Width = 50; // // PONome // this.PONome.DataPropertyName = "PONome"; this.PONome.HeaderText = "Nome"; this.PONome.Name = "PONome"; this.PONome.ReadOnly = true; this.PONome.Width = 330; // // CrTipo // this.CrTipo.DataPropertyName = "POTipo"; this.CrTipo.HeaderText = "Tipo"; this.CrTipo.Name = "CrTipo"; this.CrTipo.ReadOnly = true; this.CrTipo.Width = 80; // // EqCodigo // this.EqCodigo.DataPropertyName = "POCodigo"; this.EqCodigo.HeaderText = "Código"; this.EqCodigo.Name = "EqCodigo"; this.EqCodigo.ReadOnly = true; this.EqCodigo.Width = 75; // // GrdItens // this.GrdItens.AllowUserToAddRows = false; this.GrdItens.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.GrdItens.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.GrdItens.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.EqCodigo, this.CrTipo, this.PONome, this.BtnAlterar, this.BtnExcluir }); this.GrdItens.Location = new System.Drawing.Point(0, 312); this.GrdItens.Name = "GrdItens"; this.GrdItens.RowHeadersWidth = 4; this.GrdItens.Size = new System.Drawing.Size(644, 150); this.GrdItens.TabIndex = 25; this.GrdItens.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.GrdItens_CellClick); // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(174, 254); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(158, 13); this.label8.TabIndex = 20; this.label8.Text = "Qtd Máxima de Pessoas por Dia"; // // label9 // this.label9.AutoSize = true; this.label9.Location = new System.Drawing.Point(401, 256); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(127, 13); this.label9.TabIndex = 22; this.label9.Text = "Qtd Verifica Equipamento"; // // FrmPontoControle // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(644, 463); this.Controls.Add(this.TxtQtdVerificaEquip); this.Controls.Add(this.TxtPoQtdMediaPessoas); this.Controls.Add(this.label9); this.Controls.Add(this.label8); this.Controls.Add(this.GrdItens); this.Controls.Add(this.BtnCancela); this.Controls.Add(this.btnSalvar); this.Controls.Add(this.ChkPoPermiteLiberacaoForcada); this.Controls.Add(this.TxtPoTentativasIndevidaDisparaAlarme); this.Controls.Add(this.label5); this.Controls.Add(this.ChkPoDisparaAlarme); this.Controls.Add(this.ChkPoControlaSaida); this.Controls.Add(this.TxtPoObservacao); this.Controls.Add(this.label2); this.Controls.Add(this.ChkPoSenha); this.Controls.Add(this.ChkPoCartaoRFID); this.Controls.Add(this.ChkPoBiometria); this.Controls.Add(this.TxtPoDescricao); this.Controls.Add(this.label1); this.Controls.Add(this.TxtPoNome); this.Controls.Add(this.label3); this.Controls.Add(this.label6); this.Controls.Add(this.TxtPoCodigo); this.Controls.Add(this.label7); this.Controls.Add(this.label4); this.Controls.Add(this.CboPoTipo); this.Name = "FrmPontoControle"; this.Text = "Cadastro de Ponto de Controle - PCAP_S"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmPontoControle_FormClosed); this.Load += new System.EventHandler(this.FrmPontoControle_Load); ((System.ComponentModel.ISupportInitialize)(this.GrdItens)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); ValidadorWindows.MyControl myControl1 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl2 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl3 = new ValidadorWindows.MyControl(); this.TxtFOCNPJ = new System.Windows.Forms.TextBox(); this.TxtFoRazaoSocial = new System.Windows.Forms.TextBox(); this.TxtFONomeFantasia = new System.Windows.Forms.TextBox(); this.BtnCancela = new System.Windows.Forms.Button(); this.btnSalvar = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.GrdItens = new System.Windows.Forms.DataGridView(); this.FOCNPJCodigo = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.FORazaoSocial = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.FONomeFantasia = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.BtnAlterar = new System.Windows.Forms.DataGridViewButtonColumn(); this.BtnExcluir = new System.Windows.Forms.DataGridViewButtonColumn(); this.label3 = new System.Windows.Forms.Label(); this.validador1 = new ValidadorWindows.Validador(this.components); ((System.ComponentModel.ISupportInitialize)(this.GrdItens)).BeginInit(); this.SuspendLayout(); // // TxtFOCNPJ // this.TxtFOCNPJ.Location = new System.Drawing.Point(93, 3); this.TxtFOCNPJ.MaxLength = 14; this.TxtFOCNPJ.Name = "TxtFOCNPJ"; this.TxtFOCNPJ.Size = new System.Drawing.Size(126, 20); this.TxtFOCNPJ.TabIndex = 14; // // TxtFoRazaoSocial // this.TxtFoRazaoSocial.Location = new System.Drawing.Point(93, 29); this.TxtFoRazaoSocial.MaxLength = 50; this.TxtFoRazaoSocial.Name = "TxtFoRazaoSocial"; this.TxtFoRazaoSocial.Size = new System.Drawing.Size(486, 20); this.TxtFoRazaoSocial.TabIndex = 15; // // TxtFONomeFantasia // this.TxtFONomeFantasia.Location = new System.Drawing.Point(93, 55); this.TxtFONomeFantasia.MaxLength = 50; this.TxtFONomeFantasia.Name = "TxtFONomeFantasia"; this.TxtFONomeFantasia.Size = new System.Drawing.Size(486, 20); this.TxtFONomeFantasia.TabIndex = 19; // // BtnCancela // this.BtnCancela.Location = new System.Drawing.Point(188, 79); this.BtnCancela.Name = "BtnCancela"; this.BtnCancela.Size = new System.Drawing.Size(90, 30); this.BtnCancela.TabIndex = 16; this.BtnCancela.Text = "Cancelar"; this.BtnCancela.UseVisualStyleBackColor = true; this.BtnCancela.Click += new System.EventHandler(this.BtnCancela_Click); // // btnSalvar // this.btnSalvar.Location = new System.Drawing.Point(93, 79); this.btnSalvar.Name = "btnSalvar"; this.btnSalvar.Size = new System.Drawing.Size(90, 30); this.btnSalvar.TabIndex = 17; this.btnSalvar.Text = "Salvar"; this.btnSalvar.UseVisualStyleBackColor = true; this.btnSalvar.Click += new System.EventHandler(this.btnSalvar_Click); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(17, 36); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(70, 13); this.label2.TabIndex = 12; this.label2.Text = "Razão Social"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(28, 6); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(59, 13); this.label1.TabIndex = 13; this.label1.Text = "CPF/CNPJ"; // // GrdItens // this.GrdItens.AllowUserToAddRows = false; this.GrdItens.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.GrdItens.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.GrdItens.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.FOCNPJCodigo, this.FORazaoSocial, this.FONomeFantasia, this.BtnAlterar, this.BtnExcluir }); this.GrdItens.Location = new System.Drawing.Point(2, 115); this.GrdItens.Name = "GrdItens"; this.GrdItens.RowHeadersWidth = 4; this.GrdItens.Size = new System.Drawing.Size(927, 246); this.GrdItens.TabIndex = 11; this.GrdItens.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.GrdItens_CellClick); // // FOCNPJCodigo // this.FOCNPJCodigo.DataPropertyName = "FOCNPJ"; this.FOCNPJCodigo.HeaderText = "CPF/CNPJ"; this.FOCNPJCodigo.Name = "FOCNPJCodigo"; this.FOCNPJCodigo.ReadOnly = true; this.FOCNPJCodigo.Width = 150; // // FORazaoSocial // this.FORazaoSocial.DataPropertyName = "FORazaoSocial"; this.FORazaoSocial.HeaderText = "Razão Social"; this.FORazaoSocial.Name = "FORazaoSocial"; this.FORazaoSocial.ReadOnly = true; this.FORazaoSocial.Width = 350; // // FONomeFantasia // this.FONomeFantasia.DataPropertyName = "FONomeFantasia"; this.FONomeFantasia.HeaderText = "FONomeFantasia"; this.FONomeFantasia.Name = "FONomeFantasia"; this.FONomeFantasia.ReadOnly = true; this.FONomeFantasia.Width = 250; // // BtnAlterar // this.BtnAlterar.HeaderText = "Alterar"; this.BtnAlterar.Name = "BtnAlterar"; this.BtnAlterar.Width = 50; // // BtnExcluir // this.BtnExcluir.HeaderText = "Excluir"; this.BtnExcluir.Name = "BtnExcluir"; this.BtnExcluir.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.BtnExcluir.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.BtnExcluir.Width = 50; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(9, 62); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(78, 13); this.label3.TabIndex = 18; this.label3.Text = "Nome Fantasia"; // // validador1 // myControl1.CasasDecimais = ((byte)(0)); myControl1.Controle = this.TxtFOCNPJ; myControl1.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.Ambos; myControl1.MarcaConteudo = true; myControl1.NomeCampo = "CPF/CNPJ"; myControl1.Requerido = true; myControl1.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.Numerico; myControl2.CasasDecimais = ((byte)(0)); myControl2.Controle = this.TxtFoRazaoSocial; myControl2.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl2.MarcaConteudo = false; myControl2.NomeCampo = "Razão Social"; myControl2.Requerido = true; myControl2.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl3.CasasDecimais = ((byte)(0)); myControl3.Controle = this.TxtFONomeFantasia; myControl3.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl3.MarcaConteudo = false; myControl3.NomeCampo = "Nome Fantasia"; myControl3.Requerido = true; myControl3.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; this.validador1.Controles.Add(myControl1); this.validador1.Controles.Add(myControl2); this.validador1.Controles.Add(myControl3); // // FrmFornecedor // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(929, 361); this.Controls.Add(this.TxtFONomeFantasia); this.Controls.Add(this.label3); this.Controls.Add(this.BtnCancela); this.Controls.Add(this.btnSalvar); this.Controls.Add(this.TxtFoRazaoSocial); this.Controls.Add(this.TxtFOCNPJ); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.GrdItens); this.Name = "FrmFornecedor"; this.Text = "Cadastro de Fornecedores"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmFornecedor_FormClosed); this.Load += new System.EventHandler(this.FrmFornecedor_Load); ((System.ComponentModel.ISupportInitialize)(this.GrdItens)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); ValidadorWindows.MyControl myControl1 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl2 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl3 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl4 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl5 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl6 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl7 = new ValidadorWindows.MyControl(); this.TxtEqCodigo = new System.Windows.Forms.TextBox(); this.CboFaCodigoFabricante = new System.Windows.Forms.ComboBox(); this.TxtEqNome = new System.Windows.Forms.TextBox(); this.CboEqTipoLibera = new System.Windows.Forms.ComboBox(); this.TxtEqTempoSinal = new System.Windows.Forms.TextBox(); this.ChkEqBloqueado = new System.Windows.Forms.CheckBox(); this.TxtEqTAGRFID = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.CboEqTipoEquipamento = new System.Windows.Forms.ComboBox(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.GrdItens = new System.Windows.Forms.DataGridView(); this.EqCodigo = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.Nome = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.BtnAlterar = new System.Windows.Forms.DataGridViewButtonColumn(); this.BtnExcluir = new System.Windows.Forms.DataGridViewButtonColumn(); this.label6 = new System.Windows.Forms.Label(); this.BtnCancela = new System.Windows.Forms.Button(); this.btnSalvar = new System.Windows.Forms.Button(); this.validador1 = new ValidadorWindows.Validador(this.components); this.label7 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.GrdItens)).BeginInit(); this.SuspendLayout(); // // TxtEqCodigo // this.TxtEqCodigo.Location = new System.Drawing.Point(141, 51); this.TxtEqCodigo.MaxLength = 8; this.TxtEqCodigo.Name = "TxtEqCodigo"; this.TxtEqCodigo.Size = new System.Drawing.Size(80, 20); this.TxtEqCodigo.TabIndex = 3; // // CboFaCodigoFabricante // this.CboFaCodigoFabricante.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CboFaCodigoFabricante.FormattingEnabled = true; this.CboFaCodigoFabricante.Location = new System.Drawing.Point(319, 76); this.CboFaCodigoFabricante.Name = "CboFaCodigoFabricante"; this.CboFaCodigoFabricante.Size = new System.Drawing.Size(486, 21); this.CboFaCodigoFabricante.TabIndex = 5; // // TxtEqNome // this.TxtEqNome.Location = new System.Drawing.Point(431, 130); this.TxtEqNome.MaxLength = 50; this.TxtEqNome.Name = "TxtEqNome"; this.TxtEqNome.Size = new System.Drawing.Size(486, 20); this.TxtEqNome.TabIndex = 7; this.TxtEqNome.Visible = false; // // CboEqTipoLibera // this.CboEqTipoLibera.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CboEqTipoLibera.FormattingEnabled = true; this.CboEqTipoLibera.Items.AddRange(new object[] { "N", "L", "T" }); this.CboEqTipoLibera.Location = new System.Drawing.Point(511, 51); this.CboEqTipoLibera.Name = "CboEqTipoLibera"; this.CboEqTipoLibera.Size = new System.Drawing.Size(80, 21); this.CboEqTipoLibera.TabIndex = 9; // // TxtEqTempoSinal // this.TxtEqTempoSinal.Location = new System.Drawing.Point(319, 51); this.TxtEqTempoSinal.MaxLength = 8; this.TxtEqTempoSinal.Name = "TxtEqTempoSinal"; this.TxtEqTempoSinal.Size = new System.Drawing.Size(80, 20); this.TxtEqTempoSinal.TabIndex = 12; // // ChkEqBloqueado // this.ChkEqBloqueado.AutoSize = true; this.ChkEqBloqueado.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.ChkEqBloqueado.Location = new System.Drawing.Point(80, 78); this.ChkEqBloqueado.Name = "ChkEqBloqueado"; this.ChkEqBloqueado.Size = new System.Drawing.Size(77, 17); this.ChkEqBloqueado.TabIndex = 13; this.ChkEqBloqueado.Text = "Bloqueado"; this.ChkEqBloqueado.UseVisualStyleBackColor = true; // // TxtEqTAGRFID // this.TxtEqTAGRFID.Location = new System.Drawing.Point(144, 102); this.TxtEqTAGRFID.MaxLength = 50; this.TxtEqTAGRFID.Name = "TxtEqTAGRFID"; this.TxtEqTAGRFID.Size = new System.Drawing.Size(486, 20); this.TxtEqTAGRFID.TabIndex = 15; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(27, 12); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(108, 13); this.label1.TabIndex = 0; this.label1.Text = "Tipo de Equipamento"; // // CboEqTipoEquipamento // this.CboEqTipoEquipamento.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CboEqTipoEquipamento.FormattingEnabled = true; this.CboEqTipoEquipamento.Location = new System.Drawing.Point(141, 9); this.CboEqTipoEquipamento.Name = "CboEqTipoEquipamento"; this.CboEqTipoEquipamento.Size = new System.Drawing.Size(486, 21); this.CboEqTipoEquipamento.TabIndex = 1; this.CboEqTipoEquipamento.SelectedIndexChanged += new System.EventHandler(this.CboEqTipoEquipamento_SelectedIndexChanged); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(256, 82); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(57, 13); this.label2.TabIndex = 4; this.label2.Text = "Fabricante"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(390, 132); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(35, 13); this.label3.TabIndex = 6; this.label3.Text = "Nome"; this.label3.Visible = false; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(412, 55); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(93, 13); this.label4.TabIndex = 8; this.label4.Text = "Tipo de Liberação"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(232, 57); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(81, 13); this.label5.TabIndex = 11; this.label5.Text = "Tempo do Sinal"; // // GrdItens // this.GrdItens.AllowUserToAddRows = false; this.GrdItens.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.GrdItens.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.GrdItens.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.EqCodigo, this.Nome, this.BtnAlterar, this.BtnExcluir }); this.GrdItens.Location = new System.Drawing.Point(1, 160); this.GrdItens.Name = "GrdItens"; this.GrdItens.RowHeadersWidth = 4; this.GrdItens.Size = new System.Drawing.Size(934, 355); this.GrdItens.TabIndex = 18; this.GrdItens.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.GrdItens_CellClick); this.GrdItens.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.GrdItens_CellContentClick); this.GrdItens.DataBindingComplete += new System.Windows.Forms.DataGridViewBindingCompleteEventHandler(this.GrdItens_DataBindingComplete); // // EqCodigo // this.EqCodigo.DataPropertyName = "EqCodigo"; this.EqCodigo.HeaderText = "Código"; this.EqCodigo.Name = "EqCodigo"; this.EqCodigo.ReadOnly = true; this.EqCodigo.Width = 50; // // Nome // this.Nome.DataPropertyName = "EqTAGRFID"; this.Nome.HeaderText = "TAG RFID"; this.Nome.Name = "Nome"; this.Nome.ReadOnly = true; this.Nome.Width = 300; // // BtnAlterar // this.BtnAlterar.HeaderText = "Alterar"; this.BtnAlterar.Name = "BtnAlterar"; this.BtnAlterar.Width = 50; // // BtnExcluir // this.BtnExcluir.HeaderText = "Excluir"; this.BtnExcluir.Name = "BtnExcluir"; this.BtnExcluir.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.BtnExcluir.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.BtnExcluir.Width = 50; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(597, 55); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(244, 13); this.label6.TabIndex = 10; this.label6.Text = "N = Não se aplica; L = Liga Libera; T = Liga Trava"; this.label6.Visible = false; // // BtnCancela // this.BtnCancela.Location = new System.Drawing.Point(239, 127); this.BtnCancela.Name = "BtnCancela"; this.BtnCancela.Size = new System.Drawing.Size(90, 30); this.BtnCancela.TabIndex = 17; this.BtnCancela.Text = "Cancelar"; this.BtnCancela.UseVisualStyleBackColor = true; this.BtnCancela.Click += new System.EventHandler(this.BtnCancela_Click); // // btnSalvar // this.btnSalvar.Location = new System.Drawing.Point(143, 127); this.btnSalvar.Name = "btnSalvar"; this.btnSalvar.Size = new System.Drawing.Size(90, 30); this.btnSalvar.TabIndex = 16; this.btnSalvar.Text = "Salvar"; this.btnSalvar.UseVisualStyleBackColor = true; this.btnSalvar.Click += new System.EventHandler(this.btnSalvar_Click); // // validador1 // myControl1.CasasDecimais = ((byte)(0)); myControl1.Controle = this.TxtEqCodigo; myControl1.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl1.MarcaConteudo = false; myControl1.NomeCampo = "Código"; myControl1.Requerido = false; myControl1.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.Numerico; myControl2.CasasDecimais = ((byte)(0)); myControl2.Controle = this.CboFaCodigoFabricante; myControl2.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl2.MarcaConteudo = false; myControl2.NomeCampo = "Fabricante"; myControl2.Requerido = true; myControl2.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl3.CasasDecimais = ((byte)(0)); myControl3.Controle = this.TxtEqNome; myControl3.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl3.MarcaConteudo = false; myControl3.NomeCampo = "Nome"; myControl3.Requerido = false; myControl3.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl4.CasasDecimais = ((byte)(0)); myControl4.Controle = this.CboEqTipoLibera; myControl4.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl4.MarcaConteudo = false; myControl4.NomeCampo = "Tipo de Liberação"; myControl4.Requerido = false; myControl4.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl5.CasasDecimais = ((byte)(0)); myControl5.Controle = this.TxtEqTempoSinal; myControl5.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl5.MarcaConteudo = false; myControl5.NomeCampo = "Tempo do Sinal"; myControl5.Requerido = false; myControl5.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.Numerico; myControl6.CasasDecimais = ((byte)(0)); myControl6.Controle = this.ChkEqBloqueado; myControl6.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl6.MarcaConteudo = false; myControl6.NomeCampo = "ChkEqBloqueado"; myControl6.Requerido = false; myControl6.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl7.CasasDecimais = ((byte)(0)); myControl7.Controle = this.TxtEqTAGRFID; myControl7.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl7.MarcaConteudo = false; myControl7.NomeCampo = "TxtEqTAGRFID"; myControl7.Requerido = true; myControl7.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; this.validador1.Controles.Add(myControl1); this.validador1.Controles.Add(myControl2); this.validador1.Controles.Add(myControl3); this.validador1.Controles.Add(myControl4); this.validador1.Controles.Add(myControl5); this.validador1.Controles.Add(myControl6); this.validador1.Controles.Add(myControl7); // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(95, 54); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(40, 13); this.label7.TabIndex = 2; this.label7.Text = "Código"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(81, 105); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(57, 13); this.label8.TabIndex = 14; this.label8.Text = "TAG RFID"; // // FrmEquipamento // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(934, 513); this.Controls.Add(this.TxtEqTAGRFID); this.Controls.Add(this.ChkEqBloqueado); this.Controls.Add(this.label8); this.Controls.Add(this.TxtEqCodigo); this.Controls.Add(this.label7); this.Controls.Add(this.BtnCancela); this.Controls.Add(this.btnSalvar); this.Controls.Add(this.label6); this.Controls.Add(this.GrdItens); this.Controls.Add(this.TxtEqTempoSinal); this.Controls.Add(this.label5); this.Controls.Add(this.label4); this.Controls.Add(this.CboEqTipoLibera); this.Controls.Add(this.TxtEqNome); this.Controls.Add(this.label3); this.Controls.Add(this.CboFaCodigoFabricante); this.Controls.Add(this.label2); this.Controls.Add(this.CboEqTipoEquipamento); this.Controls.Add(this.label1); this.Name = "FrmEquipamento"; this.Text = "Cadastro de Equipamentos EPP_S"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmEquipamento_FormClosed); this.Load += new System.EventHandler(this.FrmEquipamento_Load); ((System.ComponentModel.ISupportInitialize)(this.GrdItens)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); ValidadorWindows.MyControl myControl1 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl2 = new ValidadorWindows.MyControl(); this.TxtFaCodigo = new System.Windows.Forms.TextBox(); this.TxtFaNome = new System.Windows.Forms.TextBox(); this.BtnCancela = new System.Windows.Forms.Button(); this.btnSalvar = new System.Windows.Forms.Button(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.GrdItens = new System.Windows.Forms.DataGridView(); this.validador1 = new ValidadorWindows.Validador(this.components); this.FaCodigo = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.FaNome = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.BtnAlterar = new System.Windows.Forms.DataGridViewButtonColumn(); this.BtnExcluir = new System.Windows.Forms.DataGridViewButtonColumn(); ((System.ComponentModel.ISupportInitialize)(this.GrdItens)).BeginInit(); this.SuspendLayout(); // // TxtFaCodigo // this.TxtFaCodigo.Location = new System.Drawing.Point(77, 6); this.TxtFaCodigo.MaxLength = 3; this.TxtFaCodigo.Name = "TxtFaCodigo"; this.TxtFaCodigo.Size = new System.Drawing.Size(48, 20); this.TxtFaCodigo.TabIndex = 7; // // TxtFaNome // this.TxtFaNome.Location = new System.Drawing.Point(77, 32); this.TxtFaNome.MaxLength = 50; this.TxtFaNome.Name = "TxtFaNome"; this.TxtFaNome.Size = new System.Drawing.Size(486, 20); this.TxtFaNome.TabIndex = 8; // // BtnCancela // this.BtnCancela.Location = new System.Drawing.Point(173, 58); this.BtnCancela.Name = "BtnCancela"; this.BtnCancela.Size = new System.Drawing.Size(90, 30); this.BtnCancela.TabIndex = 9; this.BtnCancela.Text = "Cancelar"; this.BtnCancela.UseVisualStyleBackColor = true; this.BtnCancela.Click += new System.EventHandler(this.BtnCancela_Click); // // btnSalvar // this.btnSalvar.Location = new System.Drawing.Point(77, 58); this.btnSalvar.Name = "btnSalvar"; this.btnSalvar.Size = new System.Drawing.Size(90, 30); this.btnSalvar.TabIndex = 10; this.btnSalvar.Text = "Salvar"; this.btnSalvar.UseVisualStyleBackColor = true; this.btnSalvar.Click += new System.EventHandler(this.btnSalvar_Click); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(36, 39); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(35, 13); this.label2.TabIndex = 5; this.label2.Text = "Nome"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(31, 9); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(40, 13); this.label1.TabIndex = 6; this.label1.Text = "Código"; // // GrdItens // this.GrdItens.AllowUserToAddRows = false; this.GrdItens.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.GrdItens.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.GrdItens.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.FaCodigo, this.FaNome, this.BtnAlterar, this.BtnExcluir }); this.GrdItens.Location = new System.Drawing.Point(3, 91); this.GrdItens.Name = "GrdItens"; this.GrdItens.RowHeadersWidth = 4; this.GrdItens.Size = new System.Drawing.Size(586, 171); this.GrdItens.TabIndex = 4; this.GrdItens.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.GrdItens_CellClick); // // validador1 // myControl1.CasasDecimais = ((byte)(0)); myControl1.Controle = this.TxtFaCodigo; myControl1.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl1.MarcaConteudo = false; myControl1.NomeCampo = "Código"; myControl1.Requerido = true; myControl1.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.Numerico; myControl2.CasasDecimais = ((byte)(0)); myControl2.Controle = this.TxtFaNome; myControl2.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl2.MarcaConteudo = false; myControl2.NomeCampo = "Descrição"; myControl2.Requerido = true; myControl2.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; this.validador1.Controles.Add(myControl1); this.validador1.Controles.Add(myControl2); // // FaCodigo // this.FaCodigo.DataPropertyName = "FaCodigo"; this.FaCodigo.HeaderText = "Código"; this.FaCodigo.Name = "FaCodigo"; this.FaCodigo.ReadOnly = true; // // FaNome // this.FaNome.DataPropertyName = "FaNome"; this.FaNome.HeaderText = "Descrição"; this.FaNome.Name = "FaNome"; this.FaNome.ReadOnly = true; this.FaNome.Width = 350; // // BtnAlterar // this.BtnAlterar.HeaderText = "Alterar"; this.BtnAlterar.Name = "BtnAlterar"; this.BtnAlterar.Width = 50; // // BtnExcluir // this.BtnExcluir.HeaderText = "Excluir"; this.BtnExcluir.Name = "BtnExcluir"; this.BtnExcluir.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.BtnExcluir.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.BtnExcluir.Width = 50; // // FrmFabricante // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(590, 262); this.Controls.Add(this.BtnCancela); this.Controls.Add(this.btnSalvar); this.Controls.Add(this.TxtFaNome); this.Controls.Add(this.TxtFaCodigo); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.GrdItens); this.Name = "FrmFabricante"; this.Text = "Cadastro de Fabricantes"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmFabricante_FormClosed); this.Load += new System.EventHandler(this.FrmFabricante_Load); ((System.ComponentModel.ISupportInitialize)(this.GrdItens)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); ValidadorWindows.MyControl myControl1 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl2 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl3 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl4 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl5 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl6 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl7 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl8 = new ValidadorWindows.MyControl(); this.MskDataInicio = new System.Windows.Forms.MaskedTextBox(); this.MskDataFim = new System.Windows.Forms.MaskedTextBox(); this.CboTipoPonto = new System.Windows.Forms.ComboBox(); this.CboPonto = new System.Windows.Forms.ComboBox(); this.CboTipoAcesso = new System.Windows.Forms.ComboBox(); this.CboTipoUsuario = new System.Windows.Forms.ComboBox(); this.TxtCodigoUsuario = new System.Windows.Forms.TextBox(); this.LblUsuario = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.BtnLimpar = new System.Windows.Forms.Button(); this.BtnConsultar = new System.Windows.Forms.Button(); this.BtnCancelar = new System.Windows.Forms.Button(); this.validador1 = new ValidadorWindows.Validador(this.components); this.SuspendLayout(); // // MskDataInicio // this.MskDataInicio.Location = new System.Drawing.Point(99, 10); this.MskDataInicio.Mask = "##/##/####"; this.MskDataInicio.Name = "MskDataInicio"; this.MskDataInicio.PromptChar = ' '; this.MskDataInicio.Size = new System.Drawing.Size(70, 20); this.MskDataInicio.TabIndex = 1; // // MskDataFim // this.MskDataFim.Location = new System.Drawing.Point(194, 10); this.MskDataFim.Mask = "##/##/####"; this.MskDataFim.Name = "MskDataFim"; this.MskDataFim.PromptChar = ' '; this.MskDataFim.Size = new System.Drawing.Size(73, 20); this.MskDataFim.TabIndex = 3; // // CboTipoPonto // this.CboTipoPonto.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CboTipoPonto.FormattingEnabled = true; this.CboTipoPonto.Items.AddRange(new object[] { "TODOS", "ENTRADA", "SAÍDA" }); this.CboTipoPonto.Location = new System.Drawing.Point(410, 9); this.CboTipoPonto.Name = "CboTipoPonto"; this.CboTipoPonto.Size = new System.Drawing.Size(193, 21); this.CboTipoPonto.TabIndex = 5; this.CboTipoPonto.SelectedIndexChanged += new System.EventHandler(this.CboTipoPonto_SelectedIndexChanged); // // CboPonto // this.CboPonto.FormattingEnabled = true; this.CboPonto.Location = new System.Drawing.Point(102, 37); this.CboPonto.Name = "CboPonto"; this.CboPonto.Size = new System.Drawing.Size(506, 21); this.CboPonto.TabIndex = 7; // // CboTipoAcesso // this.CboTipoAcesso.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CboTipoAcesso.FormattingEnabled = true; this.CboTipoAcesso.Items.AddRange(new object[] { "TODOS", "FORÇADOS", "PERMITIDOS", "NEGADOS" }); this.CboTipoAcesso.Location = new System.Drawing.Point(102, 66); this.CboTipoAcesso.Name = "CboTipoAcesso"; this.CboTipoAcesso.Size = new System.Drawing.Size(202, 21); this.CboTipoAcesso.TabIndex = 9; // // CboTipoUsuario // this.CboTipoUsuario.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.CboTipoUsuario.FormattingEnabled = true; this.CboTipoUsuario.Items.AddRange(new object[] { "TODOS", "CONTRATADO", "EMPREGADO", "ESTAGIÁRIO", "VISITANTE" }); this.CboTipoUsuario.Location = new System.Drawing.Point(398, 66); this.CboTipoUsuario.Name = "CboTipoUsuario"; this.CboTipoUsuario.Size = new System.Drawing.Size(208, 21); this.CboTipoUsuario.TabIndex = 11; this.CboTipoUsuario.SelectedIndexChanged += new System.EventHandler(this.CboTipoUsuario_SelectedIndexChanged); // // TxtCodigoUsuario // this.TxtCodigoUsuario.Enabled = false; this.TxtCodigoUsuario.Location = new System.Drawing.Point(102, 97); this.TxtCodigoUsuario.Name = "TxtCodigoUsuario"; this.TxtCodigoUsuario.Size = new System.Drawing.Size(70, 20); this.TxtCodigoUsuario.TabIndex = 13; this.TxtCodigoUsuario.TextChanged += new System.EventHandler(this.TxtCodigoUsuario_TextChanged); this.TxtCodigoUsuario.Leave += new System.EventHandler(this.TxtCodigoUsuario_Leave); // // LblUsuario // this.LblUsuario.BackColor = System.Drawing.Color.White; this.LblUsuario.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.LblUsuario.Location = new System.Drawing.Point(173, 97); this.LblUsuario.Name = "LblUsuario"; this.LblUsuario.Size = new System.Drawing.Size(433, 20); this.LblUsuario.TabIndex = 14; this.LblUsuario.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(8, 13); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(85, 13); this.label1.TabIndex = 0; this.label1.Text = "Período -> Entre"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(175, 13); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(13, 13); this.label2.TabIndex = 2; this.label2.Text = "e"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(4, 41); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(92, 13); this.label3.TabIndex = 6; this.label3.Text = "Ponto de Controle"; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(310, 69); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(82, 13); this.label4.TabIndex = 10; this.label4.Text = "Tipo de Usuário"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(53, 100); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(43, 13); this.label5.TabIndex = 12; this.label5.Text = "Usuário"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(273, 13); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(131, 13); this.label7.TabIndex = 4; this.label7.Text = "Tipo de Ponto de Controle"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(15, 71); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(81, 13); this.label8.TabIndex = 8; this.label8.Text = "Tipo de Acesso"; // // BtnLimpar // this.BtnLimpar.Location = new System.Drawing.Point(366, 129); this.BtnLimpar.Name = "BtnLimpar"; this.BtnLimpar.Size = new System.Drawing.Size(117, 46); this.BtnLimpar.TabIndex = 16; this.BtnLimpar.Text = "&Limpar Critérios"; this.BtnLimpar.UseVisualStyleBackColor = true; this.BtnLimpar.Click += new System.EventHandler(this.BtnLimpar_Click); // // BtnConsultar // this.BtnConsultar.Location = new System.Drawing.Point(489, 129); this.BtnConsultar.Name = "BtnConsultar"; this.BtnConsultar.Size = new System.Drawing.Size(117, 46); this.BtnConsultar.TabIndex = 17; this.BtnConsultar.Text = "&Consultar"; this.BtnConsultar.UseVisualStyleBackColor = true; this.BtnConsultar.Click += new System.EventHandler(this.BtnConsultar_Click); // // BtnCancelar // this.BtnCancelar.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.BtnCancelar.Location = new System.Drawing.Point(243, 129); this.BtnCancelar.Name = "BtnCancelar"; this.BtnCancelar.Size = new System.Drawing.Size(117, 46); this.BtnCancelar.TabIndex = 15; this.BtnCancelar.Text = "&Cancelar"; this.BtnCancelar.UseVisualStyleBackColor = true; this.BtnCancelar.Click += new System.EventHandler(this.BtnCancelar_Click); // // validador1 // myControl1.CasasDecimais = ((byte)(0)); myControl1.Controle = this.MskDataInicio; myControl1.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl1.MarcaConteudo = false; myControl1.NomeCampo = "Data de Início"; myControl1.Requerido = false; myControl1.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl2.CasasDecimais = ((byte)(0)); myControl2.Controle = this.MskDataFim; myControl2.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl2.MarcaConteudo = false; myControl2.NomeCampo = "Data Final"; myControl2.Requerido = false; myControl2.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl3.CasasDecimais = ((byte)(0)); myControl3.Controle = this.CboTipoPonto; myControl3.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl3.MarcaConteudo = false; myControl3.NomeCampo = "Tipo de Ponto"; myControl3.Requerido = false; myControl3.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl4.CasasDecimais = ((byte)(0)); myControl4.Controle = this.CboPonto; myControl4.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl4.MarcaConteudo = false; myControl4.NomeCampo = "Ponto de Controle"; myControl4.Requerido = false; myControl4.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl5.CasasDecimais = ((byte)(0)); myControl5.Controle = this.CboTipoAcesso; myControl5.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl5.MarcaConteudo = false; myControl5.NomeCampo = "Tipo de Acesso"; myControl5.Requerido = false; myControl5.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl6.CasasDecimais = ((byte)(0)); myControl6.Controle = this.CboTipoUsuario; myControl6.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl6.MarcaConteudo = false; myControl6.NomeCampo = "Tipo de Usuário"; myControl6.Requerido = false; myControl6.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl7.CasasDecimais = ((byte)(0)); myControl7.Controle = this.TxtCodigoUsuario; myControl7.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl7.MarcaConteudo = true; myControl7.NomeCampo = "Código do Usuário"; myControl7.Requerido = false; myControl7.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.Numerico; myControl8.CasasDecimais = ((byte)(0)); myControl8.Controle = this.LblUsuario; myControl8.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl8.MarcaConteudo = false; myControl8.NomeCampo = "Usuário"; myControl8.Requerido = false; myControl8.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; this.validador1.Controles.Add(myControl1); this.validador1.Controles.Add(myControl2); this.validador1.Controles.Add(myControl3); this.validador1.Controles.Add(myControl4); this.validador1.Controles.Add(myControl5); this.validador1.Controles.Add(myControl6); this.validador1.Controles.Add(myControl7); this.validador1.Controles.Add(myControl8); // // FrmFiltro // this.AcceptButton = this.BtnConsultar; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.BtnCancelar; this.ClientSize = new System.Drawing.Size(615, 183); this.Controls.Add(this.BtnCancelar); this.Controls.Add(this.BtnConsultar); this.Controls.Add(this.BtnLimpar); this.Controls.Add(this.CboTipoAcesso); this.Controls.Add(this.label8); this.Controls.Add(this.CboTipoPonto); this.Controls.Add(this.label7); this.Controls.Add(this.LblUsuario); this.Controls.Add(this.TxtCodigoUsuario); this.Controls.Add(this.label5); this.Controls.Add(this.CboTipoUsuario); this.Controls.Add(this.label4); this.Controls.Add(this.CboPonto); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.MskDataFim); this.Controls.Add(this.MskDataInicio); this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MaximizeBox = false; this.Name = "FrmFiltro"; this.Text = "Selecionar registros de tentativas de acessos RTA_USR a partir dos filtros seleci" + "onados"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmFiltro_FormClosed); this.Load += new System.EventHandler(this.FrmFiltro_Load); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); ValidadorWindows.MyControl myControl1 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl2 = new ValidadorWindows.MyControl(); this.TxtTECodigo = new System.Windows.Forms.TextBox(); this.TxtTEDescricao = new System.Windows.Forms.TextBox(); this.GrdItens = new System.Windows.Forms.DataGridView(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.btnSalvar = new System.Windows.Forms.Button(); this.validador1 = new ValidadorWindows.Validador(this.components); this.BtnCancela = new System.Windows.Forms.Button(); this.ChkTEEPI = new System.Windows.Forms.CheckBox(); this.EqCodigo = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.EqDescricao = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.BtnAlterar = new System.Windows.Forms.DataGridViewButtonColumn(); this.BtnExcluir = new System.Windows.Forms.DataGridViewButtonColumn(); ((System.ComponentModel.ISupportInitialize)(this.GrdItens)).BeginInit(); this.SuspendLayout(); // // TxtTECodigo // this.TxtTECodigo.Location = new System.Drawing.Point(75, 10); this.TxtTECodigo.MaxLength = 3; this.TxtTECodigo.Name = "TxtTECodigo"; this.TxtTECodigo.Size = new System.Drawing.Size(48, 20); this.TxtTECodigo.TabIndex = 1; // // TxtTEDescricao // this.TxtTEDescricao.Location = new System.Drawing.Point(75, 36); this.TxtTEDescricao.MaxLength = 50; this.TxtTEDescricao.Name = "TxtTEDescricao"; this.TxtTEDescricao.Size = new System.Drawing.Size(486, 20); this.TxtTEDescricao.TabIndex = 3; // // GrdItens // this.GrdItens.AllowUserToAddRows = false; this.GrdItens.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.GrdItens.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.GrdItens.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.EqCodigo, this.EqDescricao, this.BtnAlterar, this.BtnExcluir }); this.GrdItens.Location = new System.Drawing.Point(1, 108); this.GrdItens.Name = "GrdItens"; this.GrdItens.RowHeadersWidth = 4; this.GrdItens.Size = new System.Drawing.Size(622, 193); this.GrdItens.TabIndex = 7; this.GrdItens.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.GrdItens_CellClick); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(31, 13); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(40, 13); this.label1.TabIndex = 0; this.label1.Text = "Código"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(36, 43); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(35, 13); this.label2.TabIndex = 2; this.label2.Text = "Nome"; // // btnSalvar // this.btnSalvar.Location = new System.Drawing.Point(75, 62); this.btnSalvar.Name = "btnSalvar"; this.btnSalvar.Size = new System.Drawing.Size(90, 40); this.btnSalvar.TabIndex = 5; this.btnSalvar.Text = "Salvar"; this.btnSalvar.UseVisualStyleBackColor = true; this.btnSalvar.Click += new System.EventHandler(this.btnSalvar_Click); // // validador1 // myControl1.CasasDecimais = ((byte)(0)); myControl1.Controle = this.TxtTECodigo; myControl1.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl1.MarcaConteudo = true; myControl1.NomeCampo = "Código"; myControl1.Requerido = false; myControl1.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.Numerico; myControl2.CasasDecimais = ((byte)(0)); myControl2.Controle = this.TxtTEDescricao; myControl2.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl2.MarcaConteudo = false; myControl2.NomeCampo = "Descrição"; myControl2.Requerido = true; myControl2.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; this.validador1.Controles.Add(myControl1); this.validador1.Controles.Add(myControl2); // // BtnCancela // this.BtnCancela.Location = new System.Drawing.Point(165, 62); this.BtnCancela.Name = "BtnCancela"; this.BtnCancela.Size = new System.Drawing.Size(90, 40); this.BtnCancela.TabIndex = 6; this.BtnCancela.Text = "Cancelar"; this.BtnCancela.UseVisualStyleBackColor = true; this.BtnCancela.Click += new System.EventHandler(this.BtnCancela_Click); // // ChkTEEPI // this.ChkTEEPI.AutoSize = true; this.ChkTEEPI.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; this.ChkTEEPI.Location = new System.Drawing.Point(327, 75); this.ChkTEEPI.Name = "ChkTEEPI"; this.ChkTEEPI.Size = new System.Drawing.Size(43, 17); this.ChkTEEPI.TabIndex = 4; this.ChkTEEPI.Text = "EPI"; this.ChkTEEPI.UseVisualStyleBackColor = true; this.ChkTEEPI.Visible = false; // // EqCodigo // this.EqCodigo.DataPropertyName = "TECodigo"; this.EqCodigo.HeaderText = "Código"; this.EqCodigo.Name = "EqCodigo"; this.EqCodigo.ReadOnly = true; this.EqCodigo.Width = 60; // // EqDescricao // this.EqDescricao.DataPropertyName = "TEDescricao"; this.EqDescricao.HeaderText = "Nome"; this.EqDescricao.Name = "EqDescricao"; this.EqDescricao.ReadOnly = true; this.EqDescricao.Width = 350; // // BtnAlterar // this.BtnAlterar.HeaderText = "Alterar"; this.BtnAlterar.Name = "BtnAlterar"; this.BtnAlterar.Width = 50; // // BtnExcluir // this.BtnExcluir.HeaderText = "Excluir"; this.BtnExcluir.Name = "BtnExcluir"; this.BtnExcluir.Resizable = System.Windows.Forms.DataGridViewTriState.True; this.BtnExcluir.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.BtnExcluir.Width = 50; // // FrmTipoEquipamento // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(623, 301); this.Controls.Add(this.ChkTEEPI); this.Controls.Add(this.BtnCancela); this.Controls.Add(this.btnSalvar); this.Controls.Add(this.TxtTEDescricao); this.Controls.Add(this.TxtTECodigo); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.GrdItens); this.Name = "FrmTipoEquipamento"; this.Text = "Cadastro de Tipo de Equipamento"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmEquipamento_FormClosed); this.Load += new System.EventHandler(this.FrmEquipamento_Load); ((System.ComponentModel.ISupportInitialize)(this.GrdItens)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); ValidadorWindows.MyControl myControl10 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl11 = new ValidadorWindows.MyControl(); ValidadorWindows.MyControl myControl12 = new ValidadorWindows.MyControl(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.TxtPATempoExpiraSaida = new System.Windows.Forms.TextBox(); this.TxtPAServidorDominio = new System.Windows.Forms.TextBox(); this.TxtPAServidorCorreio = new System.Windows.Forms.TextBox(); this.BtnCancela = new System.Windows.Forms.Button(); this.btnSalvar = new System.Windows.Forms.Button(); this.validador1 = new ValidadorWindows.Validador(this.components); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(12, 23); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(204, 13); this.label1.TabIndex = 0; this.label1.Text = "Tempo de expiração automática de saída"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(66, 45); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(150, 13); this.label2.TabIndex = 2; this.label2.Text = "Nome do Servidor de Domínio"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(73, 67); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(143, 13); this.label3.TabIndex = 4; this.label3.Text = "Nome do Servidor de Correio"; // // TxtPATempoExpiraSaida // this.TxtPATempoExpiraSaida.Location = new System.Drawing.Point(222, 16); this.TxtPATempoExpiraSaida.MaxLength = 15; this.TxtPATempoExpiraSaida.Name = "TxtPATempoExpiraSaida"; this.TxtPATempoExpiraSaida.Size = new System.Drawing.Size(108, 20); this.TxtPATempoExpiraSaida.TabIndex = 1; // // TxtPAServidorDominio // this.TxtPAServidorDominio.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.TxtPAServidorDominio.Location = new System.Drawing.Point(222, 42); this.TxtPAServidorDominio.MaxLength = 100; this.TxtPAServidorDominio.Name = "TxtPAServidorDominio"; this.TxtPAServidorDominio.Size = new System.Drawing.Size(641, 20); this.TxtPAServidorDominio.TabIndex = 3; // // TxtPAServidorCorreio // this.TxtPAServidorCorreio.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.TxtPAServidorCorreio.Location = new System.Drawing.Point(222, 67); this.TxtPAServidorCorreio.MaxLength = 100; this.TxtPAServidorCorreio.Name = "TxtPAServidorCorreio"; this.TxtPAServidorCorreio.Size = new System.Drawing.Size(641, 20); this.TxtPAServidorCorreio.TabIndex = 5; // // BtnCancela // this.BtnCancela.Location = new System.Drawing.Point(772, 93); this.BtnCancela.Name = "BtnCancela"; this.BtnCancela.Size = new System.Drawing.Size(90, 30); this.BtnCancela.TabIndex = 7; this.BtnCancela.Text = "Cancelar"; this.BtnCancela.UseVisualStyleBackColor = true; this.BtnCancela.Click += new System.EventHandler(this.BtnCancela_Click); // // btnSalvar // this.btnSalvar.Location = new System.Drawing.Point(676, 93); this.btnSalvar.Name = "btnSalvar"; this.btnSalvar.Size = new System.Drawing.Size(90, 30); this.btnSalvar.TabIndex = 6; this.btnSalvar.Text = "Salvar"; this.btnSalvar.UseVisualStyleBackColor = true; this.btnSalvar.Click += new System.EventHandler(this.btnSalvar_Click); // // validador1 // myControl10.CasasDecimais = ((byte)(0)); myControl10.Controle = this.TxtPATempoExpiraSaida; myControl10.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl10.MarcaConteudo = true; myControl10.NomeCampo = "Tempo de Expiração da Saída"; myControl10.Requerido = true; myControl10.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.Numerico; myControl11.CasasDecimais = ((byte)(0)); myControl11.Controle = this.TxtPAServidorDominio; myControl11.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl11.MarcaConteudo = false; myControl11.NomeCampo = "Servidor de Domínio"; myControl11.Requerido = true; myControl11.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; myControl12.CasasDecimais = ((byte)(0)); myControl12.Controle = this.TxtPAServidorCorreio; myControl12.CPFCNPJ = ValidadorWindows.MyControl.enumCPFCNPJ.NaoValida; myControl12.MarcaConteudo = true; myControl12.NomeCampo = "Servidor de Correio"; myControl12.Requerido = true; myControl12.TipoCampo = ValidadorWindows.MyControl.enumTipoCampo.SemTipo; this.validador1.Controles.Add(myControl10); this.validador1.Controles.Add(myControl11); this.validador1.Controles.Add(myControl12); // // FrmParametro // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(875, 130); this.Controls.Add(this.BtnCancela); this.Controls.Add(this.btnSalvar); this.Controls.Add(this.TxtPAServidorCorreio); this.Controls.Add(this.TxtPAServidorDominio); this.Controls.Add(this.TxtPATempoExpiraSaida); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Name = "FrmParametro"; this.Text = "Parâmetros do Sistema"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FrmParametro_FormClosed); this.Load += new System.EventHandler(this.FrmParametro_Load); this.ResumeLayout(false); this.PerformLayout(); }