838 lines
33 KiB
C#
838 lines
33 KiB
C#
namespace IBRCAD
|
|
{
|
|
partial class frm_movimentacaocompra
|
|
{
|
|
/// <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_movimentacaocompra));
|
|
label1 = new Label();
|
|
pn_controls = new Panel();
|
|
btn_save = new Button();
|
|
btn_excluir = new Button();
|
|
btn_alterar = new Button();
|
|
btn_localizar = new Button();
|
|
btn_inserir = new Button();
|
|
btn_cancel = new Button();
|
|
btn_print = new Button();
|
|
pnfinalizar = new Panel();
|
|
lblTotalCompra = new Label();
|
|
label18 = new Label();
|
|
panel1 = new Panel();
|
|
btn_imprimirPag = new Button();
|
|
btn_save2 = new Button();
|
|
btn_cancel2 = new Button();
|
|
gpparcelas = new GroupBox();
|
|
dgvParcelas = new DataGridView();
|
|
pco_cod = new DataGridViewTextBoxColumn();
|
|
pco_valor = new DataGridViewTextBoxColumn();
|
|
pco_datavecto = new DataGridViewTextBoxColumn();
|
|
pco_datapagto = new DataGridViewTextBoxColumn();
|
|
label16 = new Label();
|
|
pn_dados = new Panel();
|
|
txtTotal = new MaskedTextBox();
|
|
label15 = new Label();
|
|
label14 = new Label();
|
|
label13 = new Label();
|
|
dtpInicial = new DateTimePicker();
|
|
cbTipoPag = new ComboBox();
|
|
label12 = new Label();
|
|
cbParcelas = new ComboBox();
|
|
label11 = new Label();
|
|
groupBox1 = new GroupBox();
|
|
dgCompra = new DataGridView();
|
|
Procod = new DataGridViewTextBoxColumn();
|
|
Pronome = new DataGridViewTextBoxColumn();
|
|
proqtd = new DataGridViewTextBoxColumn();
|
|
provund = new DataGridViewTextBoxColumn();
|
|
provtoral = new DataGridViewTextBoxColumn();
|
|
btnAddProd = new Button();
|
|
txtValorUnitario = new TextBox();
|
|
label10 = new Label();
|
|
txtqtde = new TextBox();
|
|
label9 = new Label();
|
|
txt_procod = new TextBox();
|
|
label8 = new Label();
|
|
btn_loc_produto = new Button();
|
|
txt_proname = new TextBox();
|
|
label7 = new Label();
|
|
btn_loc_for = new Button();
|
|
txt_nomeFor = new TextBox();
|
|
label6 = new Label();
|
|
txt_forcod = new TextBox();
|
|
label5 = new Label();
|
|
dtpDatacompra = new DateTimePicker();
|
|
label4 = new Label();
|
|
txt_notafiscal = new TextBox();
|
|
label3 = new Label();
|
|
txt_comp_cod = new TextBox();
|
|
label2 = new Label();
|
|
pb_exit = new PictureBox();
|
|
pn_controls.SuspendLayout();
|
|
pnfinalizar.SuspendLayout();
|
|
panel1.SuspendLayout();
|
|
gpparcelas.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dgvParcelas).BeginInit();
|
|
pn_dados.SuspendLayout();
|
|
groupBox1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dgCompra).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)pb_exit).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Font = new Font("Segoe UI", 12F, FontStyle.Bold, GraphicsUnit.Point, 0);
|
|
label1.Location = new Point(223, 6);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(291, 21);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "Bem vindo ao sistema de compra SGI";
|
|
//
|
|
// pn_controls
|
|
//
|
|
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.Controls.Add(btn_cancel);
|
|
pn_controls.Controls.Add(btn_print);
|
|
pn_controls.Location = new Point(4, 480);
|
|
pn_controls.Name = "pn_controls";
|
|
pn_controls.Size = new Size(785, 149);
|
|
pn_controls.TabIndex = 23;
|
|
//
|
|
// btn_save
|
|
//
|
|
btn_save.Image = (Image)resources.GetObject("btn_save.Image");
|
|
btn_save.Location = new Point(444, 17);
|
|
btn_save.Name = "btn_save";
|
|
btn_save.Size = new Size(97, 122);
|
|
btn_save.TabIndex = 6;
|
|
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(337, 17);
|
|
btn_excluir.Name = "btn_excluir";
|
|
btn_excluir.Size = new Size(97, 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(230, 17);
|
|
btn_alterar.Name = "btn_alterar";
|
|
btn_alterar.Size = new Size(97, 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(123, 17);
|
|
btn_localizar.Name = "btn_localizar";
|
|
btn_localizar.Size = new Size(97, 122);
|
|
btn_localizar.TabIndex = 1;
|
|
btn_localizar.Text = "Localizar compra";
|
|
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(97, 122);
|
|
btn_inserir.TabIndex = 0;
|
|
btn_inserir.Text = "Nova compra";
|
|
btn_inserir.TextAlign = ContentAlignment.BottomCenter;
|
|
btn_inserir.UseVisualStyleBackColor = true;
|
|
btn_inserir.Click += btn_inserir_Click;
|
|
//
|
|
// btn_cancel
|
|
//
|
|
btn_cancel.Image = (Image)resources.GetObject("btn_cancel.Image");
|
|
btn_cancel.Location = new Point(658, 17);
|
|
btn_cancel.Name = "btn_cancel";
|
|
btn_cancel.Size = new Size(97, 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_print
|
|
//
|
|
btn_print.Image = (Image)resources.GetObject("btn_print.Image");
|
|
btn_print.Location = new Point(551, 17);
|
|
btn_print.Name = "btn_print";
|
|
btn_print.Size = new Size(97, 122);
|
|
btn_print.TabIndex = 4;
|
|
btn_print.Text = "Imprimir";
|
|
btn_print.TextAlign = ContentAlignment.BottomCenter;
|
|
btn_print.UseVisualStyleBackColor = true;
|
|
btn_print.Click += btn_print_Click;
|
|
//
|
|
// pnfinalizar
|
|
//
|
|
pnfinalizar.Controls.Add(lblTotalCompra);
|
|
pnfinalizar.Controls.Add(label18);
|
|
pnfinalizar.Controls.Add(panel1);
|
|
pnfinalizar.Controls.Add(gpparcelas);
|
|
pnfinalizar.Controls.Add(label16);
|
|
pnfinalizar.Enabled = false;
|
|
pnfinalizar.Location = new Point(795, 18);
|
|
pnfinalizar.Name = "pnfinalizar";
|
|
pnfinalizar.Size = new Size(621, 601);
|
|
pnfinalizar.TabIndex = 24;
|
|
//
|
|
// lblTotalCompra
|
|
//
|
|
lblTotalCompra.AutoSize = true;
|
|
lblTotalCompra.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
lblTotalCompra.ForeColor = Color.Red;
|
|
lblTotalCompra.Location = new Point(554, 12);
|
|
lblTotalCompra.Name = "lblTotalCompra";
|
|
lblTotalCompra.Size = new Size(29, 21);
|
|
lblTotalCompra.TabIndex = 38;
|
|
lblTotalCompra.Text = "R$";
|
|
//
|
|
// label18
|
|
//
|
|
label18.AutoSize = true;
|
|
label18.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label18.ForeColor = Color.Red;
|
|
label18.Location = new Point(431, 11);
|
|
label18.Name = "label18";
|
|
label18.Size = new Size(126, 21);
|
|
label18.TabIndex = 37;
|
|
label18.Text = "Total da Compra:";
|
|
//
|
|
// panel1
|
|
//
|
|
panel1.Controls.Add(btn_imprimirPag);
|
|
panel1.Controls.Add(btn_save2);
|
|
panel1.Controls.Add(btn_cancel2);
|
|
panel1.Location = new Point(16, 443);
|
|
panel1.Name = "panel1";
|
|
panel1.Size = new Size(588, 149);
|
|
panel1.TabIndex = 24;
|
|
//
|
|
// btn_imprimirPag
|
|
//
|
|
btn_imprimirPag.Image = (Image)resources.GetObject("btn_imprimirPag.Image");
|
|
btn_imprimirPag.Location = new Point(278, 19);
|
|
btn_imprimirPag.Name = "btn_imprimirPag";
|
|
btn_imprimirPag.Size = new Size(97, 122);
|
|
btn_imprimirPag.TabIndex = 7;
|
|
btn_imprimirPag.Text = "Imprimir";
|
|
btn_imprimirPag.TextAlign = ContentAlignment.BottomCenter;
|
|
btn_imprimirPag.UseVisualStyleBackColor = true;
|
|
btn_imprimirPag.Click += btn_imprimirPag_Click;
|
|
//
|
|
// btn_save2
|
|
//
|
|
btn_save2.Image = (Image)resources.GetObject("btn_save2.Image");
|
|
btn_save2.Location = new Point(381, 19);
|
|
btn_save2.Name = "btn_save2";
|
|
btn_save2.Size = new Size(97, 122);
|
|
btn_save2.TabIndex = 6;
|
|
btn_save2.Text = "Salvar";
|
|
btn_save2.TextAlign = ContentAlignment.BottomCenter;
|
|
btn_save2.UseVisualStyleBackColor = true;
|
|
btn_save2.Click += btn_save2_Click;
|
|
//
|
|
// btn_cancel2
|
|
//
|
|
btn_cancel2.Image = (Image)resources.GetObject("btn_cancel2.Image");
|
|
btn_cancel2.Location = new Point(484, 19);
|
|
btn_cancel2.Name = "btn_cancel2";
|
|
btn_cancel2.Size = new Size(97, 122);
|
|
btn_cancel2.TabIndex = 5;
|
|
btn_cancel2.Text = "Cancelar";
|
|
btn_cancel2.TextAlign = ContentAlignment.BottomCenter;
|
|
btn_cancel2.UseVisualStyleBackColor = true;
|
|
btn_cancel2.Click += btn_cancel2_Click;
|
|
//
|
|
// gpparcelas
|
|
//
|
|
gpparcelas.Controls.Add(dgvParcelas);
|
|
gpparcelas.Location = new Point(13, 59);
|
|
gpparcelas.Name = "gpparcelas";
|
|
gpparcelas.Size = new Size(591, 378);
|
|
gpparcelas.TabIndex = 23;
|
|
gpparcelas.TabStop = false;
|
|
gpparcelas.Text = "Parcelas da compra:";
|
|
//
|
|
// dgvParcelas
|
|
//
|
|
dgvParcelas.AllowUserToAddRows = false;
|
|
dgvParcelas.AllowUserToDeleteRows = false;
|
|
dgvParcelas.BackgroundColor = Color.White;
|
|
dgvParcelas.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dgvParcelas.Columns.AddRange(new DataGridViewColumn[] { pco_cod, pco_valor, pco_datavecto, pco_datapagto });
|
|
dgvParcelas.Dock = DockStyle.Fill;
|
|
dgvParcelas.Location = new Point(3, 19);
|
|
dgvParcelas.Name = "dgvParcelas";
|
|
dgvParcelas.ReadOnly = true;
|
|
dgvParcelas.Size = new Size(585, 356);
|
|
dgvParcelas.TabIndex = 0;
|
|
//
|
|
// pco_cod
|
|
//
|
|
pco_cod.HeaderText = "Parcelas";
|
|
pco_cod.Name = "pco_cod";
|
|
pco_cod.ReadOnly = true;
|
|
pco_cod.Width = 140;
|
|
//
|
|
// pco_valor
|
|
//
|
|
pco_valor.HeaderText = "Valor da parcela";
|
|
pco_valor.Name = "pco_valor";
|
|
pco_valor.ReadOnly = true;
|
|
pco_valor.Width = 150;
|
|
//
|
|
// pco_datavecto
|
|
//
|
|
pco_datavecto.HeaderText = "Data do Vencimento";
|
|
pco_datavecto.Name = "pco_datavecto";
|
|
pco_datavecto.ReadOnly = true;
|
|
pco_datavecto.Width = 150;
|
|
//
|
|
// pco_datapagto
|
|
//
|
|
pco_datapagto.HeaderText = "Data Pagamento";
|
|
pco_datapagto.Name = "pco_datapagto";
|
|
pco_datapagto.ReadOnly = true;
|
|
pco_datapagto.Width = 150;
|
|
//
|
|
// label16
|
|
//
|
|
label16.AutoSize = true;
|
|
label16.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label16.ForeColor = Color.Red;
|
|
label16.Location = new Point(13, 10);
|
|
label16.Name = "label16";
|
|
label16.Size = new Size(161, 21);
|
|
label16.TabIndex = 35;
|
|
label16.Text = "Dados do Pagamento:";
|
|
//
|
|
// pn_dados
|
|
//
|
|
pn_dados.Controls.Add(txtTotal);
|
|
pn_dados.Controls.Add(label15);
|
|
pn_dados.Controls.Add(label14);
|
|
pn_dados.Controls.Add(label13);
|
|
pn_dados.Controls.Add(dtpInicial);
|
|
pn_dados.Controls.Add(cbTipoPag);
|
|
pn_dados.Controls.Add(label12);
|
|
pn_dados.Controls.Add(cbParcelas);
|
|
pn_dados.Controls.Add(label11);
|
|
pn_dados.Controls.Add(groupBox1);
|
|
pn_dados.Controls.Add(btnAddProd);
|
|
pn_dados.Controls.Add(txtValorUnitario);
|
|
pn_dados.Controls.Add(label10);
|
|
pn_dados.Controls.Add(txtqtde);
|
|
pn_dados.Controls.Add(label9);
|
|
pn_dados.Controls.Add(txt_procod);
|
|
pn_dados.Controls.Add(label8);
|
|
pn_dados.Controls.Add(btn_loc_produto);
|
|
pn_dados.Controls.Add(txt_proname);
|
|
pn_dados.Controls.Add(label7);
|
|
pn_dados.Controls.Add(btn_loc_for);
|
|
pn_dados.Controls.Add(txt_nomeFor);
|
|
pn_dados.Controls.Add(label6);
|
|
pn_dados.Controls.Add(txt_forcod);
|
|
pn_dados.Controls.Add(label5);
|
|
pn_dados.Controls.Add(dtpDatacompra);
|
|
pn_dados.Controls.Add(label4);
|
|
pn_dados.Controls.Add(txt_notafiscal);
|
|
pn_dados.Controls.Add(label3);
|
|
pn_dados.Controls.Add(txt_comp_cod);
|
|
pn_dados.Controls.Add(label2);
|
|
pn_dados.Controls.Add(label1);
|
|
pn_dados.Location = new Point(4, 27);
|
|
pn_dados.Name = "pn_dados";
|
|
pn_dados.Size = new Size(785, 447);
|
|
pn_dados.TabIndex = 25;
|
|
//
|
|
// txtTotal
|
|
//
|
|
txtTotal.Location = new Point(688, 417);
|
|
txtTotal.Name = "txtTotal";
|
|
txtTotal.Size = new Size(87, 23);
|
|
txtTotal.TabIndex = 65;
|
|
txtTotal.Text = "0.00";
|
|
//
|
|
// label15
|
|
//
|
|
label15.AutoSize = true;
|
|
label15.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label15.ForeColor = Color.Red;
|
|
label15.Location = new Point(653, 417);
|
|
label15.Name = "label15";
|
|
label15.Size = new Size(32, 21);
|
|
label15.TabIndex = 64;
|
|
label15.Text = "R$:";
|
|
//
|
|
// label14
|
|
//
|
|
label14.AutoSize = true;
|
|
label14.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label14.ForeColor = Color.Red;
|
|
label14.Location = new Point(688, 395);
|
|
label14.Name = "label14";
|
|
label14.Size = new Size(89, 21);
|
|
label14.TabIndex = 63;
|
|
label14.Text = "Valor Total :";
|
|
//
|
|
// label13
|
|
//
|
|
label13.AutoSize = true;
|
|
label13.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label13.ForeColor = Color.Red;
|
|
label13.Location = new Point(318, 395);
|
|
label13.Name = "label13";
|
|
label13.Size = new Size(194, 21);
|
|
label13.TabIndex = 62;
|
|
label13.Text = "Data Inicial do pagamento:";
|
|
//
|
|
// dtpInicial
|
|
//
|
|
dtpInicial.Location = new Point(318, 419);
|
|
dtpInicial.Name = "dtpInicial";
|
|
dtpInicial.Size = new Size(200, 23);
|
|
dtpInicial.TabIndex = 61;
|
|
//
|
|
// cbTipoPag
|
|
//
|
|
cbTipoPag.FormattingEnabled = true;
|
|
cbTipoPag.Location = new Point(150, 419);
|
|
cbTipoPag.Name = "cbTipoPag";
|
|
cbTipoPag.Size = new Size(143, 23);
|
|
cbTipoPag.TabIndex = 60;
|
|
cbTipoPag.Text = "Pix";
|
|
//
|
|
// label12
|
|
//
|
|
label12.AutoSize = true;
|
|
label12.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label12.ForeColor = Color.Red;
|
|
label12.Location = new Point(150, 395);
|
|
label12.Name = "label12";
|
|
label12.Size = new Size(143, 21);
|
|
label12.TabIndex = 59;
|
|
label12.Text = "Tipo de Pagamento";
|
|
//
|
|
// cbParcelas
|
|
//
|
|
cbParcelas.FormattingEnabled = true;
|
|
cbParcelas.Items.AddRange(new object[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "14", "16", "18", "24" });
|
|
cbParcelas.Location = new Point(7, 419);
|
|
cbParcelas.Name = "cbParcelas";
|
|
cbParcelas.Size = new Size(121, 23);
|
|
cbParcelas.TabIndex = 58;
|
|
cbParcelas.Text = "1";
|
|
//
|
|
// label11
|
|
//
|
|
label11.AutoSize = true;
|
|
label11.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label11.ForeColor = Color.Red;
|
|
label11.Location = new Point(7, 395);
|
|
label11.Name = "label11";
|
|
label11.Size = new Size(89, 21);
|
|
label11.TabIndex = 57;
|
|
label11.Text = "Nº Parcelas";
|
|
//
|
|
// groupBox1
|
|
//
|
|
groupBox1.Controls.Add(dgCompra);
|
|
groupBox1.Location = new Point(6, 168);
|
|
groupBox1.Name = "groupBox1";
|
|
groupBox1.Size = new Size(774, 224);
|
|
groupBox1.TabIndex = 56;
|
|
groupBox1.TabStop = false;
|
|
groupBox1.Text = "Compras";
|
|
//
|
|
// dgCompra
|
|
//
|
|
dgCompra.AllowUserToAddRows = false;
|
|
dgCompra.AllowUserToDeleteRows = false;
|
|
dgCompra.BackgroundColor = Color.White;
|
|
dgCompra.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dgCompra.Columns.AddRange(new DataGridViewColumn[] { Procod, Pronome, proqtd, provund, provtoral });
|
|
dgCompra.Dock = DockStyle.Fill;
|
|
dgCompra.Location = new Point(3, 19);
|
|
dgCompra.Name = "dgCompra";
|
|
dgCompra.ReadOnly = true;
|
|
dgCompra.Size = new Size(768, 202);
|
|
dgCompra.TabIndex = 0;
|
|
dgCompra.CellDoubleClick += dgCompra_CellDoubleClick;
|
|
//
|
|
// Procod
|
|
//
|
|
Procod.HeaderText = "Cod";
|
|
Procod.Name = "Procod";
|
|
Procod.ReadOnly = true;
|
|
Procod.Width = 150;
|
|
//
|
|
// Pronome
|
|
//
|
|
Pronome.HeaderText = "Nome Produto";
|
|
Pronome.Name = "Pronome";
|
|
Pronome.ReadOnly = true;
|
|
Pronome.Width = 150;
|
|
//
|
|
// proqtd
|
|
//
|
|
proqtd.HeaderText = "Quantidade";
|
|
proqtd.Name = "proqtd";
|
|
proqtd.ReadOnly = true;
|
|
proqtd.Width = 150;
|
|
//
|
|
// provund
|
|
//
|
|
provund.HeaderText = "Valor unitario";
|
|
provund.Name = "provund";
|
|
provund.ReadOnly = true;
|
|
provund.Width = 150;
|
|
//
|
|
// provtoral
|
|
//
|
|
provtoral.HeaderText = "Valor Total";
|
|
provtoral.Name = "provtoral";
|
|
provtoral.ReadOnly = true;
|
|
provtoral.Width = 175;
|
|
//
|
|
// btnAddProd
|
|
//
|
|
btnAddProd.Location = new Point(170, 140);
|
|
btnAddProd.Name = "btnAddProd";
|
|
btnAddProd.Size = new Size(371, 23);
|
|
btnAddProd.TabIndex = 55;
|
|
btnAddProd.Text = "Click para adcionar o produto a lista abaixo";
|
|
btnAddProd.UseVisualStyleBackColor = true;
|
|
btnAddProd.Click += btnAddProd_Click;
|
|
//
|
|
// txtValorUnitario
|
|
//
|
|
txtValorUnitario.Location = new Point(669, 140);
|
|
txtValorUnitario.Name = "txtValorUnitario";
|
|
txtValorUnitario.Size = new Size(72, 23);
|
|
txtValorUnitario.TabIndex = 54;
|
|
//
|
|
// label10
|
|
//
|
|
label10.AutoSize = true;
|
|
label10.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label10.Location = new Point(669, 110);
|
|
label10.Name = "label10";
|
|
label10.Size = new Size(66, 21);
|
|
label10.TabIndex = 53;
|
|
label10.Text = "Uni(R$):";
|
|
//
|
|
// txtqtde
|
|
//
|
|
txtqtde.Location = new Point(573, 140);
|
|
txtqtde.Name = "txtqtde";
|
|
txtqtde.Size = new Size(90, 23);
|
|
txtqtde.TabIndex = 52;
|
|
//
|
|
// label9
|
|
//
|
|
label9.AutoSize = true;
|
|
label9.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label9.Location = new Point(573, 110);
|
|
label9.Name = "label9";
|
|
label9.Size = new Size(39, 21);
|
|
label9.TabIndex = 51;
|
|
label9.Text = "Qtd:";
|
|
//
|
|
// txt_procod
|
|
//
|
|
txt_procod.Enabled = false;
|
|
txt_procod.Location = new Point(120, 111);
|
|
txt_procod.Name = "txt_procod";
|
|
txt_procod.Size = new Size(57, 23);
|
|
txt_procod.TabIndex = 50;
|
|
txt_procod.Leave += txt_procod_Leave;
|
|
//
|
|
// label8
|
|
//
|
|
label8.AutoSize = true;
|
|
label8.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label8.Location = new Point(7, 111);
|
|
label8.Name = "label8";
|
|
label8.Size = new Size(88, 21);
|
|
label8.TabIndex = 49;
|
|
label8.Text = "ID Produto:";
|
|
//
|
|
// btn_loc_produto
|
|
//
|
|
btn_loc_produto.Location = new Point(476, 111);
|
|
btn_loc_produto.Name = "btn_loc_produto";
|
|
btn_loc_produto.Size = new Size(90, 23);
|
|
btn_loc_produto.TabIndex = 48;
|
|
btn_loc_produto.Text = "Localizar";
|
|
btn_loc_produto.UseVisualStyleBackColor = true;
|
|
btn_loc_produto.Click += btn_loc_produto_Click;
|
|
//
|
|
// txt_proname
|
|
//
|
|
txt_proname.Location = new Point(318, 111);
|
|
txt_proname.Name = "txt_proname";
|
|
txt_proname.Size = new Size(152, 23);
|
|
txt_proname.TabIndex = 47;
|
|
txt_proname.Leave += txt_proname_Leave;
|
|
//
|
|
// label7
|
|
//
|
|
label7.AutoSize = true;
|
|
label7.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label7.Location = new Point(185, 109);
|
|
label7.Name = "label7";
|
|
label7.Size = new Size(138, 21);
|
|
label7.TabIndex = 46;
|
|
label7.Text = "Nome do Produto:";
|
|
//
|
|
// btn_loc_for
|
|
//
|
|
btn_loc_for.Location = new Point(661, 81);
|
|
btn_loc_for.Name = "btn_loc_for";
|
|
btn_loc_for.Size = new Size(90, 23);
|
|
btn_loc_for.TabIndex = 45;
|
|
btn_loc_for.Text = "Localizar";
|
|
btn_loc_for.UseVisualStyleBackColor = true;
|
|
btn_loc_for.Click += btn_loc_for_Click;
|
|
//
|
|
// txt_nomeFor
|
|
//
|
|
txt_nomeFor.Location = new Point(345, 80);
|
|
txt_nomeFor.Name = "txt_nomeFor";
|
|
txt_nomeFor.Size = new Size(310, 23);
|
|
txt_nomeFor.TabIndex = 44;
|
|
//
|
|
// label6
|
|
//
|
|
label6.AutoSize = true;
|
|
label6.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label6.Location = new Point(185, 80);
|
|
label6.Name = "label6";
|
|
label6.Size = new Size(161, 21);
|
|
label6.TabIndex = 43;
|
|
label6.Text = "Nome do Fornecedor:";
|
|
//
|
|
// txt_forcod
|
|
//
|
|
txt_forcod.Enabled = false;
|
|
txt_forcod.Location = new Point(120, 78);
|
|
txt_forcod.Name = "txt_forcod";
|
|
txt_forcod.Size = new Size(57, 23);
|
|
txt_forcod.TabIndex = 42;
|
|
txt_forcod.Leave += txt_forcod_Leave;
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label5.Location = new Point(6, 78);
|
|
label5.Name = "label5";
|
|
label5.Size = new Size(108, 21);
|
|
label5.TabIndex = 41;
|
|
label5.Text = "ID fornecedor:";
|
|
//
|
|
// dtpDatacompra
|
|
//
|
|
dtpDatacompra.Location = new Point(551, 38);
|
|
dtpDatacompra.Name = "dtpDatacompra";
|
|
dtpDatacompra.Size = new Size(200, 23);
|
|
dtpDatacompra.TabIndex = 40;
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label4.Location = new Point(427, 38);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(109, 21);
|
|
label4.TabIndex = 39;
|
|
label4.Text = "Data Compra :";
|
|
//
|
|
// txt_notafiscal
|
|
//
|
|
txt_notafiscal.Location = new Point(224, 38);
|
|
txt_notafiscal.Name = "txt_notafiscal";
|
|
txt_notafiscal.Size = new Size(184, 23);
|
|
txt_notafiscal.TabIndex = 38;
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label3.Location = new Point(125, 38);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(93, 21);
|
|
label3.TabIndex = 37;
|
|
label3.Text = "Nota Fiscal :";
|
|
//
|
|
// txt_comp_cod
|
|
//
|
|
txt_comp_cod.Enabled = false;
|
|
txt_comp_cod.Location = new Point(52, 38);
|
|
txt_comp_cod.Name = "txt_comp_cod";
|
|
txt_comp_cod.Size = new Size(57, 23);
|
|
txt_comp_cod.TabIndex = 36;
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label2.Location = new Point(5, 38);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(41, 21);
|
|
label2.TabIndex = 35;
|
|
label2.Text = "Cod:";
|
|
//
|
|
// pb_exit
|
|
//
|
|
pb_exit.Image = (Image)resources.GetObject("pb_exit.Image");
|
|
pb_exit.Location = new Point(764, 1);
|
|
pb_exit.Name = "pb_exit";
|
|
pb_exit.Size = new Size(25, 25);
|
|
pb_exit.SizeMode = PictureBoxSizeMode.StretchImage;
|
|
pb_exit.TabIndex = 66;
|
|
pb_exit.TabStop = false;
|
|
pb_exit.Click += pb_exit_Click;
|
|
//
|
|
// frm_movimentacaocompra
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
BackColor = Color.White;
|
|
ClientSize = new Size(1386, 635);
|
|
Controls.Add(pnfinalizar);
|
|
Controls.Add(pb_exit);
|
|
Controls.Add(pn_dados);
|
|
Controls.Add(pn_controls);
|
|
FormBorderStyle = FormBorderStyle.None;
|
|
Name = "frm_movimentacaocompra";
|
|
Text = "frm_movimentacaocompra";
|
|
Load += frm_movimentacaocompra_Load;
|
|
pn_controls.ResumeLayout(false);
|
|
pnfinalizar.ResumeLayout(false);
|
|
pnfinalizar.PerformLayout();
|
|
panel1.ResumeLayout(false);
|
|
gpparcelas.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dgvParcelas).EndInit();
|
|
pn_dados.ResumeLayout(false);
|
|
pn_dados.PerformLayout();
|
|
groupBox1.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dgCompra).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)pb_exit).EndInit();
|
|
ResumeLayout(false);
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Label label1;
|
|
public Panel pn_controls;
|
|
public Button btn_cancel;
|
|
public Button btn_print;
|
|
public Button btn_excluir;
|
|
public Button btn_alterar;
|
|
public Button btn_localizar;
|
|
public Button btn_inserir;
|
|
public Button btn_save;
|
|
private Panel pnfinalizar;
|
|
private Label label16;
|
|
public Panel panel1;
|
|
public Button btn_save2;
|
|
public Button btn_cancel2;
|
|
private GroupBox gpparcelas;
|
|
private DataGridView dgvParcelas;
|
|
private Panel pn_dados;
|
|
private PictureBox pb_exit;
|
|
private MaskedTextBox txtTotal;
|
|
private Label label15;
|
|
private Label label14;
|
|
private Label label13;
|
|
private DateTimePicker dtpInicial;
|
|
private ComboBox cbTipoPag;
|
|
private Label label12;
|
|
private ComboBox cbParcelas;
|
|
private Label label11;
|
|
private GroupBox groupBox1;
|
|
private DataGridView dgCompra;
|
|
private Button btnAddProd;
|
|
private TextBox txtValorUnitario;
|
|
private Label label10;
|
|
private TextBox txtqtde;
|
|
private Label label9;
|
|
private TextBox txt_procod;
|
|
private Label label8;
|
|
private Button btn_loc_produto;
|
|
private TextBox txt_proname;
|
|
private Label label7;
|
|
private Button btn_loc_for;
|
|
private TextBox txt_nomeFor;
|
|
private Label label6;
|
|
private TextBox txt_forcod;
|
|
private Label label5;
|
|
private DateTimePicker dtpDatacompra;
|
|
private Label label4;
|
|
private TextBox txt_notafiscal;
|
|
private Label label3;
|
|
private TextBox txt_comp_cod;
|
|
private Label label2;
|
|
private Label lblTotalCompra;
|
|
private Label label18;
|
|
private DataGridViewTextBoxColumn Procod;
|
|
private DataGridViewTextBoxColumn Pronome;
|
|
private DataGridViewTextBoxColumn proqtd;
|
|
private DataGridViewTextBoxColumn provund;
|
|
private DataGridViewTextBoxColumn provtoral;
|
|
public Button btn_imprimirPag;
|
|
private DataGridViewTextBoxColumn pco_cod;
|
|
private DataGridViewTextBoxColumn pco_valor;
|
|
private DataGridViewTextBoxColumn pco_datavecto;
|
|
private DataGridViewTextBoxColumn pco_datapagto;
|
|
}
|
|
} |