コード例 #1
0
        public void createTaskPane()
        {
            resultpane = new ResultsTaskPane(this);

            //If a taskpane is already being displayed, remove it.
            if ((Globals.ThisAddIn.CustomTaskPanes.Count > 0))
            {
                Globals.ThisAddIn.CustomTaskPanes.Remove(taskpane);
            }

            taskpane = Globals.ThisAddIn.CustomTaskPanes.Add(resultpane, "Frequency Analyzer Results");
            taskpane.Visible = true;
        }
コード例 #2
0
        public void createTaskPane()
        {
            resultpane = new ResultsTaskPane(this);

            //If a taskpane is already being displayed, remove it.
            if ((Globals.ThisAddIn.CustomTaskPanes.Count > 0))
            {
                Globals.ThisAddIn.CustomTaskPanes.Remove(taskpane);
            }

            taskpane         = Globals.ThisAddIn.CustomTaskPanes.Add(resultpane, "Frequency Analyzer Results");
            taskpane.Visible = true;
        }