241 lines
8.9 KiB
C#
241 lines
8.9 KiB
C#
namespace Vista
|
|
{
|
|
partial class FrmFactura
|
|
{
|
|
/// <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()
|
|
{
|
|
button1 = new Button();
|
|
button2 = new Button();
|
|
numid = new NumericUpDown();
|
|
label1 = new Label();
|
|
numtotal = new NumericUpDown();
|
|
label2 = new Label();
|
|
datepick = new DateTimePicker();
|
|
label3 = new Label();
|
|
label4 = new Label();
|
|
cmbCliente = new ComboBox();
|
|
dataGridView1 = new DataGridView();
|
|
dataGridView2 = new DataGridView();
|
|
numericUpDown1 = new NumericUpDown();
|
|
Unidades = new Label();
|
|
button3 = new Button();
|
|
((System.ComponentModel.ISupportInitialize)numid).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)numtotal).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView2).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)numericUpDown1).BeginInit();
|
|
SuspendLayout();
|
|
//
|
|
// button1
|
|
//
|
|
button1.Location = new Point(12, 367);
|
|
button1.Name = "button1";
|
|
button1.Size = new Size(113, 46);
|
|
button1.TabIndex = 0;
|
|
button1.Text = "Aceptar";
|
|
button1.UseVisualStyleBackColor = true;
|
|
button1.Click += button1_Click;
|
|
//
|
|
// button2
|
|
//
|
|
button2.Location = new Point(172, 367);
|
|
button2.Name = "button2";
|
|
button2.Size = new Size(115, 46);
|
|
button2.TabIndex = 1;
|
|
button2.Text = "Cancelar";
|
|
button2.UseVisualStyleBackColor = true;
|
|
button2.Click += button2_Click;
|
|
//
|
|
// numid
|
|
//
|
|
numid.Location = new Point(97, 26);
|
|
numid.Maximum = new decimal(new int[] { 1215752191, 23, 0, 0 });
|
|
numid.Name = "numid";
|
|
numid.Size = new Size(120, 23);
|
|
numid.TabIndex = 2;
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Location = new Point(69, 34);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(18, 15);
|
|
label1.TabIndex = 3;
|
|
label1.Text = "ID";
|
|
//
|
|
// numtotal
|
|
//
|
|
numtotal.Enabled = false;
|
|
numtotal.Location = new Point(97, 57);
|
|
numtotal.Maximum = new decimal(new int[] { 1215752191, 23, 0, 0 });
|
|
numtotal.Name = "numtotal";
|
|
numtotal.ReadOnly = true;
|
|
numtotal.Size = new Size(120, 23);
|
|
numtotal.TabIndex = 4;
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.Location = new Point(59, 65);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(32, 15);
|
|
label2.TabIndex = 5;
|
|
label2.Text = "Total";
|
|
//
|
|
// datepick
|
|
//
|
|
datepick.Location = new Point(97, 88);
|
|
datepick.Name = "datepick";
|
|
datepick.Size = new Size(120, 23);
|
|
datepick.TabIndex = 6;
|
|
datepick.ValueChanged += datepick_ValueChanged;
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.Location = new Point(49, 94);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(38, 15);
|
|
label3.TabIndex = 7;
|
|
label3.Text = "Fecha";
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.Location = new Point(49, 124);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(44, 15);
|
|
label4.TabIndex = 8;
|
|
label4.Text = "Cliente";
|
|
//
|
|
// cmbCliente
|
|
//
|
|
cmbCliente.DropDownStyle = ComboBoxStyle.DropDownList;
|
|
cmbCliente.FormattingEnabled = true;
|
|
cmbCliente.Location = new Point(99, 121);
|
|
cmbCliente.Name = "cmbCliente";
|
|
cmbCliente.Size = new Size(121, 23);
|
|
cmbCliente.TabIndex = 10;
|
|
//
|
|
// dataGridView1
|
|
//
|
|
dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView1.Location = new Point(290, 12);
|
|
dataGridView1.Name = "dataGridView1";
|
|
dataGridView1.RowTemplate.Height = 25;
|
|
dataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
dataGridView1.Size = new Size(324, 318);
|
|
dataGridView1.TabIndex = 11;
|
|
//
|
|
// dataGridView2
|
|
//
|
|
dataGridView2.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
|
|
dataGridView2.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView2.Location = new Point(674, 12);
|
|
dataGridView2.Name = "dataGridView2";
|
|
dataGridView2.RowTemplate.Height = 25;
|
|
dataGridView2.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
dataGridView2.Size = new Size(290, 336);
|
|
dataGridView2.TabIndex = 12;
|
|
//
|
|
// numericUpDown1
|
|
//
|
|
numericUpDown1.Location = new Point(494, 359);
|
|
numericUpDown1.Name = "numericUpDown1";
|
|
numericUpDown1.Size = new Size(120, 23);
|
|
numericUpDown1.TabIndex = 13;
|
|
//
|
|
// Unidades
|
|
//
|
|
Unidades.AutoSize = true;
|
|
Unidades.Location = new Point(420, 367);
|
|
Unidades.Name = "Unidades";
|
|
Unidades.Size = new Size(56, 15);
|
|
Unidades.TabIndex = 14;
|
|
Unidades.Text = "Unidades";
|
|
//
|
|
// button3
|
|
//
|
|
button3.Location = new Point(420, 390);
|
|
button3.Name = "button3";
|
|
button3.Size = new Size(194, 36);
|
|
button3.TabIndex = 15;
|
|
button3.Text = "Añadir";
|
|
button3.UseVisualStyleBackColor = true;
|
|
button3.Click += button3_Click;
|
|
//
|
|
// FrmFactura
|
|
//
|
|
AutoScaleDimensions = new SizeF(7F, 15F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(976, 450);
|
|
Controls.Add(button3);
|
|
Controls.Add(Unidades);
|
|
Controls.Add(numericUpDown1);
|
|
Controls.Add(dataGridView2);
|
|
Controls.Add(dataGridView1);
|
|
Controls.Add(cmbCliente);
|
|
Controls.Add(label4);
|
|
Controls.Add(label3);
|
|
Controls.Add(datepick);
|
|
Controls.Add(label2);
|
|
Controls.Add(numtotal);
|
|
Controls.Add(label1);
|
|
Controls.Add(numid);
|
|
Controls.Add(button2);
|
|
Controls.Add(button1);
|
|
Name = "FrmFactura";
|
|
Text = "Form1";
|
|
((System.ComponentModel.ISupportInitialize)numid).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)numtotal).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView2).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)numericUpDown1).EndInit();
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Button button1;
|
|
private Button button2;
|
|
private NumericUpDown numid;
|
|
private Label label1;
|
|
private NumericUpDown numtotal;
|
|
private Label label2;
|
|
private DateTimePicker datepick;
|
|
private Label label3;
|
|
private Label label4;
|
|
private ComboBox cmbCliente;
|
|
private DataGridView dataGridView1;
|
|
private DataGridView dataGridView2;
|
|
private NumericUpDown numericUpDown1;
|
|
private Label Unidades;
|
|
private Button button3;
|
|
}
|
|
} |