Exemple #1
0
 public void _treeNodeDoubleClick(TreeNodeMouseClickEventParams nTreeNodeMouseClickEventParams)
 {
     string url_ = this._getUrl();
     this._openUrl(url_);
     WorkbenchSingleton workbenchSingleton_ = __singleton<WorkbenchSingleton>._instance();
     workbenchSingleton_._showDockUrl(this);
 }
Exemple #2
0
 public override void _treeNodeClick(TreeNodeMouseClickEventParams nTreeNodeMouseClickEventParams)
 {
     IContain contain_ = nTreeNodeMouseClickEventParams._getcontain();
     IListView listView_ = contain_._childControl("listView1") as IListView;
     listView_._clearListItem();
     foreach (NewFileNodeCommand i in mNewFileNodeCommands)
     {
         listView_._addListItem(i);
     }
 }
Exemple #3
0
 public virtual void _treeNodeRightClick(TreeNodeMouseClickEventParams nTreeNodeMouseClickEventParams)
 {
 }
Exemple #4
0
 public void _treeNodeClick(TreeNodeMouseClickEventParams nTreeNodeMouseClickEventParams)
 {
 }
Exemple #5
0
 public override void _treeNodeRightClick(TreeNodeMouseClickEventParams nTreeNodeMouseClickEventParams)
 {
     string contextMenuStripHeadstreamUrl_ = @"uid://program.optimal.window:window.optimal.ContextMenuStrip";
     string contextMenuStripUrl_ = @"rid://program.optimal.csprojectNodeContextMenuStripUrl";
     PlatformSingleton platformSingleton_ = __singleton<PlatformSingleton>._instance();
     IContextMenuStrip contextMenuStrip_ = platformSingleton_._loadHeadstream<IContextMenuStrip>(contextMenuStripHeadstreamUrl_, contextMenuStripUrl_);
     contextMenuStrip_._setTag(this);
     contextMenuStrip_._runInit();
     contextMenuStrip_._initControl();
     ITreeView treeView_ = nTreeNodeMouseClickEventParams._getTreeView();
     treeView_._showContextMenuStrip(contextMenuStrip_, nTreeNodeMouseClickEventParams._getX(), nTreeNodeMouseClickEventParams._getY());
     base._treeNodeRightClick(nTreeNodeMouseClickEventParams);
 }
Exemple #6
0
 public void _treeNodeDoubleClick(TreeNodeMouseClickEventParams nTreeNodeMouseClickEventParams)
 {
     WorkbenchSingleton workbenchSingleton_ = __singleton<WorkbenchSingleton>._instance();
     workbenchSingleton_._showContent(this);
 }
Exemple #7
0
 void _nodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
 {
     TreeNodeMouseClickEventParams treeNodeMouseClickEventParams_ = new TreeNodeMouseClickEventParams();
     treeNodeMouseClickEventParams_._setContain(mContain);
     treeNodeMouseClickEventParams_._setTreeView(this);
     treeNodeMouseClickEventParams_._setX(e.X);
     treeNodeMouseClickEventParams_._setY(e.Y);
     TreeNodeWidget treeNodeWidget_ = e.Node as TreeNodeWidget;
     ITreeNode treeNode_ = treeNodeWidget_._getTreeNode();
     treeNode_._treeNodeDoubleClick(treeNodeMouseClickEventParams_);
 }
Exemple #8
0
 void _nodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
 {
     TreeNodeMouseClickEventParams treeNodeMouseClickEventParams_ = new TreeNodeMouseClickEventParams();
     treeNodeMouseClickEventParams_._setContain(mContain);
     treeNodeMouseClickEventParams_._setTreeView(this);
     treeNodeMouseClickEventParams_._setX(e.X);
     treeNodeMouseClickEventParams_._setY(e.Y);
     if (e.Button == MouseButtons.Left)
     {
         mTreeView.SelectedNode = e.Node;
         TreeNodeWidget treeNodeWidget_ = e.Node as TreeNodeWidget;
         ITreeNode treeNode_ = treeNodeWidget_._getTreeNode();
         treeNode_._treeNodeClick(treeNodeMouseClickEventParams_);
     }
     else if (e.Button == MouseButtons.Right)
     {
         mTreeView.SelectedNode = e.Node;
         TreeNodeWidget treeNodeWidget_ = e.Node as TreeNodeWidget;
         ITreeNode treeNode_ = treeNodeWidget_._getTreeNode();
         treeNode_._treeNodeRightClick(treeNodeMouseClickEventParams_);
     }
     else
     {
     }
 }
Exemple #9
0
 public override void _treeNodeDoubleClick(TreeNodeMouseClickEventParams nTreeNodeMouseClickEventParams)
 {
 }