KeePass.Forms.GroupForm.InitEx C# (CSharp) Method

InitEx() public method

public InitEx ( PwGroup pg, ImageList ilClientIcons, KeePassLib.PwDatabase pwDatabase ) : void
pg PwGroup
ilClientIcons System.Windows.Forms.ImageList
pwDatabase KeePassLib.PwDatabase
return void
        public void InitEx(PwGroup pg, ImageList ilClientIcons, PwDatabase pwDatabase)
        {
            m_pwGroup = pg;
            m_ilClientIcons = ilClientIcons;
            m_pwDatabase = pwDatabase;
        }

Usage Example

示例#1
0
        private void OnGroupsEdit(object sender, EventArgs e)
        {
            PwGroup pg = GetSelectedGroup();
            Debug.Assert(pg != null); if(pg == null) return;

            PwDatabase pwDb = m_docMgr.ActiveDatabase;
            GroupForm gf = new GroupForm();
            gf.InitEx(pg, m_ilCurrentIcons, pwDb);

            if(UIUtil.ShowDialogAndDestroy(gf) == DialogResult.OK)
                UpdateUI(false, null, true, null, true, null, true);
            else UpdateUI(false, null, pwDb.UINeedsIconUpdate, null,
                pwDb.UINeedsIconUpdate, null, false);
        }
All Usage Examples Of KeePass.Forms.GroupForm::InitEx