public SampleQueueMessageManagerForm() { MessageType = "MPWF"; ThreadCount = 1; InitializeComponent(); // *** Instantiate an instance of the controller that manages the queueing // *** and processing of messages. Controller = new SampleQueueController(); // idle poll interval Controller.WaitInterval = 1000; Controller.ExecuteStart += Controller_ExecuteStart; Controller.ExecuteComplete += Controller_ExecuteComplete; Controller.ExecuteFailed += Controller_ExecuteFailed; }