private static void FormNotificationPanel_Start_Thread() { while (RabbitMQWrapper.myState <= RabbitMQWrapper.State.registering) { Thread.Sleep(500); } if (RabbitMQWrapper.myState == RabbitMQWrapper.State.register_fail) { Globals.log.Debug("AmivoiceWatcher:> Cannot Regisger rabbitMq."); Globals.log.Debug("AmivoiceWatcher:> Not run:> LongNotification.StartNotificationPanel()"); } else { Globals.log.Debug("AmivoiceWatcher:> LongNotification.StartNotificationPanel()"); NotificationPanel.StartNotificationPanel(); } }