Ejemplo n.º 1
0
        private void kidPicBox_Click(object sender, EventArgs e)
        {
            String filename = "Class" + classSec + @"_kidLoginImages\" + kidNameLabel.Text.ToString() + ".jpg";

            if (checkIsBlind(filename) == true)
            {
                BlindModeForm blindMode = new BlindModeForm();
                blindMode.Show();
            }
            else
            {
                this.Hide();
                MainForm2 main = new MainForm2("Class" + classSec + "_kidLoginImages/" + kidNameLabel.Text.ToString() + ".jpg");
                main.ShowDialog();
            }
        }
Ejemplo n.º 2
0
 private void kidPicBox_Click(object sender, EventArgs e)
 {
     String filename = "Class" + classSec + @"_kidLoginImages\" + kidNameLabel.Text.ToString() + ".jpg";
     if (checkIsBlind(filename) == true)
     {
         BlindModeForm blindMode = new BlindModeForm();
         blindMode.Show();
     }
     else
     {
         this.Hide();
         MainForm2 main = new MainForm2("Class" + classSec + "_kidLoginImages/" + kidNameLabel.Text.ToString() + ".jpg");
         main.ShowDialog();
     }
 }