Exemplo n.º 1
0
        public void ShowKeysByFilter(KeyFilter kf)
        {
            if (_keys != null)
            {
                _keys.Close();
            }

            _keys = null;

            _keys           = new KeysForm(this, kf);
            _keys.MdiParent = this;

            _keys.Show();
        }
Exemplo n.º 2
0
        private void OnClickKeys(object sender, EventArgs e)
        {
            if ((_keys != null) && (_keys.Visible))
            {
                _keys.Focus();
                return;
            }

            if (_keys == null)
            {
                _keys           = new KeysForm(this);
                _keys.MdiParent = this;
            }

            _keys.Show();
        }
Exemplo n.º 3
0
        public void ShowKeysForCompany(int iIDCompany)
        {
            if (_keys != null)
            {
                _keys.Close();
            }

            _keys = null;

            KeyFilter kfr = new KeyFilter(-1, iIDCompany, -1, -1, -1, -1); //1);

            kfr.FNameOfOwner = "";                                         // Empty string
            _keys            = new KeysForm(this, kfr);
            _keys.MdiParent  = this;

            _keys.Show();
        }