Exemplo n.º 1
0
        public void Stop()
        {
            if (_form == null)
            {
                return;
            }

            _form.Close();
            _form = null;
        }
Exemplo n.º 2
0
        public bool Start(string showDir)
        {
            _showDir = showDir;

            if (_form != null)
            {
                return(true);
            }

            _form = new StatusForm(this);

            SendError            += _form.StatusFormMeasage;
            SendReloadDimensions += _form.ReloadStatusBox;
            _form.ReloadSettings += Reload_Setting;

            _allDevices = LivePacketDevice.AllLocalMachine;
            ReadSetting();

            _form.Show();

            return(true);
        }