Beispiel #1
0
        private void pictureBox13_Click(object sender, EventArgs e)
        {
            Sancioncs sancio = new Sancioncs();

            sancio.obtieneUsuario(usuario);
            sancio.ShowDialog();
            MenuPrincipalcs_Load(sender, e);
        }
 public void hacerSancion()
 {
     if ((comboBox3.Text == "PESIMA") || (comboBox3.Text == "ROTO") || (comboBox3.Text == "MALA"))
     {
         MessageBox.Show("Condicion mala");
         Sancioncs sancion = new Sancioncs();
         sancion.obtenerEjemplar(textBox5, textBox1);
         sancion.ShowDialog();
     }
     else
     {
         MessageBox.Show("Buen estado");
     }
 }