protected virtual void OnAddTool(object sender, System.EventArgs e) { AddCommandDialog dlg = new AddCommandDialog(); dlg.Parent = this; if ((int) ResponseType.Ok == dlg.Run()) { m_treemodel.AppendValues(dlg.ETool); m_toolList.AddTool(dlg.ETool); } }
protected virtual void OnAddTool(object sender, System.EventArgs e) { AddCommandDialog dlg = new AddCommandDialog(); dlg.Parent = this; if ((int)ResponseType.Ok == dlg.Run()) { m_treemodel.AppendValues(dlg.ETool); m_toolList.AddTool(dlg.ETool); } }
protected virtual void OnAddTool(object sender, System.EventArgs e) { AddCommandDialog dlg = new AddCommandDialog(); dlg.Parent = this; if ((int) ResponseType.Ok == dlg.Run()) { m_treemodel.AppendValues(dlg.ETool); m_toolList.AddTool(dlg.ETool); UIMonitor.getInstance().Main.RebuildEToolMenu(m_toolList); UIMonitor.getInstance().ExternalTools = m_toolList; } }
protected virtual void OnEditClicked(object sender, System.EventArgs e) { ExternalTool tool = GetSelectedTool(); AddCommandDialog dlg = new AddCommandDialog(); dlg.Parent = this; dlg.ETool = tool; if ((int)ResponseType.Ok == dlg.Run()) { m_toolList.DeleteTool(tool.Name); m_toolList.AddTool(dlg.ETool); RefreshList(); } }
protected virtual void OnEditClicked(object sender, System.EventArgs e) { ExternalTool tool = GetSelectedTool(); AddCommandDialog dlg = new AddCommandDialog(); dlg.Parent = this; dlg.ETool = tool; if ((int) ResponseType.Ok == dlg.Run()) { m_toolList.DeleteTool(tool.Name); m_toolList.AddTool(dlg.ETool); RefreshList(); UIMonitor.getInstance().Main.RebuildEToolMenu(m_toolList); UIMonitor.getInstance().ExternalTools = m_toolList; } }
protected virtual void OnEditClicked(object sender, System.EventArgs e) { ExternalTool tool = GetSelectedTool(); AddCommandDialog dlg = new AddCommandDialog(); dlg.Parent = this; dlg.ETool = tool; if ((int) ResponseType.Ok == dlg.Run()) { m_toolList.DeleteTool(tool.Name); m_toolList.AddTool(dlg.ETool); RefreshList(); } }