예제 #1
0
 private TreeNode CreateNode(DatabaseItem item, string key)
 {
     var tmpNode = new TreeNode(key);
     tmpNode.ImageIndex = 3;
     tmpNode.SelectedImageIndex = 3;
     tmpNode.ContextMenu = GetKeyNodeMenu(tmpNode);
     tmpNode.Tag = new KeyItem(item, key);
     return tmpNode;
 }
예제 #2
0
 public KeyItem(DatabaseItem item, string key)
     : base(item, item.DbName, item.DbInfo)
 {
     Key = key;
 }