Beispiel #1
0
        public QueueForm(MainForm MainWindow)
        {
            InitializeComponent();

            this.MainWindow = MainWindow;

            PopulateQueueList();
        }
Beispiel #2
0
 static void Main()
 {
     _hookID = SetHook(_proc);
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     form = new MainForm();
     form.StartPosition = FormStartPosition.CenterScreen;
     Application.Run(form);
     UnhookWindowsHookEx(_hookID);
 }