Beispiel #1
0
        private void captureButton_Click(object sender, EventArgs e)
        {
            timer1.Stop();
            gambar = poto.Clone();
            imageProcessing b = new imageProcessing(gambar);

            this.Close();
            b.Show();
        }
Beispiel #2
0
 private void browseImage_Click(object sender, EventArgs e)
 {
     ofd.Filter = "Image Files | *.jpg;*.png";
     if (ofd.ShowDialog() == DialogResult.OK)
     {
         image = new Image <Bgr, byte>(ofd.FileName);
         imageProcessing imgProc = new imageProcessing(image);
         imgProc.Show();
         this.Hide();
     }
 }