InitEx() public method

public InitEx ( PwGroup pgEntrySource, ImageList ilClientIcons ) : void
pgEntrySource PwGroup
ilClientIcons ImageList
return void
Esempio n. 1
0
        private string CreateFieldReference()
        {
            FieldRefForm dlg = new FieldRefForm();
            dlg.InitEx(m_pwDatabase.RootGroup, m_ilIcons);

            string strResult = string.Empty;
            if(dlg.ShowDialog() == DialogResult.OK) strResult = dlg.ResultReference;

            UIUtil.DestroyForm(dlg);
            return strResult;
        }
Esempio n. 2
0
        private string CreateFieldReference()
        {
            FieldRefForm dlg = new FieldRefForm();
            dlg.InitEx(m_pwDatabase.RootGroup, m_ilIcons);

            if(dlg.ShowDialog() == DialogResult.OK) return dlg.ResultReference;

            return string.Empty;
        }