domingo, 11 de octubre de 2009

Practica 6.5 Visual


Pseudocodigo



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

namespace Practica_7_1_Windows
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}

private void button1_Click(object sender, EventArgs e)
{
double F, u, lergios, ergios;
F = double.Parse(f.Text);

u = double.Parse(U.Text);
lergios = 2 * 3.1416 * Math.Exp(u);
ergios = F * Math.Sqrt(lergios);
E.Text = (ergios.ToString());

}

private void button2_Click(object sender, EventArgs e)
{
f.Clear();
U.Clear();
E.Clear();
}

private void button3_Click(object sender, EventArgs e)
{
Close();
}
}
}

No hay comentarios:

Publicar un comentario