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