Exemple #1
0
 public void OnCreate(object hook)
 {
     if (hook is IExplorerApplication)
     {
         _exapp = hook as IExplorerApplication;
     }
 }
 public void OnCreate(object hook)
 {
     if (hook is IExplorerApplication)
     {
         _exAppl = (IExplorerApplication)hook;
     }
 }
 public void OnCreate(object hook)
 {
     if (hook is IExplorerApplication && ((IExplorerApplication)hook).ApplicationWindow is gView.Explorer.UI.Framework.UI.IFormExplorer)
     {
         _app             = hook as IExplorerApplication;
         this.TreeControl = ((gView.Explorer.UI.Framework.UI.IFormExplorer)((IExplorerApplication)hook).ApplicationWindow).CatalogTree.TreeControl;
     }
 }
Exemple #4
0
        public FormCatalogTree(IExplorerApplication application, bool init)
        {
            InitializeComponent();

            this.catalogTreeControl1.ExplorerApplication = application;
            if (init)
            {
                InitTree(true);
            }
        }
Exemple #5
0
 public void OnCreate(object hook)
 {
     if (hook is IMapDocument)
     {
         _doc = hook as IMapDocument;
     }
     else if (hook is IExplorerApplication)
     {
         _exapp = hook as IExplorerApplication;
     }
 }
Exemple #6
0
 public FormCatalogTree(IExplorerApplication application)
     : this(application, true)
 {
 }