Porgramacion de vb

Páginas: 4 (766 palabras) Publicado: 30 de junio de 2011
Pantalla Principal

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
usingSystem.Windows.Forms;

namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()


{
InitializeComponent();}


private void Linea_Click_1(object sender, EventArgs e)
{
Graphics G = Dibujo.CreateGraphics();Pen Lapiz = new Pen(Color.Red);
G.DrawLine(Lapiz, 10, 10, 50, 30);
}



private void button2_Click(object sender, EventArgs e)
{Graphics G = Dibujo.CreateGraphics();
Pen Lapiz = new Pen(Color.Red);
G.DrawRectangle(Lapiz, 60, 60, 50, 20);
}



private voidtextBox1_TextChanged(object sender, EventArgs e)
{

Graphics G = Dibujo.CreateGraphics();
Pen Lapiz = new Pen(Color.Red);
G.DrawLine(Lapiz, 100,0, 10, 100);}




private void archivoToolStripMenuItem_Click(object sender, EventArgs e)
{

}




private voidbutton5_Click(object sender, EventArgs e)
{
this.components = new System.ComponentModel.Container();
this.Size = new System.Drawing.Size(1024, 700);
this.Text= "Editor de Formas ";
this.BackColor = Color.White;
this.AutoScrollMinSize = new Size(1024, 700);
}


private void label2_Click(object sender,EventArgs e)
{
Graphics G = Dibujo.CreateGraphics();

Pen BluePen = new Pen(Color.Blue, 3);
G.DrawRectangle(BluePen, 200, 100, 100, 100);
}...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Porgramacion
  • Porgramacion de Computadoras
  • fundamentos de porgramacion
  • Algoritmia y Porgramacion
  • vb bvhchch
  • Instalación VB
  • Vb Nxfgjnfgyjn
  • Codigo Vb

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS