893 lines
35 KiB
C#
893 lines
35 KiB
C#
namespace IBRCAD
|
|
{
|
|
partial class frm_movimentacaovenda : Form
|
|
{
|
|
/// <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_movimentacaovenda));
|
|
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();
|
|
lblTotalVenda = 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();
|
|
chb_avista = new CheckBox();
|
|
chb_verificar_estoque = new CheckBox();
|
|
lbl_statusvenda = new Label();
|
|
label17 = new Label();
|
|
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();
|
|
gp_dgvVendas = new GroupBox();
|
|
dgVendas = 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_cli = new Button();
|
|
txt_nomeCli = new TextBox();
|
|
label6 = new Label();
|
|
txt_clicod = new TextBox();
|
|
label5 = new Label();
|
|
dtpDataVenda = new DateTimePicker();
|
|
label4 = new Label();
|
|
txt_notafiscal = new TextBox();
|
|
label3 = new Label();
|
|
txt_vendCod = 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();
|
|
gp_dgvVendas.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dgVendas).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(224, 3);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(288, 21);
|
|
label1.TabIndex = 0;
|
|
label1.Text = "Bem vindo ao sistema de Vendas 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 Venda";
|
|
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 Venda";
|
|
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 Venda";
|
|
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 Venda";
|
|
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 venda";
|
|
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 = "Relatorio Venda";
|
|
btn_print.TextAlign = ContentAlignment.BottomCenter;
|
|
btn_print.UseVisualStyleBackColor = true;
|
|
btn_print.Click += btn_print_Click;
|
|
//
|
|
// pnfinalizar
|
|
//
|
|
pnfinalizar.Controls.Add(lblTotalVenda);
|
|
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;
|
|
//
|
|
// lblTotalVenda
|
|
//
|
|
lblTotalVenda.AutoSize = true;
|
|
lblTotalVenda.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
lblTotalVenda.ForeColor = Color.Red;
|
|
lblTotalVenda.Location = new Point(541, 12);
|
|
lblTotalVenda.Name = "lblTotalVenda";
|
|
lblTotalVenda.Size = new Size(29, 21);
|
|
lblTotalVenda.TabIndex = 38;
|
|
lblTotalVenda.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(112, 21);
|
|
label18.TabIndex = 37;
|
|
label18.Text = "Total da venda:";
|
|
//
|
|
// 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 = "Imp. parcelas";
|
|
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 = "Finalizar";
|
|
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 venda:";
|
|
//
|
|
// 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(chb_avista);
|
|
pn_dados.Controls.Add(chb_verificar_estoque);
|
|
pn_dados.Controls.Add(lbl_statusvenda);
|
|
pn_dados.Controls.Add(label17);
|
|
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(gp_dgvVendas);
|
|
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_cli);
|
|
pn_dados.Controls.Add(txt_nomeCli);
|
|
pn_dados.Controls.Add(label6);
|
|
pn_dados.Controls.Add(txt_clicod);
|
|
pn_dados.Controls.Add(label5);
|
|
pn_dados.Controls.Add(dtpDataVenda);
|
|
pn_dados.Controls.Add(label4);
|
|
pn_dados.Controls.Add(txt_notafiscal);
|
|
pn_dados.Controls.Add(label3);
|
|
pn_dados.Controls.Add(txt_vendCod);
|
|
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;
|
|
//
|
|
// chb_avista
|
|
//
|
|
chb_avista.AutoSize = true;
|
|
chb_avista.ForeColor = Color.Red;
|
|
chb_avista.Location = new Point(553, 421);
|
|
chb_avista.Name = "chb_avista";
|
|
chb_avista.Size = new Size(59, 19);
|
|
chb_avista.TabIndex = 69;
|
|
chb_avista.Text = "à vista";
|
|
chb_avista.UseVisualStyleBackColor = true;
|
|
chb_avista.CheckedChanged += chb_avista_CheckedChanged;
|
|
//
|
|
// chb_verificar_estoque
|
|
//
|
|
chb_verificar_estoque.AutoSize = true;
|
|
chb_verificar_estoque.ForeColor = Color.Red;
|
|
chb_verificar_estoque.Location = new Point(610, 373);
|
|
chb_verificar_estoque.Name = "chb_verificar_estoque";
|
|
chb_verificar_estoque.Size = new Size(170, 19);
|
|
chb_verificar_estoque.TabIndex = 68;
|
|
chb_verificar_estoque.Text = "Verificar estoque disponivel";
|
|
chb_verificar_estoque.UseVisualStyleBackColor = true;
|
|
//
|
|
// lbl_statusvenda
|
|
//
|
|
lbl_statusvenda.AutoSize = true;
|
|
lbl_statusvenda.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
lbl_statusvenda.Location = new Point(107, 140);
|
|
lbl_statusvenda.Name = "lbl_statusvenda";
|
|
lbl_statusvenda.Size = new Size(19, 21);
|
|
lbl_statusvenda.TabIndex = 67;
|
|
lbl_statusvenda.Text = "0";
|
|
//
|
|
// label17
|
|
//
|
|
label17.AutoSize = true;
|
|
label17.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label17.Location = new Point(8, 139);
|
|
label17.Name = "label17";
|
|
label17.Size = new Size(102, 21);
|
|
label17.TabIndex = 66;
|
|
label17.Text = "Status Venda:";
|
|
//
|
|
// 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, 397);
|
|
label14.Name = "label14";
|
|
label14.Size = new Size(86, 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";
|
|
//
|
|
// gp_dgvVendas
|
|
//
|
|
gp_dgvVendas.Controls.Add(dgVendas);
|
|
gp_dgvVendas.Location = new Point(6, 168);
|
|
gp_dgvVendas.Name = "gp_dgvVendas";
|
|
gp_dgvVendas.Size = new Size(774, 203);
|
|
gp_dgvVendas.TabIndex = 56;
|
|
gp_dgvVendas.TabStop = false;
|
|
gp_dgvVendas.Text = "Lista de Itens";
|
|
//
|
|
// dgVendas
|
|
//
|
|
dgVendas.AllowUserToAddRows = false;
|
|
dgVendas.AllowUserToDeleteRows = false;
|
|
dgVendas.BackgroundColor = Color.White;
|
|
dgVendas.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dgVendas.Columns.AddRange(new DataGridViewColumn[] { Procod, Pronome, proqtd, provund, provtoral });
|
|
dgVendas.Dock = DockStyle.Fill;
|
|
dgVendas.Location = new Point(3, 19);
|
|
dgVendas.Name = "dgVendas";
|
|
dgVendas.ReadOnly = true;
|
|
dgVendas.Size = new Size(768, 181);
|
|
dgVendas.TabIndex = 0;
|
|
dgVendas.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, 143);
|
|
btnAddProd.Name = "btnAddProd";
|
|
btnAddProd.Size = new Size(371, 22);
|
|
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(92, 108);
|
|
txt_procod.Name = "txt_procod";
|
|
txt_procod.Size = new Size(87, 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_cli
|
|
//
|
|
btn_loc_cli.Location = new Point(661, 81);
|
|
btn_loc_cli.Name = "btn_loc_cli";
|
|
btn_loc_cli.Size = new Size(90, 23);
|
|
btn_loc_cli.TabIndex = 45;
|
|
btn_loc_cli.Text = "Localizar";
|
|
btn_loc_cli.UseVisualStyleBackColor = true;
|
|
btn_loc_cli.Click += btn_loc_for_Click;
|
|
//
|
|
// txt_nomeCli
|
|
//
|
|
txt_nomeCli.Location = new Point(318, 81);
|
|
txt_nomeCli.Name = "txt_nomeCli";
|
|
txt_nomeCli.Size = new Size(337, 23);
|
|
txt_nomeCli.TabIndex = 44;
|
|
//
|
|
// label6
|
|
//
|
|
label6.AutoSize = true;
|
|
label6.Font = new Font("Segoe UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
|
|
label6.Location = new Point(195, 80);
|
|
label6.Name = "label6";
|
|
label6.Size = new Size(127, 21);
|
|
label6.TabIndex = 43;
|
|
label6.Text = "Nome do cliente:";
|
|
//
|
|
// txt_clicod
|
|
//
|
|
txt_clicod.Enabled = false;
|
|
txt_clicod.Location = new Point(92, 78);
|
|
txt_clicod.Name = "txt_clicod";
|
|
txt_clicod.Size = new Size(97, 23);
|
|
txt_clicod.TabIndex = 42;
|
|
txt_clicod.Leave += txt_clicod_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(80, 21);
|
|
label5.TabIndex = 41;
|
|
label5.Text = "ID Cliente:";
|
|
//
|
|
// dtpDataVenda
|
|
//
|
|
dtpDataVenda.Location = new Point(551, 38);
|
|
dtpDataVenda.Name = "dtpDataVenda";
|
|
dtpDataVenda.Size = new Size(200, 23);
|
|
dtpDataVenda.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(96, 21);
|
|
label4.TabIndex = 39;
|
|
label4.Text = "Data Venda :";
|
|
//
|
|
// 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_vendCod
|
|
//
|
|
txt_vendCod.Enabled = false;
|
|
txt_vendCod.Location = new Point(52, 38);
|
|
txt_vendCod.Name = "txt_vendCod";
|
|
txt_vendCod.Size = new Size(57, 23);
|
|
txt_vendCod.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_movimentacaovenda
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
BackColor = Color.White;
|
|
ClientSize = new Size(1425, 635);
|
|
Controls.Add(pnfinalizar);
|
|
Controls.Add(pb_exit);
|
|
Controls.Add(pn_dados);
|
|
Controls.Add(pn_controls);
|
|
FormBorderStyle = FormBorderStyle.None;
|
|
Name = "frm_movimentacaovenda";
|
|
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();
|
|
gp_dgvVendas.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dgVendas).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 gp_dgvVendas;
|
|
private DataGridView dgVendas;
|
|
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_cli;
|
|
private TextBox txt_nomeCli;
|
|
private Label label6;
|
|
private TextBox txt_clicod;
|
|
private Label label5;
|
|
private DateTimePicker dtpDataVenda;
|
|
private Label label4;
|
|
private TextBox txt_notafiscal;
|
|
private Label label3;
|
|
private TextBox txt_vendCod;
|
|
private Label label2;
|
|
private Label lblTotalVenda;
|
|
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;
|
|
private Label lbl_statusvenda;
|
|
private Label label17;
|
|
private CheckBox chb_verificar_estoque;
|
|
private CheckBox chb_avista;
|
|
}
|
|
} |