You are on page 1of 7

William hiciano 2015-2668

Unidad 2, Act. 3 – ListView y TreeView Calendar y TimePicker

En la siguiente imagen podemos observar una captura con el código del programa.

1|P a g e
William hiciano 2015-2668

Como Se Puede Visualizar El Programa Se Ejecuta Correctamente, Sin


Ningún Error.

2|P a g e
William hiciano 2015-2668

3|P a g e
William hiciano 2015-2668

namespace ProvinciaQuiroz
{
partial class Form1
{
/// <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()
{
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.listBox1 = new System.Windows.Forms.ListBox();
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// comboBox1
//
this.comboBox1.BackColor =
System.Drawing.SystemColors.MenuHighlight;
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Items.AddRange(new object[] {
"Azua",
"Baoruco",
"Barahona",
"Dajabón",
"Distrito Nacional",
"Duarte",
"El Seibo",
"Elías Piña",
"Espaillat",
"Hato Mayor",
"Hermanas Mirabal",
"Independencia",
"La Altagracia",
"La Romana",
"La Vega",

4|P a g e
William hiciano 2015-2668

"María Trinidad Sánchez",


"Monseñor Nouel",
"Monte Cristi",
"Monte Plata",
"Pedernales",
"Peravia",
"Puerto Plata",
"Samaná",
"San Cristóbal",
"San José De Ocoa",
"San Juan ",
"San Pedro De Macorís",
"Sánchez Ramírez",
"Santiago",
"Santiago Rodríguez",
"Santo Domingo",
"Valverde"});

this.comboBox1.Location = new System.Drawing.Point(54, 48);


this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(202, 21);
this.comboBox1.TabIndex = 0;
this.comboBox1.SelectedIndexChanged += new
System.EventHandler(this.comboBox1_SelectedIndexChanged);
//
// listBox1
//
this.listBox1.BackColor = System.Drawing.Color.SteelBlue;
this.listBox1.FormattingEnabled = true;
this.listBox1.Location = new System.Drawing.Point(306, 48);
this.listBox1.Name = "listBox1";
this.listBox1.Size = new System.Drawing.Size(182, 303);
this.listBox1.TabIndex = 1;
this.listBox1.SelectedIndexChanged += new
System.EventHandler(this.listBox1_SelectedIndexChanged);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("Arial Black",
15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point,
((byte)(0)));
this.label1.Location = new System.Drawing.Point(196, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(385, 30);
this.label1.TabIndex = 2;
this.label1.Text = "Por Favor Escoger Una Provincia";
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.ActiveCaption;
this.ClientSize = new System.Drawing.Size(800, 450);
this.Controls.Add(this.label1);
this.Controls.Add(this.listBox1);
this.Controls.Add(this.comboBox1);

5|P a g e
William hiciano 2015-2668

this.Name = "Quiroz_Provincias";
this.StartPosition =
System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Quiroz_Provincias";
this.Load += new System.EventHandler(this.Form1_Load);
this.ResumeLayout(false);
this.PerformLayout();

#endregion

private System.Windows.Forms.ComboBox comboBox1;


private System.Windows.Forms.ListBox listBox1;
private System.Windows.Forms.Label label1;
}
}

6|P a g e
William hiciano 2015-2668

saedf

7|P a g e

You might also like