Example #1
0
 // Button : next
 // if clicked :
 // call CheckFrames constructor and send it the ExtFaces
 private void button2_Click(object sender, EventArgs e)
 {
     if (ExtFaces.Count == 0)
     {
         MessageBox.Show("Please start video capturing", "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
     else
     {
         CheckFrames form = new CheckFrames(ExtFaces, courseName_);
         form.Tag = this;
         form.Show(this);
         Hide();
     }
 }
 // Button : next
 // if clicked :
 // call CheckFrames constructor and send it the ExtFaces
 private void button2_Click(object sender, EventArgs e)
 {
     if (ExtFaces.Count == 0)
         MessageBox.Show("Please start video capturing", "Error", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     else
     {
         CheckFrames form = new CheckFrames(ExtFaces);
         form.Tag = this;
         form.Show(this);
         Hide();
     }
 }