コード例 #1
0
        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();
        }
コード例 #2
0
 public void DevicesFormClosed()
 {
     _devices = null;
 }