Class RemoteConsoleForm
Форма, предоставляющая интерфейс удалённого пульта.
public class RemoteConsoleForm : BasePollForm, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
- Inheritance
-
RemoteConsoleForm
- Implements
- Inherited Members
- Extension Methods
Constructors
RemoteConsoleForm()
Конструктор.
public RemoteConsoleForm()
Properties
Parameters
Параметры формы.
public RemoteConsoleFormParams Parameters { get; }
Property Value
- RemoteConsoleFormParams
Возвращает параметры, которые используются формой.
RemoteConsole
Объект, осуществляющий работу с удалённым устройством
public RemoteConsole RemoteConsole { get; }
Property Value
Methods
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposing
booltrue if managed resources should be disposed; otherwise, false.
Initialize(RemoteConsoleFormParams, LersServer)
Инициализация формы
public virtual void Initialize(RemoteConsoleFormParams param, LersServer server)
Parameters
param
RemoteConsoleFormParamsserver
LersServer
OnPollStarted()
Вызывается после успешного создания задания.
protected void OnPollStarted()
OnSelectedConnectionChanged(PollConnection)
Изменилось выбранное подключение. Отобразим список устройств
protected override void OnSelectedConnectionChanged(PollConnection connection)
Parameters
connection
PollConnection
OnStartButtonClicked()
Пользователь запустил опрос удалённого пульта
protected override void OnStartButtonClicked()
OnStopButtonClicked()
Пользователь остановил опрос удалённого пульта
protected override void OnStopButtonClicked()