Пример #1
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     InitGrid();
     Gateway.Joint.SQLServer.Devices.InitializeProgress += Devices_InitializeProgress;
     Marshall.instance.Start();
     posiciones.Start();
     combustible.Start();
     UpdateStates();
 }
Пример #2
0
 private void timer2_Tick(object sender, EventArgs e)
 {
     timer2.Stop();
     if (thesourcemon != null)
     {
         thesourcemon.Stop();
         thesourcemon = null;
     }
     thesourcemon = new MessageQueueMonitor(txtQueueName.Text);
     thesourcemon.Start();
 }