private void OnClickDevices(object sender, EventArgs e) { if ((_devices != null) && (_devices.Visible)) { _devices.Focus(); return; } if (_devices == null) { _devices = new DevicesForm(this); _devices.MdiParent = this; } _devices.Show(); }
public void DevicesFormClosed() { _devices = null; }