Commit c91f2cfc authored by  Bruno Daniel Di Bello Baladan's avatar Bruno Daniel Di Bello Baladan
Browse files

se acomodo un poco el tamano del form

parent 61966d53
Pipeline #184 skipped
......@@ -41,12 +41,12 @@
this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.AllowUserToDeleteRows = false;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Location = new System.Drawing.Point(11, 30);
this.dataGridView1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
this.dataGridView1.Location = new System.Drawing.Point(33, 30);
this.dataGridView1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.ReadOnly = true;
this.dataGridView1.RowTemplate.Height = 24;
this.dataGridView1.Size = new System.Drawing.Size(714, 237);
this.dataGridView1.Size = new System.Drawing.Size(622, 313);
this.dataGridView1.TabIndex = 0;
this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);
//
......@@ -56,9 +56,10 @@
//
// AddEmpBtn
//
this.AddEmpBtn.Location = new System.Drawing.Point(428, 292);
this.AddEmpBtn.Location = new System.Drawing.Point(279, 360);
this.AddEmpBtn.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.AddEmpBtn.Name = "AddEmpBtn";
this.AddEmpBtn.Size = new System.Drawing.Size(75, 23);
this.AddEmpBtn.Size = new System.Drawing.Size(100, 28);
this.AddEmpBtn.TabIndex = 1;
this.AddEmpBtn.Text = "Agregar empleado";
this.AddEmpBtn.UseVisualStyleBackColor = true;
......@@ -66,11 +67,12 @@
//
// EmployeeList
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(766, 345);
this.ClientSize = new System.Drawing.Size(680, 423);
this.Controls.Add(this.AddEmpBtn);
this.Controls.Add(this.dataGridView1);
this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
this.Name = "EmployeeList";
this.Text = "EmployeeList";
this.Load += new System.EventHandler(this.EmployeeList_Load);
......
......@@ -17,6 +17,8 @@ namespace PresentationLayerWinform
public EmployeeList()
{
InitializeComponent();
this.StartPosition = FormStartPosition.CenterScreen;
}
public void ListEmployees()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment