using System;
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
namespace cameAPP
{
public partial class Form1 : Form
{
Capture capture;
public Form1()
{
InitializeComponent();
}
private void startToolStripMenuItem_Click(object sender, EventArgs e)
{
if (capture==null)
{
capture = new [Link](0)
}
[Link] += Capture_ImageGrabbed1;
[Link]();
}
private void Capture_ImageGrabbed1(object sender, EventArgs e)
{
try
{
Mat m = new Mat();
[Link](m);
[Link] = [Link]<Bgr, byte>().Bitmap;
}
catch (Exception)
{
private void Capture_ImageGrabbed(object sender, EventArgs e)
{
private void stopToolStripMenuItem_Click(object sender, EventArgs e)
{
if (capture!=null)
{
capture = null;
}
}
private void pauseToolStripMenuItem_Click(object sender, EventArgs e)
{
if (capture!=null)
{
[Link]();
}
}
}
}