Exemple #1
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            // Create some classic menus so they arn't in the capture.
            IntPtr MenuHandle = ExternalAPI.CreateMenu();

            ExternalAPI.AppendMenu(MenuHandle, 0, 0x3000, "Capture...");
            ExternalAPI.AppendMenu(MenuHandle, 0, 0x3001, "Settings...");
            ExternalAPI.SetMenu(this.Handle, MenuHandle);

            UpdateCaptureCallback += UpdateCapture;

            Updater = new System.Threading.Thread(new System.Threading.ThreadStart(UpdateThread));
            Updater.Start();
        }