///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2016 Raytrix GmbH. All rights reserved. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /************************************************************************/ /* This example demonstrates: */ /* - Working with a camera with an own image buffer. */ /* - Computing refocus image in a separated thread. */ /* - Display result image. */ /************************************************************************/ using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using System; ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // namespace: Example.LFR.CS.CameraA ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// namespace Example.LFR.CS.CameraA { ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// /// A program. /// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// static class Program { ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// /// /// The main entry point for the application. /// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainForm()); } } }