private void button3_Click(object sender, EventArgs e) { Form form = new Form2(videoSourcePlayer1.GetCurrentVideoFrame()); form.Show(); }
private void button1_Click(object sender, EventArgs e) { Form2 form2Scherm = new Form2(); // Let op, tussen haakjes kun je gegevens doorgeven; form2Scherm.Visible = true; }
private void OpenHistogram(object sender, EventArgs e) { Form2 f2 = new Form2(); f2.Show(); }
//подключение ко второй форме private void button3_Click(object sender, EventArgs e) { var fm2 = new Form2(); fm2.Show(); }