コード例 #1
0
        public MainForm()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            graph.Bar    = progressBar;
            graph.xLabel = xLabel;
            graph.yLabel = yLabel;

            printDocument = graph.GetPrintDocument();

            //graph.setRange(-5, -5, 5, 5);
            this.Controls.Add(graph);
            this.Text    = Title + System.IO.Path.GetFileNameWithoutExtension(graph.Model.Filename);
            rangeForm    = new RangeForm(graph);
            optionsForm  = new OptionsForm(graph);
            imageForm    = new ImageForm(graph);
            compilerForm = new CompilerOptionsForm(graph);
            libraryForm  = new LibraryForm(graph, this);
            fitForm      = new FitForm(graph);
            aboutForm    = new AboutForm();
            ResetMenu();
        }
コード例 #2
0
 private void marquardtClick(object sender, System.EventArgs e)
 {
     if (fitForm.IsDisposed)
     {
         fitForm = new FitForm(graph);
     }
     fitForm.Reset();
     fitForm.Show();
     fitForm.BringToFront();
 }
コード例 #3
0
ファイル: MainForm.cs プロジェクト: xuchuansheng/GenXSource
		private void marquardtClick(object sender, System.EventArgs e) {
			if (fitForm.IsDisposed) fitForm = new FitForm(graph);
			fitForm.Reset();
			fitForm.Show();
			fitForm.BringToFront();
		}
コード例 #4
0
ファイル: MainForm.cs プロジェクト: xuchuansheng/GenXSource
		public MainForm()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			graph.Bar = progressBar;
			graph.xLabel = xLabel;
			graph.yLabel = yLabel;

			printDocument = graph.GetPrintDocument();

			//graph.setRange(-5, -5, 5, 5);
			this.Controls.Add(graph);
			this.Text = Title + System.IO.Path.GetFileNameWithoutExtension(graph.Model.Filename);
			rangeForm = new RangeForm(graph);
			optionsForm = new OptionsForm(graph);
			imageForm = new ImageForm(graph);
			compilerForm = new CompilerOptionsForm(graph);
			libraryForm = new LibraryForm(graph, this);
			fitForm = new FitForm(graph);
			aboutForm = new AboutForm();
			ResetMenu();
		}