public KeyDialog(MainForm f) { InitializeComponent(); Application.Idle += Application_Idle; _caller = f; _mgr = f.KeyChainMgr; }
public GroupsTree() { InitializeComponent(); Application.Idle += Application_Idle; _mainForm = (MainForm)this.ParentForm; _mgr = new KeyChainMgr(); }
public KeyList() { InitializeComponent(); Application.Idle += Application_Idle; _mgr = new KeyChainMgr(); _sorter = new ListViewColumnSorter(); _listview.ListViewItemSorter = _sorter; _listview.LostFocus += OnListviewLostFocus; }
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; }