private void button3_Click_1(object sender, EventArgs e) { Rtxt7.Show(); Rtxt8.Show(); Rtxt9.Show(); Rtxt10.Show(); Rtxt11.Show(); Rtxt12.Show(); txtTit7.Show(); txtTit8.Show(); txtTit9.Show(); txtTit10.Show(); txtTit11.Show(); txtTit12.Show(); lbtit1.Hide(); lbtit2.Hide(); lbtit3.Hide(); lbtit4.Hide(); lbtit5.Hide(); lbtit6.Hide(); Rtxt1.Hide(); Rtxt2.Hide(); Rtxt3.Hide(); Rtxt4.Hide(); Rtxt5.Hide(); Rtxt6.Hide(); txtTit1.Hide(); txtTit2.Hide(); txtTit3.Hide(); txtTit4.Hide(); txtTit5.Hide(); txtTit6.Hide(); btnsecc.Enabled = false; btnatras.Show(); }
private void button2_Click_1(object sender, EventArgs e) { if (comboBox1.Text == "--Seleccionar--") { PnFormularios.Hide(); } else { PnFormularios.Show(); if (comboBox1.Text == "Reporte Electrico") { lblelec.Show(); lblmec.Hide(); txtContProElec.Show(); txtContProElec.Show(); txtUbProElec.Show(); txtAtenElec.Show(); txtAsunElec.Show(); Rtxt1.Show(); btnatras.Hide(); } else { lblelec.Hide(); lblmec.Show(); txtContProElec.Hide(); txtContProElec.Hide(); txtUbProElec.Hide(); txtAtenElec.Hide(); txtAsunElec.Hide(); Rtxt1.Hide(); btnatras.Hide(); } } }