525 lines
20 KiB
C#
525 lines
20 KiB
C#
namespace IBRCAD
|
|
{
|
|
partial class frm_cadfornecedores
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frm_cadfornecedores));
|
|
pn_controls = new Panel();
|
|
btn_cancel = new Button();
|
|
btn_save = new Button();
|
|
btn_excluir = new Button();
|
|
btn_alterar = new Button();
|
|
btn_localizar = new Button();
|
|
btn_inserir = new Button();
|
|
pn_data = new Panel();
|
|
txt_celular = new MaskedTextBox();
|
|
label14 = new Label();
|
|
txt_fone = new MaskedTextBox();
|
|
label13 = new Label();
|
|
txt_email = new TextBox();
|
|
label12 = new Label();
|
|
txt_estado = new TextBox();
|
|
label11 = new Label();
|
|
txt_cidade = new TextBox();
|
|
label10 = new Label();
|
|
txt_bairro = new TextBox();
|
|
label9 = new Label();
|
|
txt_numero = new TextBox();
|
|
label8 = new Label();
|
|
txt_rua = new TextBox();
|
|
label7 = new Label();
|
|
txt_cep = new TextBox();
|
|
label6 = new Label();
|
|
lbl_errocnpj = new Label();
|
|
txt_ie = new TextBox();
|
|
label5 = new Label();
|
|
txt_cnpj = new TextBox();
|
|
label4 = new Label();
|
|
txt_raz = new TextBox();
|
|
label3 = new Label();
|
|
txt_forname = new TextBox();
|
|
label2 = new Label();
|
|
txt_cod = new TextBox();
|
|
label1 = new Label();
|
|
pb_exit = new PictureBox();
|
|
pn_controls.SuspendLayout();
|
|
pn_data.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)pb_exit).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// pn_controls
|
|
//
|
|
pn_controls.Controls.Add(btn_cancel);
|
|
pn_controls.Controls.Add(btn_save);
|
|
pn_controls.Controls.Add(btn_excluir);
|
|
pn_controls.Controls.Add(btn_alterar);
|
|
pn_controls.Controls.Add(btn_localizar);
|
|
pn_controls.Controls.Add(btn_inserir);
|
|
pn_controls.Dock = DockStyle.Bottom;
|
|
pn_controls.Location = new Point(0, 472);
|
|
pn_controls.Name = "pn_controls";
|
|
pn_controls.Size = new Size(846, 142);
|
|
pn_controls.TabIndex = 2;
|
|
//
|
|
// btn_cancel
|
|
//
|
|
btn_cancel.Image = (Image)resources.GetObject("btn_cancel.Image");
|
|
btn_cancel.Location = new Point(696, 17);
|
|
btn_cancel.Name = "btn_cancel";
|
|
btn_cancel.Size = new Size(127, 122);
|
|
btn_cancel.TabIndex = 5;
|
|
btn_cancel.Text = "Cancelar";
|
|
btn_cancel.TextAlign = ContentAlignment.BottomCenter;
|
|
btn_cancel.UseVisualStyleBackColor = true;
|
|
btn_cancel.Click += btn_cancel_Click;
|
|
//
|
|
// btn_save
|
|
//
|
|
btn_save.Image = (Image)resources.GetObject("btn_save.Image");
|
|
btn_save.Location = new Point(560, 17);
|
|
btn_save.Name = "btn_save";
|
|
btn_save.Size = new Size(127, 122);
|
|
btn_save.TabIndex = 4;
|
|
btn_save.Text = "Salvar";
|
|
btn_save.TextAlign = ContentAlignment.BottomCenter;
|
|
btn_save.UseVisualStyleBackColor = true;
|
|
btn_save.Click += btn_save_Click;
|
|
//
|
|
// btn_excluir
|
|
//
|
|
btn_excluir.Image = (Image)resources.GetObject("btn_excluir.Image");
|
|
btn_excluir.Location = new Point(424, 17);
|
|
btn_excluir.Name = "btn_excluir";
|
|
btn_excluir.Size = new Size(127, 122);
|
|
btn_excluir.TabIndex = 3;
|
|
btn_excluir.Text = "Excluir ";
|
|
btn_excluir.TextAlign = ContentAlignment.BottomCenter;
|
|
btn_excluir.UseVisualStyleBackColor = true;
|
|
btn_excluir.Click += btn_excluir_Click;
|
|
//
|
|
// btn_alterar
|
|
//
|
|
btn_alterar.Image = (Image)resources.GetObject("btn_alterar.Image");
|
|
btn_alterar.Location = new Point(288, 17);
|
|
btn_alterar.Name = "btn_alterar";
|
|
btn_alterar.Size = new Size(127, 122);
|
|
btn_alterar.TabIndex = 2;
|
|
btn_alterar.Text = "Atualizar Cadastro";
|
|
btn_alterar.TextAlign = ContentAlignment.BottomCenter;
|
|
btn_alterar.UseVisualStyleBackColor = true;
|
|
btn_alterar.Click += btn_alterar_Click;
|
|
//
|
|
// btn_localizar
|
|
//
|
|
btn_localizar.Image = (Image)resources.GetObject("btn_localizar.Image");
|
|
btn_localizar.Location = new Point(152, 17);
|
|
btn_localizar.Name = "btn_localizar";
|
|
btn_localizar.Size = new Size(127, 122);
|
|
btn_localizar.TabIndex = 1;
|
|
btn_localizar.Text = "Localizar Cadastro";
|
|
btn_localizar.TextAlign = ContentAlignment.BottomCenter;
|
|
btn_localizar.UseVisualStyleBackColor = true;
|
|
btn_localizar.Click += btn_localizar_Click;
|
|
//
|
|
// btn_inserir
|
|
//
|
|
btn_inserir.Image = (Image)resources.GetObject("btn_inserir.Image");
|
|
btn_inserir.Location = new Point(16, 17);
|
|
btn_inserir.Name = "btn_inserir";
|
|
btn_inserir.Size = new Size(127, 122);
|
|
btn_inserir.TabIndex = 0;
|
|
btn_inserir.Text = "Novo Cadastro";
|
|
btn_inserir.TextAlign = ContentAlignment.BottomCenter;
|
|
btn_inserir.UseVisualStyleBackColor = true;
|
|
btn_inserir.Click += btn_inserir_Click;
|
|
//
|
|
// pn_data
|
|
//
|
|
pn_data.Controls.Add(txt_celular);
|
|
pn_data.Controls.Add(label14);
|
|
pn_data.Controls.Add(txt_fone);
|
|
pn_data.Controls.Add(label13);
|
|
pn_data.Controls.Add(txt_email);
|
|
pn_data.Controls.Add(label12);
|
|
pn_data.Controls.Add(txt_estado);
|
|
pn_data.Controls.Add(label11);
|
|
pn_data.Controls.Add(txt_cidade);
|
|
pn_data.Controls.Add(label10);
|
|
pn_data.Controls.Add(txt_bairro);
|
|
pn_data.Controls.Add(label9);
|
|
pn_data.Controls.Add(txt_numero);
|
|
pn_data.Controls.Add(label8);
|
|
pn_data.Controls.Add(txt_rua);
|
|
pn_data.Controls.Add(label7);
|
|
pn_data.Controls.Add(txt_cep);
|
|
pn_data.Controls.Add(label6);
|
|
pn_data.Controls.Add(lbl_errocnpj);
|
|
pn_data.Controls.Add(txt_ie);
|
|
pn_data.Controls.Add(label5);
|
|
pn_data.Controls.Add(txt_cnpj);
|
|
pn_data.Controls.Add(label4);
|
|
pn_data.Controls.Add(txt_raz);
|
|
pn_data.Controls.Add(label3);
|
|
pn_data.Controls.Add(txt_forname);
|
|
pn_data.Controls.Add(label2);
|
|
pn_data.Controls.Add(txt_cod);
|
|
pn_data.Controls.Add(label1);
|
|
pn_data.Location = new Point(0, 34);
|
|
pn_data.Name = "pn_data";
|
|
pn_data.Size = new Size(846, 442);
|
|
pn_data.TabIndex = 3;
|
|
//
|
|
// txt_celular
|
|
//
|
|
txt_celular.Location = new Point(389, 409);
|
|
txt_celular.Mask = "+55(999)0 0000-0000";
|
|
txt_celular.Name = "txt_celular";
|
|
txt_celular.Size = new Size(117, 23);
|
|
txt_celular.TabIndex = 28;
|
|
//
|
|
// label14
|
|
//
|
|
label14.AutoSize = true;
|
|
label14.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label14.Location = new Point(389, 385);
|
|
label14.Name = "label14";
|
|
label14.Size = new Size(62, 21);
|
|
label14.TabIndex = 27;
|
|
label14.Text = "Celular:";
|
|
//
|
|
// txt_fone
|
|
//
|
|
txt_fone.Location = new Point(3, 409);
|
|
txt_fone.Mask = "+55(999) 0000-0000";
|
|
txt_fone.Name = "txt_fone";
|
|
txt_fone.Size = new Size(113, 23);
|
|
txt_fone.TabIndex = 26;
|
|
//
|
|
// label13
|
|
//
|
|
label13.AutoSize = true;
|
|
label13.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label13.Location = new Point(3, 385);
|
|
label13.Name = "label13";
|
|
label13.Size = new Size(70, 21);
|
|
label13.TabIndex = 25;
|
|
label13.Text = "Telefone:";
|
|
//
|
|
// txt_email
|
|
//
|
|
txt_email.Location = new Point(3, 356);
|
|
txt_email.Name = "txt_email";
|
|
txt_email.Size = new Size(840, 23);
|
|
txt_email.TabIndex = 24;
|
|
//
|
|
// label12
|
|
//
|
|
label12.AutoSize = true;
|
|
label12.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label12.Location = new Point(3, 332);
|
|
label12.Name = "label12";
|
|
label12.Size = new Size(51, 21);
|
|
label12.TabIndex = 23;
|
|
label12.Text = "Email:";
|
|
//
|
|
// txt_estado
|
|
//
|
|
txt_estado.Location = new Point(389, 301);
|
|
txt_estado.Name = "txt_estado";
|
|
txt_estado.Size = new Size(454, 23);
|
|
txt_estado.TabIndex = 22;
|
|
//
|
|
// label11
|
|
//
|
|
label11.AutoSize = true;
|
|
label11.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label11.Location = new Point(389, 277);
|
|
label11.Name = "label11";
|
|
label11.Size = new Size(59, 21);
|
|
label11.TabIndex = 21;
|
|
label11.Text = "Estado:";
|
|
//
|
|
// txt_cidade
|
|
//
|
|
txt_cidade.Location = new Point(3, 301);
|
|
txt_cidade.Name = "txt_cidade";
|
|
txt_cidade.Size = new Size(380, 23);
|
|
txt_cidade.TabIndex = 20;
|
|
//
|
|
// label10
|
|
//
|
|
label10.AutoSize = true;
|
|
label10.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label10.Location = new Point(3, 277);
|
|
label10.Name = "label10";
|
|
label10.Size = new Size(61, 21);
|
|
label10.TabIndex = 19;
|
|
label10.Text = "Cidade:";
|
|
//
|
|
// txt_bairro
|
|
//
|
|
txt_bairro.Location = new Point(492, 252);
|
|
txt_bairro.Name = "txt_bairro";
|
|
txt_bairro.Size = new Size(351, 23);
|
|
txt_bairro.TabIndex = 18;
|
|
//
|
|
// label9
|
|
//
|
|
label9.AutoSize = true;
|
|
label9.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label9.Location = new Point(492, 228);
|
|
label9.Name = "label9";
|
|
label9.Size = new Size(55, 21);
|
|
label9.TabIndex = 17;
|
|
label9.Text = "Bairro:";
|
|
//
|
|
// txt_numero
|
|
//
|
|
txt_numero.Location = new Point(389, 252);
|
|
txt_numero.Name = "txt_numero";
|
|
txt_numero.Size = new Size(97, 23);
|
|
txt_numero.TabIndex = 16;
|
|
//
|
|
// label8
|
|
//
|
|
label8.AutoSize = true;
|
|
label8.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label8.Location = new Point(389, 228);
|
|
label8.Name = "label8";
|
|
label8.Size = new Size(71, 21);
|
|
label8.TabIndex = 15;
|
|
label8.Text = "Número:";
|
|
//
|
|
// txt_rua
|
|
//
|
|
txt_rua.Location = new Point(118, 252);
|
|
txt_rua.Name = "txt_rua";
|
|
txt_rua.Size = new Size(265, 23);
|
|
txt_rua.TabIndex = 14;
|
|
//
|
|
// label7
|
|
//
|
|
label7.AutoSize = true;
|
|
label7.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label7.Location = new Point(118, 228);
|
|
label7.Name = "label7";
|
|
label7.Size = new Size(40, 21);
|
|
label7.TabIndex = 13;
|
|
label7.Text = "Rua:";
|
|
//
|
|
// txt_cep
|
|
//
|
|
txt_cep.Location = new Point(3, 252);
|
|
txt_cep.Name = "txt_cep";
|
|
txt_cep.Size = new Size(100, 23);
|
|
txt_cep.TabIndex = 12;
|
|
txt_cep.Leave += txt_cep_Leave;
|
|
//
|
|
// label6
|
|
//
|
|
label6.AutoSize = true;
|
|
label6.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label6.Location = new Point(3, 228);
|
|
label6.Name = "label6";
|
|
label6.Size = new Size(40, 21);
|
|
label6.TabIndex = 11;
|
|
label6.Text = "CEP:";
|
|
//
|
|
// lbl_errocnpj
|
|
//
|
|
lbl_errocnpj.AutoSize = true;
|
|
lbl_errocnpj.ForeColor = Color.Red;
|
|
lbl_errocnpj.Location = new Point(152, 213);
|
|
lbl_errocnpj.Name = "lbl_errocnpj";
|
|
lbl_errocnpj.Size = new Size(84, 15);
|
|
lbl_errocnpj.TabIndex = 10;
|
|
lbl_errocnpj.Text = "Valor Incorreto";
|
|
//
|
|
// txt_ie
|
|
//
|
|
txt_ie.Location = new Point(266, 187);
|
|
txt_ie.Name = "txt_ie";
|
|
txt_ie.Size = new Size(577, 23);
|
|
txt_ie.TabIndex = 9;
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label5.Location = new Point(266, 163);
|
|
label5.Name = "label5";
|
|
label5.Size = new Size(260, 21);
|
|
label5.TabIndex = 8;
|
|
label5.Text = "Inscrisão Estadual do fornecedor(IE):";
|
|
//
|
|
// txt_cnpj
|
|
//
|
|
txt_cnpj.Location = new Point(3, 187);
|
|
txt_cnpj.Name = "txt_cnpj";
|
|
txt_cnpj.Size = new Size(233, 23);
|
|
txt_cnpj.TabIndex = 7;
|
|
txt_cnpj.KeyPress += txt_cnpj_KeyPress;
|
|
txt_cnpj.Leave += txt_cnpj_Leave;
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label4.Location = new Point(3, 163);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(184, 21);
|
|
label4.TabIndex = 6;
|
|
label4.Text = "CNPJ/CPF do fornecedor:";
|
|
//
|
|
// txt_raz
|
|
//
|
|
txt_raz.Location = new Point(3, 136);
|
|
txt_raz.Name = "txt_raz";
|
|
txt_raz.Size = new Size(840, 23);
|
|
txt_raz.TabIndex = 5;
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label3.Location = new Point(3, 112);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(202, 21);
|
|
label3.TabIndex = 4;
|
|
label3.Text = "Razão Social do fornecedor:";
|
|
//
|
|
// txt_forname
|
|
//
|
|
txt_forname.Location = new Point(3, 85);
|
|
txt_forname.Name = "txt_forname";
|
|
txt_forname.Size = new Size(840, 23);
|
|
txt_forname.TabIndex = 3;
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label2.Location = new Point(3, 61);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(161, 21);
|
|
label2.TabIndex = 2;
|
|
label2.Text = "Nome do Fornecedor:";
|
|
//
|
|
// txt_cod
|
|
//
|
|
txt_cod.Enabled = false;
|
|
txt_cod.Location = new Point(3, 33);
|
|
txt_cod.Name = "txt_cod";
|
|
txt_cod.Size = new Size(100, 23);
|
|
txt_cod.TabIndex = 1;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label1.Location = new Point(3, 9);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(63, 21);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "Código:";
|
|
//
|
|
// pb_exit
|
|
//
|
|
pb_exit.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
|
pb_exit.Image = (Image)resources.GetObject("pb_exit.Image");
|
|
pb_exit.Location = new Point(817, 3);
|
|
pb_exit.Name = "pb_exit";
|
|
pb_exit.Size = new Size(25, 25);
|
|
pb_exit.SizeMode = PictureBoxSizeMode.StretchImage;
|
|
pb_exit.TabIndex = 4;
|
|
pb_exit.TabStop = false;
|
|
pb_exit.Click += pb_exit_Click;
|
|
//
|
|
// frm_cadfornecedores
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
BackColor = Color.White;
|
|
ClientSize = new Size(846, 614);
|
|
Controls.Add(pb_exit);
|
|
Controls.Add(pn_data);
|
|
Controls.Add(pn_controls);
|
|
FormBorderStyle = FormBorderStyle.None;
|
|
Name = "frm_cadfornecedores";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "frm_cadfornecedores";
|
|
Load += frm_cadfornecedores_Load;
|
|
pn_controls.ResumeLayout(false);
|
|
pn_data.ResumeLayout(false);
|
|
pn_data.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)pb_exit).EndInit();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
protected Panel pn_controls;
|
|
protected Button btn_cancel;
|
|
protected Button btn_save;
|
|
protected Button btn_excluir;
|
|
protected Button btn_alterar;
|
|
protected Button btn_localizar;
|
|
protected Button btn_inserir;
|
|
private Panel pn_data;
|
|
private TextBox txt_forname;
|
|
private Label label2;
|
|
private TextBox txt_cod;
|
|
private Label label1;
|
|
private Label lbl_errocnpj;
|
|
private TextBox txt_ie;
|
|
private Label label5;
|
|
private TextBox txt_cnpj;
|
|
private Label label4;
|
|
private TextBox txt_raz;
|
|
private Label label3;
|
|
private TextBox txt_cidade;
|
|
private Label label10;
|
|
private TextBox txt_bairro;
|
|
private Label label9;
|
|
private TextBox txt_numero;
|
|
private Label label8;
|
|
private TextBox txt_rua;
|
|
private Label label7;
|
|
private TextBox txt_cep;
|
|
private Label label6;
|
|
private MaskedTextBox txt_celular;
|
|
private Label label14;
|
|
private MaskedTextBox txt_fone;
|
|
private Label label13;
|
|
private TextBox txt_email;
|
|
private Label label12;
|
|
private TextBox txt_estado;
|
|
private Label label11;
|
|
private PictureBox pb_exit;
|
|
}
|
|
} |