Exemple #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            EyeWebTestForm startForm = new EyeWebTestForm();
            var            presenter = new WebcamCapturePresenter(startForm);

            Application.Run(startForm);
        }
Exemple #2
0
 private void toolStripButton1_Click(object sender, EventArgs e)
 {
     try
     {
         VideoForm videoForm = new VideoForm();
         var       presenter = new WebcamCapturePresenter(videoForm);
         videoForm.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "Error");
     }
 }