Пример #1
0
 public KeyDialog(MainForm f)
 {
     InitializeComponent();
     Application.Idle += Application_Idle;
     _caller = f;
     _mgr = f.KeyChainMgr;
 }
Пример #2
0
 public GroupsTree()
 {
     InitializeComponent();
     Application.Idle += Application_Idle;
     _mainForm = (MainForm)this.ParentForm;
     _mgr = new KeyChainMgr();
 }
Пример #3
0
 public KeyList()
 {
     InitializeComponent();
     Application.Idle += Application_Idle;
     _mgr = new KeyChainMgr();
     _sorter = new ListViewColumnSorter();
     _listview.ListViewItemSorter = _sorter;
     _listview.LostFocus += OnListviewLostFocus;
 }
Пример #4
0
 public MainForm()
 {
     InitializeComponent();
     if (this.Tag == null)
     {
         _keyChainMgr = new KeyChainMgr();
     }
     else
     {
         _keyChainMgr = (CloudKeysController.KeyChainMgr)this.Tag;
     }
     _groupsTree.KeyChainMgr = _keyChainMgr;
     _groupsTree.MainForm = this;
     _keyList.KeyChainMgr = _keyChainMgr;
     _keyList.MainForm = this;
     _statusBar.KeyChainMgr = _keyChainMgr;
     _statusBar.MainForm = this;
     _menuitemFileNew.Visible = false;
     _menuitemFileOpen.Visible = false;
     Application.Idle += Application_Idle;
 }