コード例 #1
0
        /// <summary>
        /// Responds to Graphing Request and runs algorithm on specified capture file
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void GraphButton_Click(object sender, EventArgs e)
        {
            string results = Controller.RunAlgorithm((int)AlgorithmUpDown.Value);

            this.graphingChart = Controller.DisplayResults(graphingChart);

            // display the matches' descriptions to the user
            var rtf = new Tools.RtfHelpForm();

            rtf.AddText(results);
        }
コード例 #2
0
        public static void ShowHelp(string helpFileName)
        {
            string curDir = System.IO.Directory.GetCurrentDirectory();//Environment.SystemDirectory.ToString();

            Tools.RtfHelpForm hhf = new Tools.RtfHelpForm(String.Format(@"{0}\Resources\{1}", curDir, helpFileName))
            {
                Text = "Step-Function in a LAN Network Configuration"
            };

            hhf.ShowDialog();
        }