0% found this document useful (0 votes)
51 views26 pages

Laboratorios Sebastian Muñoz

This document summarizes a programming fundamentals workshop presented by Sebastian Muñoz Artunduaga. The workshop includes code examples of accumulators and algorithms using C# and .NET. It also defines cycles and includes examples of cycle code.

Uploaded by

Sebastian Muñoz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views26 pages

Laboratorios Sebastian Muñoz

This document summarizes a programming fundamentals workshop presented by Sebastian Muñoz Artunduaga. The workshop includes code examples of accumulators and algorithms using C# and .NET. It also defines cycles and includes examples of cycle code.

Uploaded by

Sebastian Muñoz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 26

TALLER DE FUNDAMENTACION DE PROGRAMACION

PRESENTADO POR:
SEBASTIAN MUOZ ARTUNDUAGA
CDIGO: 1018464168

TUTOR
JHON FREDY MONTES MORA
CODIGO DEL GRUPO: 103380_65

UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA


ALGORITMOS, UNAD COLOMBIA
08 DICIEMBRE DE 2016

CODIGO FUENTE
-

ACOMULADORES EJEMPLOS

//Nombre del Autor: Sebastian Muoz Artunduaga


//Fecha:08/12/2016
//Doy fe que este ejercicio es de mi autora, en caso de encontrar plagio la nota
de todo mi
//trabajo debe ser de CERO adems de las respectivas sanciones a que haya
lugar
namespace laboratorio
{
partial class Acumuladorejemplo
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
private System.ComponentModel.IContainer components = null;

/// <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";

this.textBox1.Size = new System.Drawing.Size(100, 20);


this.textBox1.TabIndex = 1;
//
// button1
//
this.button1.Location = new System.Drawing.Point(46, 199);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 4;
this.button1.Text = "Calcular";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.Button1Click);
//
// cobfibo
//
this.cobfibo.FormattingEnabled = true;
this.cobfibo.Location = new System.Drawing.Point(46, 144);
this.cobfibo.Name = "cobfibo";
this.cobfibo.Size = new System.Drawing.Size(121, 21);
this.cobfibo.TabIndex = 5;
//
// label3
//
this.label3.Location = new System.Drawing.Point(98, 18);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(100, 23);
this.label3.TabIndex = 6;
this.label3.Text = "Fibonacci";
this.label3.Click += new System.EventHandler(this.Label3Click);
//
// Acumuladorejemplo
//
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.label3);
this.Controls.Add(this.cobfibo);
this.Controls.Add(this.button1);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.label1);
this.Name = "Acumuladorejemplo";
this.Text = "1";
this.Load += new System.EventHandler(this.Acumuladorejemplo_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
private
private
private
private
private

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

//Nombre del Autor: Sebastian Muoz Artunduaga


//Fecha:08/12/2016
//Doy fe que este ejercicio es de mi autora, en caso de encontrar plagio la nota
de todo mi
//trabajo debe ser de CERO adems de las respectivas sanciones a que haya
lugar
namespace laboratorio
{
partial class Acumuladorquees
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
private System.ComponentModel.IContainer components = null;

/// <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()
{

System.ComponentModel.ComponentResourceManager resources = new


System.ComponentModel.ComponentResourceManager(typeof(Acumuladorquees
));
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// label1
//
this.label1.Location = new System.Drawing.Point(13, 64);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(259, 118);
this.label1.TabIndex = 0;
this.label1.Text = resources.GetString("label1.Text");
this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// Acumuladorquees
//
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 = "Acumuladorquees";
this.StartPosition =
System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Acumuladorquees";
this.Load += new System.EventHandler(this.Acumuladorquees_Load);
this.ResumeLayout(false);
}
private System.Windows.Forms.Label label1;
}
}

ALGORITMOS

//Nombre del Autor: Sebastian Muoz Artunduaga


//Fecha:08/12/2016

