static void HermesDevicePowerOn(object sender, HermesManager.PowerOnEventArgs e)
 {
     e.Device.Resources.Init(@"..\..\Content\Export\Sol");
     ConsolePrint("Загружаем ресурсы из Content-Export-Sol");
     e.Device.Resources.Download(null);
     ConsolePrint("Загружены ...");
     // Append a dictionary to the device which hold's all application specific data
     e.Device.Tag = new Dictionary<AppDataElements, object>();
     var form = new FrmLogin(e.Device);
     form.Show();
 }
 void DeviceIsInSync()
 {
     //Первое окно официанты/логин
     var frmLogin = new FrmLogin(this.Device);
     frmLogin.Show();
 }
 void DeviceIsInSync()
 {
     SetStringTable();
     //Отлавливаем выключение питания
     if (_connectionType == HermesManager.ConnectionType.RADIO)
     {
         ((ISol) this._device).DeviceService.EnablePowerStateEvents();
         ((ISol) this._device).DeviceService.PowerStateChanged +=
             new EventHandler<ORDERMAN.OmanDRV.Hermes.DeviceService.PowerStateChangedEventArgs>(
                 DeviceServicePowerStateChanged);
     }
     this.Hide();
     var frmLogin = new FrmLogin(this._device);
     frmLogin.Show();
 }