private void btnPentagono_Click(object sender, EventArgs e) { //CAreas a = new CAreas(); decimal resulado = CAreas.Pentagono(NumPentagonop.Value, NumPentagonoa.Value); lblpentagono.Text = resulado + ""; }
private void btnRomboide_Click(object sender, EventArgs e) { //CAreas a = new CAreas(); decimal resulado = CAreas.Romboide(NumRomboideb.Value, NumRomboideh.Value); lblRomboide.Text = resulado + ""; }
private void btnCirculo_Click(object sender, EventArgs e) { //CAreas a = new CAreas(); decimal resulado = CAreas.Circulo(NumCirculoR.Value); lblCirculo.Text = resulado + ""; }
private void btnTrapecio_Click(object sender, EventArgs e) { //CAreas a = new CAreas(); decimal resulado = CAreas.Trapecio(NumTrapecioh.Value, NumTrapecioB.Value, Trapeciob.Value); lblTrapecio.Text = resulado + ""; }
private void btnRectangulo_Click(object sender, EventArgs e) { //CAreas a = new CAreas(); decimal resulado = CAreas.Rectanguo(NumRectanguloB.Value, NumRectanguloh.Value); lblRectangulo.Text = resulado + ""; }
private void btnAreaCuadrado_Click(object sender, EventArgs e) { //CAreas a = new CAreas(); decimal resulado = CAreas.Cuadrado(NumCuadrado.Value); lblCuadrado.Text = resulado + ""; }