//Doy fe que este ejercicio es de mi autora, en caso de encontrar plagio la nota


de todo mi
//trabajo debe ser de CERO adems de las respectivas sanciones a que haya
lugar
namespace laboratorio
{
partial class Algoritmos
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <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()
{
System.ComponentModel.ComponentResourceManager
resources = new
System.ComponentModel.ComponentResourceManager(typeof(Algoritmos));
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// label1
//
this.label1.Location = new System.Drawing.Point(26, 39);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(229, 179);
this.label1.TabIndex = 0;
this.label1.Text = resources.GetString("label1.Text");
this.label1.TextAlign =
System.Drawing.ContentAlignment.TopCenter;
this.label1.Click += new
System.EventHandler(this.Label1Click);
//
// Algoritmos
//
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 = "Algoritmos";
this.StartPosition =
System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Algoritmos";
this.ResumeLayout(false);
}
private System.Windows.Forms.Label label1;
}
}

DEFINICION DE CICLO

//Nombre del Autor: Sebastian Muoz Artunduaga


//Fecha:08/12/2016
//Doy fe que este ejercicio es de mi autora, en caso de encontrar plagio la nota de todo
mi
//trabajo debe ser de CERO adems de las respectivas sanciones a que haya lugar
namespace laboratorio
{
partial class Cicloquees
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <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()
{
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

//Nombre del Autor: Sebastian Muoz Artunduaga


//Fecha:08/12/2016
//Doy fe que este ejercicio es de mi autora, en caso de encontrar plagio la nota
de todo mi
//trabajo debe ser de CERO adems de las respectivas sanciones a que haya
lugar
namespace laboratorio
{
partial class Ciclosejemplo
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
private System.ComponentModel.IContainer components = null;

/// <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

//Nombre del Autor: Sebastian Muoz Artunduaga


//Fecha:08/12/2016
//Doy fe que este ejercicio es de mi autora, en caso de encontrar plagio la nota
de todo mi
//trabajo debe ser de CERO adems de las respectivas sanciones a que haya
lugar
namespace laboratorio
{
partial class Ciclotipos
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
private System.ComponentModel.IContainer components = null;

/// <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

//Nombre del Autor: Sebastian Muoz Artunduaga


//Fecha:08/12/2016
//Doy fe que este ejercicio es de mi autora, en caso de encontrar plagio la nota de todo
mi
//trabajo debe ser de CERO adems de las respectivas sanciones a que haya lugar
namespace laboratorio
{
partial class Condicional
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <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.

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

///Nombre del Autor: Sebastian Muoz Artunduaga


//Fecha:08/12/2016
//Doy fe que este ejercicio es de mi autora, en caso de encontrar plagio la nota
de todo mi
//trabajo debe ser de CERO adems de las respectivas sanciones a que haya
lugar
namespace laboratorio
{
partial class Condicionalejemplo
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
private System.ComponentModel.IContainer components = null;

/// <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

this.Numero2.Size = new System.Drawing.Size(100, 20);


this.Numero2.TabIndex = 1;
//
// label1
//
this.label1.Location = new System.Drawing.Point(13, 7);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(100, 23);
this.label1.TabIndex = 2;
this.label1.Text = "Valor 1";
//
// label2
//
this.label2.Location = new System.Drawing.Point(13, 73);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(100, 23);
this.label2.TabIndex = 3;
this.label2.Text = "Valor 2";
this.label2.Click += new
System.EventHandler(this.Label2Click);
//
// button1
//
this.button1.Location = new System.Drawing.Point(12,
178);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(75, 23);
this.button1.TabIndex = 4;
this.button1.Text = "Calcular";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new
System.EventHandler(this.Button1Click);
//
// label3
//
this.label3.Location = new System.Drawing.Point(13, 138);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(200, 23);
this.label3.TabIndex = 5;
this.label3.Text = "Resultado";
//
// Condicionalejemplo
//
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.label3);
this.Controls.Add(this.button1);
this.Controls.Add(this.label2);
this.Controls.Add(this.label1);
this.Controls.Add(this.Numero2);
this.Controls.Add(this.Numero1);
this.Name = "Condicionalejemplo";
this.Text = "Condicionalejemplo";
this.Load += new
System.EventHandler(this.CondicionalejemploLoad);
this.ResumeLayout(false);
this.PerformLayout();

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;

//Nombre del Autor: Sebastian Muoz Artunduaga


//Fecha:08/12/2016
//Doy fe que este ejercicio es de mi autora, en caso de encontrar plagio la nota de todo
mi
//trabajo debe ser de CERO adems de las respectivas sanciones a que haya lugar
namespace laboratorio
{
partial class Contadorejemplo
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <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) {

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

//Nombre del Autor: Sebastian Muoz Artunduaga


//Fecha:08/12/2016
//Doy fe que este ejercicio es de mi autora, en caso de encontrar plagio la nota
de todo mi
//trabajo debe ser de CERO adems de las respectivas sanciones a que haya
lugar
namespace laboratorio
{
partial class Contadorquees
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
private System.ComponentModel.IContainer components = null;

/// <summary>
/// Disposes resources used by the form.
/// </summary>

21

/// <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()
{
System.ComponentModel.ComponentResourceManager
resources = new
System.ComponentModel.ComponentResourceManager(typeof(Contadorquees));
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// label1
//
this.label1.Location = new System.Drawing.Point(13, 21);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(259, 221);
this.label1.TabIndex = 0;
this.label1.Text = resources.GetString("label1.Text");
this.label1.TextAlign =
System.Drawing.ContentAlignment.TopCenter;
//
// Contadorquees
//
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 = "Contadorquees";
this.StartPosition =
System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Contadorquees";
this.ResumeLayout(false);
}
private System.Windows.Forms.Label label1;
}
}

22

CREDITOS

//Nombre del Autor: Sebastian Muoz Artunduaga


//Fecha:08/12/2016
//Doy fe que este ejercicio es de mi autora, en caso de encontrar plagio la nota de todo
mi
//trabajo debe ser de CERO adems de las respectivas sanciones a que haya lugar
namespace laboratorio
{
partial class Creditos
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <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>

23

private void InitializeComponent()


{
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// label1
//
this.label1.ForeColor = System.Drawing.SystemColors.Highlight;
this.label1.Location = new System.Drawing.Point(62, 37);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(147, 163);
this.label1.TabIndex = 0;
this.label1.Text = "Sebastian Muoz Artunduaga CEAD: Barranquilla CC.
1018464168";
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.label1.Click += new System.EventHandler(this.Label1Click);
//
// Creditos
//
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 = "Creditos";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Creditos";
this.ResumeLayout(false);

}
private System.Windows.Forms.Label label1;

FLUJO

//Nombre del Autor: Sebastian Muoz Artunduaga


//Fecha:08/12/2016

24

//Doy fe que este ejercicio es de mi autora, en caso de encontrar plagio la nota


de todo mi
//trabajo debe ser de CERO adems de las respectivas sanciones a que haya
lugar
namespace laboratorio
{
partial class Flujo
{
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <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()
{
System.ComponentModel.ComponentResourceManager
resources = new
System.ComponentModel.ComponentResourceManager(typeof(Flujo));
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// label1
//
this.label1.Location = new System.Drawing.Point(12, 39);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(260, 174);
this.label1.TabIndex = 0;
this.label1.Text = resources.GetString("label1.Text");
this.label1.TextAlign =
System.Drawing.ContentAlignment.TopCenter;
//
// Flujo
//
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);

25

this.Name = "Flujo";
this.StartPosition =
System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Flujo";
this.ResumeLayout(false);
}
private System.Windows.Forms.Label label1;
}
}

26

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy