Laboratorios Sebastian Muñoz
Laboratorios Sebastian Muñoz
PRESENTADO POR:
SEBASTIAN MUOZ ARTUNDUAGA
CDIGO: 1018464168
TUTOR
JHON FREDY MONTES MORA
CODIGO DEL GRUPO: 103380_65
CODIGO FUENTE
-
ACOMULADORES EJEMPLOS
/// <summary>
/// Disposes resources used by the form.
/// </summary>
/// <param name="disposing">true if managed resources should
be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing) {
if (components != null) {
components.Dispose();
}
}
base.Dispose(disposing);
}
/// <summary>
/// This method is required for Windows Forms designer support.
/// Do not change the method contents inside the source code
editor. The Forms designer might
/// not be able to load this method if it was changed manually.
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.cobfibo = new System.Windows.Forms.ComboBox();
this.label3 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// label1
//
this.label1.Location = new System.Drawing.Point(46, 59);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(100, 23);
this.label1.TabIndex = 0;
this.label1.Text = "Numero 1";
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(46, 85);
this.textBox1.Name = "textBox1";
System.Windows.Forms.Label label3;
System.Windows.Forms.ComboBox cobfibo;
System.Windows.Forms.Button button1;
System.Windows.Forms.TextBox textBox1;
System.Windows.Forms.Label label1;
}
}
ACOMULADORES QUE ES
/// <summary>
/// Disposes resources used by the form.
/// </summary>
/// <param name="disposing">true if managed resources should
be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing) {
if (components != null) {
components.Dispose();
}
}
base.Dispose(disposing);
}
/// <summary>
/// This method is required for Windows Forms designer support.
/// Do not change the method contents inside the source code
editor. The Forms designer might
/// not be able to load this method if it was changed manually.
/// </summary>
private void InitializeComponent()
{
ALGORITMOS
DEFINICION DE CICLO
if (disposing) {
if (components != null) {
components.Dispose();
}
}
base.Dispose(disposing);
/// <summary>
/// This method is required for Windows Forms designer support.
/// Do not change the method contents inside the source code editor. The
Forms designer might
/// not be able to load this method if it was changed manually.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources
= new System.ComponentModel.ComponentResourceManager(typeof(Cicloquees));
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// label1
//
this.label1.Location = new System.Drawing.Point(13, 65);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(259, 119);
this.label1.TabIndex = 0;
this.label1.Text = resources.GetString("label1.Text");
this.label1.TextAlign =
System.Drawing.ContentAlignment.TopCenter;
//
// Cicloquees
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode =
System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(284, 262);
this.Controls.Add(this.label1);
this.Name = "Cicloquees";
this.StartPosition =
System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Cicloquees";
this.ResumeLayout(false);
}
private System.Windows.Forms.Label label1;
}
}
EJEMPLOS DE CICLO
/// <summary>
/// Disposes resources used by the form.
/// </summary>
/// <param name="disposing">true if managed resources should
be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing) {
if (components != null) {
components.Dispose();
}
}
base.Dispose(disposing);
}
/// <summary>
/// This method is required for Windows Forms designer support.
/// Do not change the method contents inside the source code
editor. The Forms designer might
/// not be able to load this method if it was changed manually.
/// </summary>
private void InitializeComponent()
{
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.cobdivision = new System.Windows.Forms.ComboBox();
this.cobmultiplicaion = new System.Windows.Forms.ComboBox();
this.cobresta = new System.Windows.Forms.ComboBox();
this.cobsuma = new System.Windows.Forms.ComboBox();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.groupBox1.SuspendLayout();
this.groupBox2.SuspendLayout();
this.SuspendLayout();
//
// groupBox1
//
this.groupBox1.Controls.Add(this.button2);
this.groupBox1.Controls.Add(this.button1);
this.groupBox1.Controls.Add(this.textBox1);
this.groupBox1.Controls.Add(this.label1);
this.groupBox1.Location = new System.Drawing.Point(13, 23);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(465, 100);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "Datos";
//
// button2
//
this.button2.Location = new System.Drawing.Point(367, 65);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 23);
this.button2.TabIndex = 3;
this.button2.Text = "Calcular";
this.button2.UseVisualStyleBackColor = true;
this.button2.Click += new System.EventHandler(this.Button2Click);
//
// button1
//
this.button1.Location = new System.Drawing.Point(43, 65);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 2;
this.button1.Text = "Nuevo";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.Button1Click);
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(72, 20);
10
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(243, 20);
this.textBox1.TabIndex = 1;
this.textBox1.TextChanged += new
System.EventHandler(this.textBox1_TextChanged);
//
// label1
//
this.label1.Location = new System.Drawing.Point(7, 20);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(100, 23);
this.label1.TabIndex = 0;
this.label1.Text = "Numero:";
this.label1.Click += new System.EventHandler(this.Label1Click);
//
// groupBox2
//
this.groupBox2.Controls.Add(this.cobdivision);
this.groupBox2.Controls.Add(this.cobmultiplicaion);
this.groupBox2.Controls.Add(this.cobresta);
this.groupBox2.Controls.Add(this.cobsuma);
this.groupBox2.Controls.Add(this.label5);
this.groupBox2.Controls.Add(this.label4);
this.groupBox2.Controls.Add(this.label3);
this.groupBox2.Controls.Add(this.label2);
this.groupBox2.Location = new System.Drawing.Point(13, 150);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(465, 100);
this.groupBox2.TabIndex = 1;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "Solucion";
//
// cobdivision
//
this.cobdivision.FormattingEnabled = true;
this.cobdivision.Location = new System.Drawing.Point(359, 43);
this.cobdivision.Name = "cobdivision";
this.cobdivision.Size = new System.Drawing.Size(83, 21);
this.cobdivision.TabIndex = 7;
//
// cobmultiplicaion
//
this.cobmultiplicaion.FormattingEnabled = true;
this.cobmultiplicaion.Location = new System.Drawing.Point(219, 47);
this.cobmultiplicaion.Name = "cobmultiplicaion";
this.cobmultiplicaion.Size = new System.Drawing.Size(74, 21);
this.cobmultiplicaion.TabIndex = 6;
//
// cobresta
//
this.cobresta.FormattingEnabled = true;
this.cobresta.Location = new System.Drawing.Point(113, 47);
this.cobresta.Name = "cobresta";
this.cobresta.Size = new System.Drawing.Size(67, 21);
this.cobresta.TabIndex = 5;
//
// cobsuma
//
this.cobsuma.FormattingEnabled = true;
this.cobsuma.Location = new System.Drawing.Point(7, 47);
11
this.cobsuma.Name = "cobsuma";
this.cobsuma.Size = new System.Drawing.Size(75, 21);
this.cobsuma.TabIndex = 4;
//
// label5
//
this.label5.Location = new System.Drawing.Point(359, 16);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(100, 23);
this.label5.TabIndex = 3;
this.label5.Text = "Division";
//
// label4
//
this.label4.Location = new System.Drawing.Point(219, 16);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(100, 23);
this.label4.TabIndex = 2;
this.label4.Text = "Multiplicacion";
//
// label3
//
this.label3.Location = new System.Drawing.Point(113, 16);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(100, 23);
this.label3.TabIndex = 1;
this.label3.Text = "Resta";
//
// label2
//
this.label2.Location = new System.Drawing.Point(7, 20);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(100, 23);
this.label2.TabIndex = 0;
this.label2.Text = "Suma";
//
// Ciclosejemplo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(490, 262);
this.Controls.Add(this.groupBox2);
this.Controls.Add(this.groupBox1);
this.Name = "Ciclosejemplo";
this.Text = "Ciclosejemplo";
this.groupBox1.ResumeLayout(false);
this.groupBox1.PerformLayout();
this.groupBox2.ResumeLayout(false);
this.ResumeLayout(false);
}
private
private
private
private
private
private
private
private
private
System.Windows.Forms.Label label2;
System.Windows.Forms.Label label3;
System.Windows.Forms.Label label4;
System.Windows.Forms.Label label5;
System.Windows.Forms.ComboBox cobsuma;
System.Windows.Forms.ComboBox cobresta;
System.Windows.Forms.ComboBox cobmultiplicaion;
System.Windows.Forms.ComboBox cobdivision;
System.Windows.Forms.TextBox textBox1;
12
private
private
private
private
private
System.Windows.Forms.Button button1;
System.Windows.Forms.Button button2;
System.Windows.Forms.GroupBox groupBox2;
System.Windows.Forms.Label label1;
System.Windows.Forms.GroupBox groupBox1;
TIPOS DE CICLO
/// <summary>
/// Disposes resources used by the form.
/// </summary>
/// <param name="disposing">true if managed resources should
be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
13
if (disposing) {
if (components != null) {
components.Dispose();
}
}
base.Dispose(disposing);
}
/// <summary>
/// This method is required for Windows Forms designer support.
/// Do not change the method contents inside the source code
editor. The Forms designer might
/// not be able to load this method if it was changed manually.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager
resources = new
System.ComponentModel.ComponentResourceManager(typeof(Ciclotipos));
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// label1
//
this.label1.Location = new System.Drawing.Point(13, 9);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(259, 244);
this.label1.TabIndex = 0;
this.label1.Text = resources.GetString("label1.Text");
//
// Ciclotipos
//
this.AutoScaleDimensions = new
System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode =
System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(284, 262);
this.Controls.Add(this.label1);
this.Name = "Ciclotipos";
this.StartPosition =
System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Ciclotipos";
this.ResumeLayout(false);
}
private System.Windows.Forms.Label label1;
}
}
14
CONDICIONALES
15
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources
= new System.ComponentModel.ComponentResourceManager(typeof(Condicional));
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// label1
//
this.label1.Location = new System.Drawing.Point(12, 36);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(260, 207);
this.label1.TabIndex = 0;
this.label1.Text = resources.GetString("label1.Text");
this.label1.TextAlign =
System.Drawing.ContentAlignment.TopCenter;
//
// Condicional
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode =
System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(284, 262);
this.Controls.Add(this.label1);
this.Name = "Condicional";
this.StartPosition =
System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Condicional";
this.ResumeLayout(false);
}
private System.Windows.Forms.Label label1;
}
}
16
CONDICIONAL EJEMPLO
/// <summary>
/// Disposes resources used by the form.
/// </summary>
/// <param name="disposing">true if managed resources should
be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing) {
if (components != null) {
components.Dispose();
}
}
base.Dispose(disposing);
}
/// <summary>
/// This method is required for Windows Forms designer support.
/// Do not change the method contents inside the source code
editor. The Forms designer might
/// not be able to load this method if it was changed manually.
/// </summary>
private void InitializeComponent()
{
this.Numero1 = new System.Windows.Forms.TextBox();
this.Numero2 = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// Numero1
//
this.Numero1.Location = new System.Drawing.Point(13,
36);
this.Numero1.Name = "Numero1";
this.Numero1.Size = new System.Drawing.Size(100, 20);
this.Numero1.TabIndex = 0;
//
// Numero2
//
this.Numero2.Location = new System.Drawing.Point(13,
102);
this.Numero2.Name = "Numero2";
17
18
}
private
private
private
private
private
private
CONTADOR EJEMPLO
System.Windows.Forms.Label label3;
System.Windows.Forms.Button button1;
System.Windows.Forms.Label label2;
System.Windows.Forms.Label label1;
System.Windows.Forms.TextBox Numero2;
System.Windows.Forms.TextBox Numero1;
19
components.Dispose();
}
}
base.Dispose(disposing);
/// <summary>
/// This method is required for Windows Forms designer support.
/// Do not change the method contents inside the source code editor. The
Forms designer might
/// not be able to load this method if it was changed manually.
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.button1 = new System.Windows.Forms.Button();
this.numero = new System.Windows.Forms.TextBox();
this.cobsuma = new System.Windows.Forms.ComboBox();
this.SuspendLayout();
//
// label1
//
this.label1.Location = new System.Drawing.Point(98, 46);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(100, 23);
this.label1.TabIndex = 0;
this.label1.Text = "Ingrese numero\r\n";
//
// button1
//
this.button1.Location = new System.Drawing.Point(98, 179);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 1;
this.button1.Text = "Contar";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new
System.EventHandler(this.Button1Click);
//
// numero
//
this.numero.Location = new System.Drawing.Point(98, 92);
this.numero.Name = "numero";
this.numero.Size = new System.Drawing.Size(100, 20);
this.numero.TabIndex = 2;
//
// cobsuma
//
this.cobsuma.FormattingEnabled = true;
this.cobsuma.Location = new System.Drawing.Point(86, 128);
this.cobsuma.Name = "cobsuma";
this.cobsuma.Size = new System.Drawing.Size(121, 21);
this.cobsuma.TabIndex = 3;
//
// Contadorejemplo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode =
System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(284, 262);
20
}
private
private
private
private
this.Controls.Add(this.cobsuma);
this.Controls.Add(this.numero);
this.Controls.Add(this.button1);
this.Controls.Add(this.label1);
this.Name = "Contadorejemplo";
this.Text = "Contadorejemplo";
this.ResumeLayout(false);
this.PerformLayout();
System.Windows.Forms.ComboBox cobsuma;
System.Windows.Forms.TextBox numero;
System.Windows.Forms.Button button1;
System.Windows.Forms.Label label1;
CONTADOR DEFINICION
/// <summary>
/// Disposes resources used by the form.
/// </summary>
21
22
CREDITOS
23
}
private System.Windows.Forms.Label label1;
FLUJO
24
25
this.Name = "Flujo";
this.StartPosition =
System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Flujo";
this.ResumeLayout(false);
}
private System.Windows.Forms.Label label1;
}
}
26