private void SnapClickedHandler(object sender, ToolStripItemClickedEventArgs e) { int k = button2.ContextMenuStrip.Items.IndexOf(e.ClickedItem); if (k >= 0) { toupcam_.Snap((uint)k); } }
public void onEventStillImage(string fileName) { myCamera.Snap(0); FileName = fileName; }