Professional Documents
Culture Documents
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApp1
public Calculadora()
InitializeComponent();
}
private void textBox2_TextChanged(object sender, EventArgs e)
Application.Exit();
}
private void button1_Click(object sender, EventArgs e)
comprimento = double.Parse(this.textbox1.Text);
Largura = double.Parse(this.textbox2.Text);
Altura = double.Parse(this.textbox3.Text);
Carga = double.Parse(this.textbox4.Text);
Momento = double.Parse(this.textbox5.Text);
}
private void pictureBox2_Click(object sender, EventArgs e)