private void TakePic_Click(object sender, EventArgs e) { var f = new TakePicture(); f.ShowDialog(); this.Close(); }
private void button2_Click(object sender, EventArgs e) { var f = new TakePicture(); f.ShowDialog(); }