From 1d9bd2ddb5db9a5d43bf7cfdf429df7021639482 Mon Sep 17 00:00:00 2001 From: achikhv Date: Wed, 13 Jul 2016 09:22:39 +1000 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=B2=D1=91=D0=BB=20?= =?UTF-8?q?=D0=BC=D0=BE=D0=B4=D1=83=D0=BB=D1=8C=20=D0=BD=D0=B0=20=D1=80?= =?UTF-8?q?=D0=B0=D0=B1=D0=BE=D1=82=D1=83=20=D1=81=20=D0=BD=D0=BE=D0=B2?= =?UTF-8?q?=D1=8B=D0=BC=20Lers=20Framework=203.07=20R18?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VKT5_RemoteConsole/Vkt5RemoteConsoleForm.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/VKT5_RemoteConsole/Vkt5RemoteConsoleForm.cs b/VKT5_RemoteConsole/Vkt5RemoteConsoleForm.cs index 3969744..0c06b2a 100644 --- a/VKT5_RemoteConsole/Vkt5RemoteConsoleForm.cs +++ b/VKT5_RemoteConsole/Vkt5RemoteConsoleForm.cs @@ -43,10 +43,8 @@ namespace Vkt5_RemoteConsole this.RemoteConsole.Disconnected += new EventHandler(RemoteConsole_Disconnected); int networkAddress = 0; - if (parameters.Device.PollSettings.Network != null) - { - Int32.TryParse(parameters.Device.NetworkAddress, out networkAddress); - } + + Int32.TryParse(parameters.Device.NetworkAddress, out networkAddress); // Инициализируем контрол с удалённым пультом this.vktConsoleControl.Initialize(this.RemoteConsole, networkAddress);