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; } }
public FormCatalogTree(IExplorerApplication application, bool init) { InitializeComponent(); this.catalogTreeControl1.ExplorerApplication = application; if (init) { InitTree(true); } }
public void OnCreate(object hook) { if (hook is IMapDocument) { _doc = hook as IMapDocument; } else if (hook is IExplorerApplication) { _exapp = hook as IExplorerApplication; } }
public FormCatalogTree(IExplorerApplication application) : this(application, true) { }