Exemplo n.º 1
0
 public void CloseSession()
 {
     // Закрытие сессии
     if (EQGateDLL.CloseSession() != true)
     {
         textBox_SessionID.Text = EQGateDLL.SessionID;
         ShowErrorsWarnings(true); // Ошибки/Предупреждения
         return;
     }
     textBox_Session_Info.ForeColor = Color.FromName("Green");
     textBox_Session_Info.Text      = "Готово";
     textBox_SessionID.Text         = EQGateDLL.SessionID;
     groupBox_OpenSession.Enabled   = true;
     groupBox_CloseSession.Enabled  = false;
     groupBox_Disconnect.Enabled    = true;
     textBox_EQGateStatus.Text      = EQGateDLL.GetEQGateStatus(-1);
     button_Open.Image = imageList_Main.Images["start.png"]; //EqGate.Properties.Resources.start;
 }