protected override void OnLoad(EventArgs e)
 {
     Application.EnableVisualStyles();
     base.OnLoad(e);
     TIMER_PROGRESS_TICK.Start();
     if (Message != null)
     {
         LABEL_CONNECTING_TO_DEVICE.Text = Message;
     }
     if (Worker != null)
     {
         Task.Factory.StartNew(Worker)
         .ContinueWith(t =>
         {
             Close();
         }, TaskScheduler.FromCurrentSynchronizationContext());
     }
 }
 private void ConnectingToDeviceProcessForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     TIMER_PROGRESS_TICK.Stop();
 }