コード例 #1
0
 public void SetFont(Font font)
 {
     _codeEditor.SetFont(font);
     _autocompleteMenu.Font = font.FontFamily.Name == "Cambria"
         ? CustomFonts.GetMathFont(font.Size)
         : font;
 }
コード例 #2
0
 private void setupAutocomplete()
 {
     if (!DesignMode)
     {
         Font = CustomFonts.GetMathFont(18); //new Font("Cambria", 18.0F, GraphicsUnit.Point);
     }
     //GlobalConfig.mathFont;
     ImageList            = null;
     TargetControlWrapper = null;
     //AllowsTabKey = true;
     //CaptureFocus = true;
     ToolTipDuration   = 4000;
     MinFragmentLength = 1;
     ImageList         = new ImageList {
         TransparentColor = Color.Transparent
     };
     ImageList.Images.Add(Resources.Real);
     ImageList.Images.Add(Resources.Complex);
     ImageList.Images.Add(Resources.Natural);
     ImageList.Images.Add(Resources.Integer);
     ImageList.Images.Add(Resources.Rational);
     ImageList.Images.Add(Resources.Matrix);
     ImageList.Images.SetKeyName(0, "Real.png");
     ImageList.Images.SetKeyName(1, "Complex.png");
 }
コード例 #3
0
        public void Reset()
        {
            Language = new CultureInfo("en");

            CodeEditor = (CodeEditorType)Enum.GetValues(typeof(CodeEditorType)).GetValue(0);

            FunctionsOrder = FunctionsOrder.Default;
            TooltipType    = TooltipType.Default;

            ExpressionFont = CustomFonts.GetMathFont(15.75F);
            ScriptingFont  = CustomFonts.GetScriptingFont(12);

            ShowReturnTypeInExpression     = false;
            ShowParametersTypeInExpression = true;

            ShowReturnTypeInScripting     = true;
            ShowParametersTypeInScripting = true;

            NumericalOutputNotation = NumericalOutputNotationType.MathematicalNotation;

            ScriptingDirectory       = DefaultScriptingDirectory;
            CustomFunctionsDirectory = DefaultCustomFunctionsDirectory;

            CalculationsErrors = CalculationsErrors.ReturnNAN;

            WorkingDirectory = DefaultWorkingDirectory;
        }
コード例 #4
0
 private ScriptingView()
 {
     InitializeComponent();
     if (!DesignMode)
     {
         consoleOutputTextBox.Font = CustomFonts.GetMathFont(consoleOutputTextBox.Font.Size);
     }
 }
コード例 #5
0
        public NumericalCalculationsView()
        {
            InitializeComponent();
            if (DesignMode)
            {
                return;
            }
            function.DefaultCellStyle.Font = CustomFonts.GetMathFont(function.DefaultCellStyle.Font.Size);
            result.DefaultCellStyle.Font   = CustomFonts.GetMathFont(result.DefaultCellStyle.Font.Size);

            resultNumericalCalculationsTextBox.Font =
                CustomFonts.GetMathFont(resultNumericalCalculationsTextBox.Font.Size);
        }
コード例 #6
0
 public void SetFont(Font font)
 {
     if (font.FontFamily.Name == "Cambria" && !IsInDesignMode)
     {
         Font = CustomFonts.GetMathFont(font.Size);
         _autocompleteMenu.Font = CustomFonts.GetMathFont(font.Size);
     }
     else
     {
         Font = font;
         _autocompleteMenu.Font = font;
     }
 }
コード例 #7
0
        public void SetFont(Font font)
        {
            // Configuring the default style with properties
            // we have common to every lexer style saves time.
            StyleResetDefault();
            if (font.FontFamily.Name == "Cambria")
            {
                Font = CustomFonts.GetMathFont(font.Size);
                Styles[Style.Default].Font = CustomFonts.GetMathFont(font.Size).Name;

                _autocompleteMenu.Font = CustomFonts.GetMathFont(font.Size);
            }
            else if (font.FontFamily.Name == "Consolas")
            {
                Font = CustomFonts.GetScriptingFont(font.Size);
                Styles[Style.Default].Font = CustomFonts.GetScriptingFont(font.Size).Name;

                _autocompleteMenu.Font = CustomFonts.GetScriptingFont(font.Size);
            }
            else
            {
                Styles[Style.Default].Font = font.Name;
                Font = font;
                _autocompleteMenu.Font = font;
            }
            Styles[Style.Default].Size = (int)font.Size;

            StyleClearAll();

            // Configure the CPP (C#) lexer styles
            Styles[Style.Cpp.Default].ForeColor        = Color.Silver;              /////////////////////
            Styles[Style.Cpp.Comment].ForeColor        = Color.FromArgb(0, 128, 0); // Green
            Styles[Style.Cpp.CommentLine].ForeColor    = Color.FromArgb(0, 128, 0); // Green
            Styles[Style.Cpp.CommentLineDoc].ForeColor = Color.FromArgb(128, 128, 128);
            // Gray
            Styles[Style.Cpp.Number].ForeColor       = Color.Olive;
            Styles[Style.Cpp.Word].ForeColor         = Color.Blue;
            Styles[Style.Cpp.Word2].ForeColor        = Color.Teal;
            Styles[Style.Cpp.String].ForeColor       = Color.FromArgb(163, 21, 21); // Red
            Styles[Style.Cpp.Character].ForeColor    = Color.FromArgb(163, 21, 21); // Red
            Styles[Style.Cpp.Verbatim].ForeColor     = Color.FromArgb(163, 21, 21); // Red
            Styles[Style.Cpp.StringEol].BackColor    = Color.Pink;
            Styles[Style.Cpp.Operator].ForeColor     = Color.Purple;
            Styles[Style.Cpp.Preprocessor].ForeColor = Color.Maroon;
            Styles[Style.BraceLight].BackColor       = Color.LightGray;
            Styles[Style.BraceLight].ForeColor       = Color.BlueViolet;
            Styles[Style.BraceBad].ForeColor         = Color.Red;
            //this.Styles[Style.Cpp.CommentDoc]

            Lexer = Lexer.Cpp;
        }
コード例 #8
0
 public void SetFont(Font font)
 {
     if (font.FontFamily.Name == "Cambria")
     {
         Font = CustomFonts.GetMathFont(font.Size);
     }
     else if (font.FontFamily.Name == "Consolas")
     {
         Font = CustomFonts.GetScriptingFont(font.Size);
     }
     else
     {
         Font = font;
     }
 }
コード例 #9
0
 public void SetFont(Font font)
 {
     if (font.FontFamily.Name == "Cambria")
     {
         FontFamily = new FontFamily(CustomFonts.GetMathFont(font.Size).FontFamily.Name);
     }
     else if (font.FontFamily.Name == "Consolas")
     {
         FontFamily = new FontFamily(CustomFonts.GetScriptingFont(font.Size).FontFamily.Name);
     }
     else
     {
         FontFamily = new FontFamily(font.FontFamily.Name);
     }
     FontSize = font.Size;
     //this.FontWeight =  FontWeights.
     FontStyle = ConvertFontStyle(CreateFontStyle(font));
 }
コード例 #10
0
        public CalculationsView()
        {
            InitializeComponent();

            if (!DesignMode)
            {
                calculationValueTextBox.Font = CustomFonts.GetMathFont(calculationValueTextBox.Font.Size);

                calculationsHistoryDataGridView.Columns[0].DefaultCellStyle.Font =
                    CustomFonts.GetMathFont(calculationsHistoryDataGridView.Columns[0].DefaultCellStyle.Font.Size);

                calculationsHistoryDataGridView.Columns[calculationsHistoryDataGridView.Columns.Count - 1]
                .DefaultCellStyle
                .Font =
                    CustomFonts.GetMathFont(
                        calculationsHistoryDataGridView.Columns[calculationsHistoryDataGridView.Columns.Count - 1]
                        .DefaultCellStyle.Font.Size);
            }
        }
コード例 #11
0
        public ScriptingView()
        {
            InitializeComponent();

            var codeEditor = new CodeEditorControlWrapper {
                Dock = DockStyle.Fill
            };

            splitContainer2.Panel1.Controls.Add(codeEditor);
            splitContainer1.Panel2.Controls.Add(SolutionExplorerView as Control);
            splitContainer1.Panel2.Controls[1].BringToFront();
            CodeEditorView = codeEditor;


            if (!DesignMode)
            {
                consoleOutputTextBox.Font = CustomFonts.GetMathFont(consoleOutputTextBox.Font.Size);
            }
        }
コード例 #12
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
     this.groupBox3                        = new System.Windows.Forms.GroupBox();
     this.tableLayoutPanel2                = new System.Windows.Forms.TableLayoutPanel();
     this.calculationsRealLabel            = new System.Windows.Forms.Label();
     this.valueForCalculationNumericUpDown = new ScientificNumericUpDown();
     this.calculationsImZnumericUpDown     = new ScientificNumericUpDown();
     this.calculationsComplexLabel         = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.calculationValueTextBox         = new System.Windows.Forms.TextBox();
     this.calculateButton                 = new System.Windows.Forms.Button();
     this.calculationsHistoryDataGridView = new System.Windows.Forms.DataGridView();
     this.dataGridViewTextBoxColumn1      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tableLayoutPanel1               = new System.Windows.Forms.TableLayoutPanel();
     this.label7 = new System.Windows.Forms.Label();
     this.groupBox3.SuspendLayout();
     this.tableLayoutPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.valueForCalculationNumericUpDown)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.calculationsImZnumericUpDown)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.calculationsHistoryDataGridView)).BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // groupBox3
     //
     this.groupBox3.AutoSize     = true;
     this.groupBox3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.groupBox3.Controls.Add(this.tableLayoutPanel2);
     this.groupBox3.Font     = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.groupBox3.Location = new System.Drawing.Point(288, 22);
     this.groupBox3.Margin   = new System.Windows.Forms.Padding(2, 2, 5, 5);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Padding  = new System.Windows.Forms.Padding(2, 2, 5, 5);
     this.groupBox3.Size     = new System.Drawing.Size(151, 100);
     this.groupBox3.TabIndex = 11;
     this.groupBox3.TabStop  = false;
     //
     // tableLayoutPanel2
     //
     this.tableLayoutPanel2.AutoSize     = true;
     this.tableLayoutPanel2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.tableLayoutPanel2.ColumnCount  = 2;
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel2.Controls.Add(this.calculationsRealLabel, 0, 0);
     this.tableLayoutPanel2.Controls.Add(this.valueForCalculationNumericUpDown, 1, 0);
     this.tableLayoutPanel2.Controls.Add(this.calculationsImZnumericUpDown, 1, 1);
     this.tableLayoutPanel2.Controls.Add(this.calculationsComplexLabel, 0, 1);
     this.tableLayoutPanel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel2.Location = new System.Drawing.Point(2, 25);
     this.tableLayoutPanel2.Name     = "tableLayoutPanel2";
     this.tableLayoutPanel2.RowCount = 2;
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel2.Size     = new System.Drawing.Size(144, 70);
     this.tableLayoutPanel2.TabIndex = 9;
     //
     // calculationsRealLabel
     //
     this.calculationsRealLabel.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.calculationsRealLabel.AutoSize = true;
     this.calculationsRealLabel.Font     = CustomFonts.GetMathFont(12);
     this.calculationsRealLabel.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
     this.calculationsRealLabel.Location = new System.Drawing.Point(12, 6);
     this.calculationsRealLabel.Margin   = new System.Windows.Forms.Padding(2, 0, 2, 0);
     this.calculationsRealLabel.Name     = "calculationsRealLabel";
     this.calculationsRealLabel.Size     = new System.Drawing.Size(63, 23);
     this.calculationsRealLabel.TabIndex = 5;
     this.calculationsRealLabel.Text     = "       x =";
     //
     // valueForCalculationNumericUpDown
     //
     this.valueForCalculationNumericUpDown.Anchor   = System.Windows.Forms.AnchorStyles.Left;
     this.valueForCalculationNumericUpDown.AutoSize = true;
     this.valueForCalculationNumericUpDown.Epsilon  = new decimal(new int[] {
         1,
         0,
         0,
         196608
     });
     this.valueForCalculationNumericUpDown.Font           = CustomFonts.GetMathFont(12);
     this.valueForCalculationNumericUpDown.Location       = new System.Drawing.Point(79, 2);
     this.valueForCalculationNumericUpDown.Margin         = new System.Windows.Forms.Padding(2);
     this.valueForCalculationNumericUpDown.MultiplyFactor = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.valueForCalculationNumericUpDown.Name       = "valueForCalculationNumericUpDown";
     this.valueForCalculationNumericUpDown.Size       = new System.Drawing.Size(63, 31);
     this.valueForCalculationNumericUpDown.TabIndex   = 6;
     this.valueForCalculationNumericUpDown.UpDownMode = ScientificNumericUpDown.UpDownBehavior.Adaptive;
     this.valueForCalculationNumericUpDown.Value      = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     //
     // calculationsImZnumericUpDown
     //
     this.calculationsImZnumericUpDown.Anchor   = System.Windows.Forms.AnchorStyles.Left;
     this.calculationsImZnumericUpDown.AutoSize = true;
     this.calculationsImZnumericUpDown.Epsilon  = new decimal(new int[] {
         1,
         0,
         0,
         196608
     });
     this.calculationsImZnumericUpDown.Font           = CustomFonts.GetMathFont(12);
     this.calculationsImZnumericUpDown.Location       = new System.Drawing.Point(79, 37);
     this.calculationsImZnumericUpDown.Margin         = new System.Windows.Forms.Padding(2);
     this.calculationsImZnumericUpDown.MultiplyFactor = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.calculationsImZnumericUpDown.Name       = "calculationsImZnumericUpDown";
     this.calculationsImZnumericUpDown.Size       = new System.Drawing.Size(63, 31);
     this.calculationsImZnumericUpDown.TabIndex   = 9;
     this.calculationsImZnumericUpDown.UpDownMode = ScientificNumericUpDown.UpDownBehavior.Adaptive;
     this.calculationsImZnumericUpDown.Value      = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     this.calculationsImZnumericUpDown.Visible = false;
     //
     // calculationsComplexLabel
     //
     this.calculationsComplexLabel.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.calculationsComplexLabel.AutoSize = true;
     this.calculationsComplexLabel.Font     = CustomFonts.GetMathFont(12);
     this.calculationsComplexLabel.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
     this.calculationsComplexLabel.Location = new System.Drawing.Point(2, 41);
     this.calculationsComplexLabel.Margin   = new System.Windows.Forms.Padding(2, 0, 2, 0);
     this.calculationsComplexLabel.Name     = "calculationsComplexLabel";
     this.calculationsComplexLabel.Size     = new System.Drawing.Size(73, 23);
     this.calculationsComplexLabel.TabIndex = 8;
     this.calculationsComplexLabel.Text     = "Im(z) =";
     this.calculationsComplexLabel.Visible  = false;
     //
     // label5
     //
     this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.label5.AutoSize  = true;
     this.label5.Font      = new System.Drawing.Font("Microsoft Sans Serif", 12F);
     this.label5.ImeMode   = System.Windows.Forms.ImeMode.NoControl;
     this.label5.Location  = new System.Drawing.Point(182, 20);
     this.label5.Margin    = new System.Windows.Forms.Padding(2, 0, 2, 0);
     this.label5.Name      = "label5";
     this.label5.Size      = new System.Drawing.Size(102, 107);
     this.label5.TabIndex  = 10;
     this.label5.Text      = Localization.Views.CalculationsView.label5_Text;
     this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // calculationValueTextBox
     //
     this.calculationValueTextBox.BackColor = System.Drawing.SystemColors.Window;
     this.tableLayoutPanel1.SetColumnSpan(this.calculationValueTextBox, 2);
     this.calculationValueTextBox.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.calculationValueTextBox.Font     = CustomFonts.GetMathFont(16.2F);
     this.calculationValueTextBox.Location = new System.Drawing.Point(184, 131);
     this.calculationValueTextBox.Margin   = new System.Windows.Forms.Padding(4, 4, 8, 4);
     this.calculationValueTextBox.Name     = "calculationValueTextBox";
     this.calculationValueTextBox.ReadOnly = true;
     this.calculationValueTextBox.Size     = new System.Drawing.Size(402, 39);
     this.calculationValueTextBox.TabIndex = 3;
     //
     // calculateButton
     //
     this.calculateButton.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.calculateButton.AutoSize = true;
     this.calculateButton.Font     = new System.Drawing.Font("Microsoft Sans Serif", 15.75F);
     this.calculateButton.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
     this.calculateButton.Location = new System.Drawing.Point(32, 53);
     this.calculateButton.Margin   = new System.Windows.Forms.Padding(2);
     this.calculateButton.Name     = "calculateButton";
     this.calculateButton.Size     = new System.Drawing.Size(146, 41);
     this.calculateButton.TabIndex = 2;
     this.calculateButton.Text     = Localization.Views.CalculationsView.calculateButton_Text;
     this.calculateButton.UseVisualStyleBackColor = true;
     //
     // calculationsHistoryDataGridView
     //
     this.calculationsHistoryDataGridView.AllowUserToAddRows          = false;
     this.calculationsHistoryDataGridView.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.calculationsHistoryDataGridView.AutoSizeRowsMode            = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
     this.calculationsHistoryDataGridView.BackgroundColor             = System.Drawing.SystemColors.Control;
     this.calculationsHistoryDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.calculationsHistoryDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.dataGridViewTextBoxColumn1,
         this.dataGridViewTextBoxColumn4,
         this.dataGridViewTextBoxColumn5
     });
     this.tableLayoutPanel1.SetColumnSpan(this.calculationsHistoryDataGridView, 4);
     this.calculationsHistoryDataGridView.Dock                 = System.Windows.Forms.DockStyle.Fill;
     this.calculationsHistoryDataGridView.Location             = new System.Drawing.Point(2, 176);
     this.calculationsHistoryDataGridView.Margin               = new System.Windows.Forms.Padding(2);
     this.calculationsHistoryDataGridView.Name                 = "calculationsHistoryDataGridView";
     this.calculationsHistoryDataGridView.ReadOnly             = true;
     this.calculationsHistoryDataGridView.RowTemplate.Height   = 24;
     this.calculationsHistoryDataGridView.RowTemplate.ReadOnly = true;
     this.calculationsHistoryDataGridView.Size                 = new System.Drawing.Size(590, 219);
     this.calculationsHistoryDataGridView.TabIndex             = 7;
     //
     // dataGridViewTextBoxColumn1
     //
     this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     dataGridViewCellStyle1.Font = CustomFonts.GetMathFont(10.2F);
     this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle1;
     this.dataGridViewTextBoxColumn1.HeaderText       = Localization.Views.CalculationsView.dataGridViewTextBoxColumn1_HeaderText;
     this.dataGridViewTextBoxColumn1.Name             = "dataGridViewTextBoxColumn1";
     this.dataGridViewTextBoxColumn1.ReadOnly         = true;
     //
     // dataGridViewTextBoxColumn4
     //
     this.dataGridViewTextBoxColumn4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     dataGridViewCellStyle2.Font = CustomFonts.GetMathFont(10.2F);
     this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle2;
     this.dataGridViewTextBoxColumn4.HeaderText       = Localization.Views.CalculationsView.dataGridViewTextBoxColumn4_HeaderText;
     this.dataGridViewTextBoxColumn4.Name             = "dataGridViewTextBoxColumn4";
     this.dataGridViewTextBoxColumn4.ReadOnly         = true;
     //
     // dataGridViewTextBoxColumn5
     //
     this.dataGridViewTextBoxColumn5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     dataGridViewCellStyle3.Font = CustomFonts.GetMathFont(10.2F);
     this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle3;
     this.dataGridViewTextBoxColumn5.HeaderText       = Localization.Views.CalculationsView
                                                        .dataGridViewTextBoxColumn5_HeaderText;
     this.dataGridViewTextBoxColumn5.Name     = "dataGridViewTextBoxColumn5";
     this.dataGridViewTextBoxColumn5.ReadOnly = true;
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 4;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 30F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 15F));
     this.tableLayoutPanel1.Controls.Add(this.label7, 1, 2);
     this.tableLayoutPanel1.Controls.Add(this.calculationsHistoryDataGridView, 0, 3);
     this.tableLayoutPanel1.Controls.Add(this.label5, 2, 1);
     this.tableLayoutPanel1.Controls.Add(this.groupBox3, 3, 1);
     this.tableLayoutPanel1.Controls.Add(this.calculationValueTextBox, 2, 2);
     this.tableLayoutPanel1.Controls.Add(this.calculateButton, 1, 1);
     this.tableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     this.tableLayoutPanel1.Margin   = new System.Windows.Forms.Padding(2, 2, 2, 8);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 4;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 16F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(556, 397);
     this.tableLayoutPanel1.TabIndex = 12;
     //
     // label7
     //
     this.label7.AutoSize  = true;
     this.label7.Dock      = System.Windows.Forms.DockStyle.Right;
     this.label7.Font      = new System.Drawing.Font("Microsoft Sans Serif", 16.2F);
     this.label7.ImeMode   = System.Windows.Forms.ImeMode.NoControl;
     this.label7.Location  = new System.Drawing.Point(74, 129);
     this.label7.Margin    = new System.Windows.Forms.Padding(2);
     this.label7.Name      = "label7";
     this.label7.Size      = new System.Drawing.Size(104, 43);
     this.label7.TabIndex  = 4;
     this.label7.Text      = Localization.Views.CalculationsView.label7_Text;
     this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // CalculationsView
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.tableLayoutPanel1);
     this.Margin = new System.Windows.Forms.Padding(8);
     this.Name   = "CalculationsView";
     this.Size   = new System.Drawing.Size(556, 397);
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     this.tableLayoutPanel2.ResumeLayout(false);
     this.tableLayoutPanel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.valueForCalculationNumericUpDown)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.calculationsImZnumericUpDown)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.calculationsHistoryDataGridView)).EndInit();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #13
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            var _numericScaledSize = new System.Drawing.Size(96, 22).DpiScale();

            this.label2            = new System.Windows.Forms.Label();
            this.trackBar1         = new System.Windows.Forms.TrackBar();
            this.groupBox2         = new System.Windows.Forms.GroupBox();
            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
            this.label4            = new System.Windows.Forms.Label();
            this.yNNumericUpDown   = new ScientificNumericUpDown();
            this.label3            = new System.Windows.Forms.Label();
            this.x0NumericUpDown   = new ScientificNumericUpDown();
            this.y0label           = new System.Windows.Forms.Label();
            this.y0NumericUpDown   = new ScientificNumericUpDown();
            this.yNlabel           = new System.Windows.Forms.Label();
            this.xnNumericUpDown   = new ScientificNumericUpDown();
            this.clearChartButton  = new System.Windows.Forms.Button();
            this.addToChartButton  = new System.Windows.Forms.Button();
            ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit();
            this.groupBox2.SuspendLayout();
            this.tableLayoutPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.yNNumericUpDown)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.x0NumericUpDown)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.y0NumericUpDown)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.xnNumericUpDown)).BeginInit();
            this.SuspendLayout();
            //
            // label2
            //
            this.label2.AutoSize = true;
            this.label2.Dock     = System.Windows.Forms.DockStyle.Top;
            this.label2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10.2F);
            this.label2.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
            this.label2.Location = new System.Drawing.Point(0, 308);
            this.label2.Margin   = new System.Windows.Forms.Padding(2, 10, 2, 10);
            this.label2.Name     = "label2";
            this.label2.Size     = new System.Drawing.Size(108, 20);
            this.label2.TabIndex = 18;
            this.label2.Text     = Localization.Views.ChartAreaValuesView.label2_Text;
            //
            // trackBar1
            //
            this.trackBar1.AutoSize      = true;
            this.trackBar1.Dock          = System.Windows.Forms.DockStyle.Top;
            this.trackBar1.ImeMode       = System.Windows.Forms.ImeMode.NoControl;
            this.trackBar1.LargeChange   = 20;
            this.trackBar1.Location      = new System.Drawing.Point(0, 328);
            this.trackBar1.Margin        = new System.Windows.Forms.Padding(2, 6, 2, 2);
            this.trackBar1.Maximum       = 200;
            this.trackBar1.Minimum       = 10;
            this.trackBar1.Name          = "trackBar1";
            this.trackBar1.Size          = new System.Drawing.Size(202, 56);
            this.trackBar1.SmallChange   = 10;
            this.trackBar1.TabIndex      = 24;
            this.trackBar1.TickFrequency = 10;
            this.trackBar1.TickStyle     = System.Windows.Forms.TickStyle.Both;
            this.trackBar1.Value         = 100;
            //
            // groupBox2
            //
            this.groupBox2.AutoSize = true;
            this.groupBox2.Controls.Add(this.tableLayoutPanel1);
            this.groupBox2.Dock     = System.Windows.Forms.DockStyle.Top;
            this.groupBox2.Font     = new System.Drawing.Font("Microsoft Sans Serif", 9.8F);
            this.groupBox2.Location = new System.Drawing.Point(0, 141);
            this.groupBox2.Margin   = new System.Windows.Forms.Padding(2);
            this.groupBox2.Name     = "groupBox2";
            this.groupBox2.Padding  = new System.Windows.Forms.Padding(2);
            this.groupBox2.Size     = new System.Drawing.Size(202, 167);
            this.groupBox2.TabIndex = 23;
            this.groupBox2.TabStop  = false;
            this.groupBox2.Text     = Localization.Views.ChartAreaValuesView.groupBox2_Text;
            //
            // tableLayoutPanel1
            //
            this.tableLayoutPanel1.AutoSize    = true;
            this.tableLayoutPanel1.ColumnCount = 4;
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 6F));
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 21F));
            this.tableLayoutPanel1.Controls.Add(this.label4, 1, 2);
            this.tableLayoutPanel1.Controls.Add(this.yNNumericUpDown, 2, 5);
            this.tableLayoutPanel1.Controls.Add(this.label3, 1, 1);
            this.tableLayoutPanel1.Controls.Add(this.x0NumericUpDown, 2, 1);
            this.tableLayoutPanel1.Controls.Add(this.y0label, 1, 4);
            this.tableLayoutPanel1.Controls.Add(this.y0NumericUpDown, 2, 4);
            this.tableLayoutPanel1.Controls.Add(this.yNlabel, 1, 5);
            this.tableLayoutPanel1.Controls.Add(this.xnNumericUpDown, 2, 2);
            this.tableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel1.Location = new System.Drawing.Point(2, 23);
            this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
            this.tableLayoutPanel1.RowCount = 7;
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 6F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 6F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 6F));
            this.tableLayoutPanel1.Size     = new System.Drawing.Size(198, 142);
            this.tableLayoutPanel1.TabIndex = 16;
            //
            // label4
            //
            this.label4.Anchor   = System.Windows.Forms.AnchorStyles.Right;
            this.label4.AutoSize = true;
            this.label4.Font     = CustomFonts.GetMathFont(10.2F);
            this.label4.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
            this.label4.Location = new System.Drawing.Point(9, 42);
            this.label4.Margin   = new System.Windows.Forms.Padding(2, 0, 2, 0);
            this.label4.Name     = "label4";
            this.label4.Size     = new System.Drawing.Size(42, 20);
            this.label4.TabIndex = 7;
            this.label4.Text     = "xN =";
            //
            // yNNumericUpDown
            //
            this.yNNumericUpDown.Dock    = System.Windows.Forms.DockStyle.Fill;
            this.yNNumericUpDown.Epsilon = new decimal(new int[] {
                1,
                0,
                0,
                196608
            });
            this.yNNumericUpDown.Font      = CustomFonts.GetMathFont(9.75F);
            this.yNNumericUpDown.Increment = new decimal(new int[] {
                9,
                0,
                0,
                65536
            });
            this.yNNumericUpDown.Location       = new System.Drawing.Point(55, 107);
            this.yNNumericUpDown.Margin         = new System.Windows.Forms.Padding(2);
            this.yNNumericUpDown.MultiplyFactor = new decimal(new int[] {
                10,
                0,
                0,
                0
            });
            this.yNNumericUpDown.Name       = "yNNumericUpDown";
            this.yNNumericUpDown.Size       = _numericScaledSize;
            this.yNNumericUpDown.TabIndex   = 17;
            this.yNNumericUpDown.TextAlign  = System.Windows.Forms.HorizontalAlignment.Center;
            this.yNNumericUpDown.UpDownMode = ScientificNumericUpDown.UpDownBehavior.Adaptive;
            this.yNNumericUpDown.Value      = new decimal(new int[] {
                3,
                0,
                0,
                0
            });
            //
            // label3
            //
            this.label3.Anchor   = System.Windows.Forms.AnchorStyles.Right;
            this.label3.AutoSize = true;
            this.label3.Font     = CustomFonts.GetMathFont(10.2F);
            this.label3.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
            this.label3.Location = new System.Drawing.Point(12, 11);
            this.label3.Margin   = new System.Windows.Forms.Padding(2, 0, 2, 0);
            this.label3.Name     = "label3";
            this.label3.Size     = new System.Drawing.Size(39, 20);
            this.label3.TabIndex = 5;
            this.label3.Text     = "x0 =";
            //
            // x0NumericUpDown
            //
            this.x0NumericUpDown.Dock    = System.Windows.Forms.DockStyle.Fill;
            this.x0NumericUpDown.Epsilon = new decimal(new int[] {
                1,
                0,
                0,
                196608
            });
            this.x0NumericUpDown.Font      = CustomFonts.GetMathFont(9.75F);
            this.x0NumericUpDown.Increment = new decimal(new int[] {
                20,
                0,
                0,
                65536
            });
            this.x0NumericUpDown.Location       = new System.Drawing.Point(55, 8);
            this.x0NumericUpDown.Margin         = new System.Windows.Forms.Padding(2);
            this.x0NumericUpDown.MultiplyFactor = new decimal(new int[] {
                10,
                0,
                0,
                0
            });
            this.x0NumericUpDown.Name       = "x0NumericUpDown";
            this.x0NumericUpDown.Size       = _numericScaledSize;
            this.x0NumericUpDown.TabIndex   = 10;
            this.x0NumericUpDown.TextAlign  = System.Windows.Forms.HorizontalAlignment.Center;
            this.x0NumericUpDown.UpDownMode = ScientificNumericUpDown.UpDownBehavior.Adaptive;
            this.x0NumericUpDown.Value      = new decimal(new int[] {
                0,
                0,
                0,
                0
            });
            //
            // y0label
            //
            this.y0label.Anchor   = System.Windows.Forms.AnchorStyles.Right;
            this.y0label.AutoSize = true;
            this.y0label.Font     = CustomFonts.GetMathFont(10.2F);
            this.y0label.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
            this.y0label.Location = new System.Drawing.Point(11, 79);
            this.y0label.Margin   = new System.Windows.Forms.Padding(2, 0, 2, 0);
            this.y0label.Name     = "y0label";
            this.y0label.Size     = new System.Drawing.Size(40, 20);
            this.y0label.TabIndex = 14;
            this.y0label.Text     = "y0 =";
            //
            // y0NumericUpDown
            //
            this.y0NumericUpDown.Dock    = System.Windows.Forms.DockStyle.Fill;
            this.y0NumericUpDown.Epsilon = new decimal(new int[] {
                1,
                0,
                0,
                196608
            });
            this.y0NumericUpDown.Font      = CustomFonts.GetMathFont(9.75F);
            this.y0NumericUpDown.Increment = new decimal(new int[] {
                9,
                0,
                0,
                65536
            });
            this.y0NumericUpDown.Location       = new System.Drawing.Point(55, 76);
            this.y0NumericUpDown.Margin         = new System.Windows.Forms.Padding(2);
            this.y0NumericUpDown.MultiplyFactor = new decimal(new int[] {
                10,
                0,
                0,
                0
            });
            this.y0NumericUpDown.Name       = "y0NumericUpDown";
            this.y0NumericUpDown.Size       = _numericScaledSize;
            this.y0NumericUpDown.TabIndex   = 16;
            this.y0NumericUpDown.TextAlign  = System.Windows.Forms.HorizontalAlignment.Center;
            this.y0NumericUpDown.UpDownMode = ScientificNumericUpDown.UpDownBehavior.Adaptive;
            this.y0NumericUpDown.Value      = new decimal(new int[] {
                0,
                0,
                0,
                0
            });
            //
            // yNlabel
            //
            this.yNlabel.Anchor   = System.Windows.Forms.AnchorStyles.Right;
            this.yNlabel.AutoSize = true;
            this.yNlabel.Font     = CustomFonts.GetMathFont(10.2F);
            this.yNlabel.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
            this.yNlabel.Location = new System.Drawing.Point(8, 110);
            this.yNlabel.Margin   = new System.Windows.Forms.Padding(2, 0, 2, 0);
            this.yNlabel.Name     = "yNlabel";
            this.yNlabel.Size     = new System.Drawing.Size(43, 20);
            this.yNlabel.TabIndex = 15;
            this.yNlabel.Text     = "yN =";
            //
            // xnNumericUpDown
            //
            this.xnNumericUpDown.Dock    = System.Windows.Forms.DockStyle.Fill;
            this.xnNumericUpDown.Epsilon = new decimal(new int[] {
                1,
                0,
                0,
                196608
            });
            this.xnNumericUpDown.Font      = CustomFonts.GetMathFont(9.75F);
            this.xnNumericUpDown.Increment = new decimal(new int[] {
                20,
                0,
                0,
                65536
            });
            this.xnNumericUpDown.Location       = new System.Drawing.Point(55, 39);
            this.xnNumericUpDown.Margin         = new System.Windows.Forms.Padding(2);
            this.xnNumericUpDown.MultiplyFactor = new decimal(new int[] {
                10,
                0,
                0,
                0
            });
            this.xnNumericUpDown.Name       = "xnNumericUpDown";
            this.xnNumericUpDown.Size       = _numericScaledSize;
            this.xnNumericUpDown.TabIndex   = 11;
            this.xnNumericUpDown.TextAlign  = System.Windows.Forms.HorizontalAlignment.Center;
            this.xnNumericUpDown.UpDownMode = ScientificNumericUpDown.UpDownBehavior.Adaptive;
            this.xnNumericUpDown.Value      = new decimal(new int[] {
                5,
                0,
                0,
                0
            });
            //
            // clearChartButton
            //
            this.clearChartButton.AutoSize = true;
            this.clearChartButton.Dock     = System.Windows.Forms.DockStyle.Top;
            this.clearChartButton.Font     = new System.Drawing.Font("Microsoft Sans Serif", 10.8F);
            this.clearChartButton.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
            this.clearChartButton.Location = new System.Drawing.Point(0, 98);
            this.clearChartButton.Margin   = new System.Windows.Forms.Padding(2);
            this.clearChartButton.Name     = "clearChartButton";
            this.clearChartButton.Size     = new System.Drawing.Size(202, 43);
            this.clearChartButton.TabIndex = 22;
            this.clearChartButton.Text     = Localization.Views.ChartAreaValuesView.clearChartButton_Text;
            this.clearChartButton.UseVisualStyleBackColor = true;
            //
            // addToChartButton
            //
            this.addToChartButton.AutoSize = true;
            this.addToChartButton.Dock     = System.Windows.Forms.DockStyle.Top;
            this.addToChartButton.Font     = new System.Drawing.Font("Microsoft Sans Serif", 15.75F);
            this.addToChartButton.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
            this.addToChartButton.Location = new System.Drawing.Point(0, 0);
            this.addToChartButton.Margin   = new System.Windows.Forms.Padding(2);
            this.addToChartButton.Name     = "addToChartButton";
            this.addToChartButton.Size     = new System.Drawing.Size(202, 98);
            this.addToChartButton.TabIndex = 19;
            this.addToChartButton.Text     = Localization.Views.ChartAreaValuesView.addToChartButton_Text;
            this.addToChartButton.UseVisualStyleBackColor = true;

            //this.yNNumericUpDown.AutoScaleMode = AutoScaleMode.Font;
            //this.yNNumericUpDown.AutoSize = true;
            //this.y0NumericUpDown.AutoScaleMode = AutoScaleMode.Font;
            //this.y0NumericUpDown.AutoSize = true;
            //this.xnNumericUpDown.AutoScaleMode = AutoScaleMode.Font;
            //this.xnNumericUpDown.AutoSize = true;
            //this.x0NumericUpDown.AutoScaleMode = AutoScaleMode.Font;
            //this.x0NumericUpDown.AutoSize = true;

            //
            // ChartAreaValuesView
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
            this.AutoSize            = true;
            this.AutoSizeMode        = AutoSizeMode.GrowAndShrink;
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.trackBar1);
            this.Controls.Add(this.label2);
            this.Controls.Add(this.groupBox2);
            this.Controls.Add(this.clearChartButton);
            this.Controls.Add(this.addToChartButton);
            this.Font        = new System.Drawing.Font("Microsoft Sans Serif", 7.2F);
            this.Name        = "ChartAreaValuesView";
            this.MinimumSize = new Size(143, 325).DpiScale();
            this.Size        = new System.Drawing.Size(180, 350).DpiScale();

            ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit();
            this.groupBox2.ResumeLayout(false);
            this.groupBox2.PerformLayout();
            this.tableLayoutPanel1.ResumeLayout(false);
            this.tableLayoutPanel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.yNNumericUpDown)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.x0NumericUpDown)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.y0NumericUpDown)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.xnNumericUpDown)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
        }
コード例 #14
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
     this.resultNumericalCalculationsTextBox = new System.Windows.Forms.TextBox();
     this.label8 = new System.Windows.Forms.Label();
     this.label9 = new System.Windows.Forms.Label();
     this.operationNumericalCalculationsComboBox = new System.Windows.Forms.ComboBox();
     this.label6 = new System.Windows.Forms.Label();
     this.methodNumericalCalculationsComboBox = new System.Windows.Forms.ComboBox();
     this.numericalOperationButton            = new System.Windows.Forms.Button();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.numericalCalculationsDataGridView = new System.Windows.Forms.DataGridView();
     this.function                      = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.operation                     = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.method                        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.parameters                    = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.result                        = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.flowLayoutPanel3              = new System.Windows.Forms.FlowLayoutPanel();
     this.intervalGroupBox              = new System.Windows.Forms.GroupBox();
     this.tableLayoutPanel2             = new System.Windows.Forms.TableLayoutPanel();
     this.aIntervalNumericUpDown        = new ScientificNumericUpDown();
     this.label12                       = new System.Windows.Forms.Label();
     this.bIntervalNumericUpDown        = new ScientificNumericUpDown();
     this.label13                       = new System.Windows.Forms.Label();
     this.derivativeAtPointGroupBox     = new System.Windows.Forms.GroupBox();
     this.tableLayoutPanel3             = new System.Windows.Forms.TableLayoutPanel();
     this.nOrderDerivativeNumericUpDown = new System.Windows.Forms.NumericUpDown();
     this.label15                       = new System.Windows.Forms.Label();
     this.xDerivativePointNumericUpDown = new ScientificNumericUpDown();
     this.label14                       = new System.Windows.Forms.Label();
     this.maxErrorGroupBox              = new System.Windows.Forms.GroupBox();
     this.tableLayoutPanel5             = new System.Windows.Forms.TableLayoutPanel();
     this.epsTextBox                    = new ScientificNumericUpDown();
     this.label10                       = new System.Windows.Forms.Label();
     this.stepsGroupBox                 = new System.Windows.Forms.GroupBox();
     this.tableLayoutPanel4             = new System.Windows.Forms.TableLayoutPanel();
     this.nStepsNumericUpDown           = new ScientificNumericUpDown();
     this.label19                       = new System.Windows.Forms.Label();
     this.tableLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericalCalculationsDataGridView)).BeginInit();
     this.flowLayoutPanel3.SuspendLayout();
     this.intervalGroupBox.SuspendLayout();
     this.tableLayoutPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.aIntervalNumericUpDown)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.bIntervalNumericUpDown)).BeginInit();
     this.derivativeAtPointGroupBox.SuspendLayout();
     this.tableLayoutPanel3.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nOrderDerivativeNumericUpDown)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.xDerivativePointNumericUpDown)).BeginInit();
     this.maxErrorGroupBox.SuspendLayout();
     this.tableLayoutPanel5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.epsTextBox)).BeginInit();
     this.stepsGroupBox.SuspendLayout();
     this.tableLayoutPanel4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nStepsNumericUpDown)).BeginInit();
     this.SuspendLayout();
     //
     // resultNumericalCalculationsTextBox
     //
     this.resultNumericalCalculationsTextBox.BackColor = System.Drawing.SystemColors.Window;
     this.tableLayoutPanel1.SetColumnSpan(this.resultNumericalCalculationsTextBox, 2);
     this.resultNumericalCalculationsTextBox.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.resultNumericalCalculationsTextBox.Font     = CustomFonts.GetMathFont(16.2F);
     this.resultNumericalCalculationsTextBox.Location = new System.Drawing.Point(137, 258);
     this.resultNumericalCalculationsTextBox.Margin   = new System.Windows.Forms.Padding(3, 2, 7, 2);
     this.resultNumericalCalculationsTextBox.Name     = "resultNumericalCalculationsTextBox";
     this.resultNumericalCalculationsTextBox.ReadOnly = true;
     this.resultNumericalCalculationsTextBox.Size     = new System.Drawing.Size(638, 39);
     this.resultNumericalCalculationsTextBox.TabIndex = 3;
     //
     // label8
     //
     this.label8.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.label8.AutoSize = true;
     this.label8.Font     = new System.Drawing.Font("Microsoft Sans Serif", 14.25F);
     this.label8.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
     this.label8.Location = new System.Drawing.Point(44, 263);
     this.label8.Name     = "label8";
     this.label8.Size     = new System.Drawing.Size(87, 29);
     this.label8.TabIndex = 5;
     this.label8.Text     = Localization.Views.NumericalCalculationsView.label8_Text;//"Result:";
     //
     // label9
     //
     this.label9.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.label9.AutoSize = true;
     this.label9.Font     = new System.Drawing.Font("Microsoft Sans Serif", 13F);
     this.label9.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
     this.label9.Location = new System.Drawing.Point(41, 82);
     this.label9.Name     = "label9";
     this.label9.Size     = new System.Drawing.Size(90, 26);
     this.label9.TabIndex = 7;
     this.label9.Text     = Localization.Views.NumericalCalculationsView.label9_Text;
     //
     // operationNumericalCalculationsComboBox
     //
     this.operationNumericalCalculationsComboBox.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.operationNumericalCalculationsComboBox.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.operationNumericalCalculationsComboBox.Font              = new System.Drawing.Font("Microsoft Sans Serif", 14.25F);
     this.operationNumericalCalculationsComboBox.FormattingEnabled = true;
     this.operationNumericalCalculationsComboBox.Location          = new System.Drawing.Point(137, 27);
     this.operationNumericalCalculationsComboBox.Margin            = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.operationNumericalCalculationsComboBox.Name              = "operationNumericalCalculationsComboBox";
     this.operationNumericalCalculationsComboBox.Size              = new System.Drawing.Size(420, 37);
     this.operationNumericalCalculationsComboBox.TabIndex          = 1;
     //
     // label6
     //
     this.label6.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.label6.AutoSize = true;
     this.label6.Font     = new System.Drawing.Font("Microsoft Sans Serif", 13F);
     this.label6.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
     this.label6.Location = new System.Drawing.Point(18, 32);
     this.label6.Name     = "label6";
     this.label6.Size     = new System.Drawing.Size(113, 26);
     this.label6.TabIndex = 6;
     this.label6.Text     = Localization.Views.NumericalCalculationsView.label6_Text;;
     //
     // methodNumericalCalculationsComboBox
     //
     this.methodNumericalCalculationsComboBox.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.methodNumericalCalculationsComboBox.DropDownStyle     = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.methodNumericalCalculationsComboBox.Font              = new System.Drawing.Font("Microsoft Sans Serif", 14.25F);
     this.methodNumericalCalculationsComboBox.FormattingEnabled = true;
     this.methodNumericalCalculationsComboBox.Location          = new System.Drawing.Point(137, 77);
     this.methodNumericalCalculationsComboBox.Margin            = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.methodNumericalCalculationsComboBox.Name              = "methodNumericalCalculationsComboBox";
     this.methodNumericalCalculationsComboBox.Size              = new System.Drawing.Size(420, 37);
     this.methodNumericalCalculationsComboBox.TabIndex          = 2;
     //
     // numericalOperationButton
     //
     this.numericalOperationButton.AutoSize = true;
     this.numericalOperationButton.Dock     = System.Windows.Forms.DockStyle.Left;
     this.numericalOperationButton.Font     = new System.Drawing.Font("Microsoft Sans Serif", 15.75F);
     this.numericalOperationButton.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
     this.numericalOperationButton.Location = new System.Drawing.Point(563, 27);
     this.numericalOperationButton.Margin   = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.numericalOperationButton.Name     = "numericalOperationButton";
     this.tableLayoutPanel1.SetRowSpan(this.numericalOperationButton, 2);
     this.numericalOperationButton.Size     = new System.Drawing.Size(179, 96);
     this.numericalOperationButton.TabIndex = 0;
     this.numericalOperationButton.Text     = Localization.Views.NumericalCalculationsView.numericalOperationButton_Text;;
     this.numericalOperationButton.UseVisualStyleBackColor = true;
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.AutoSize    = true;
     this.tableLayoutPanel1.ColumnCount = 4;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 15F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.Controls.Add(this.label6, 1, 1);
     this.tableLayoutPanel1.Controls.Add(this.label9, 1, 2);
     this.tableLayoutPanel1.Controls.Add(this.numericalCalculationsDataGridView, 0, 6);
     this.tableLayoutPanel1.Controls.Add(this.label8, 1, 5);
     this.tableLayoutPanel1.Controls.Add(this.resultNumericalCalculationsTextBox, 2, 5);
     this.tableLayoutPanel1.Controls.Add(this.operationNumericalCalculationsComboBox, 2, 1);
     this.tableLayoutPanel1.Controls.Add(this.methodNumericalCalculationsComboBox, 2, 2);
     this.tableLayoutPanel1.Controls.Add(this.numericalOperationButton, 3, 1);
     this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel3, 1, 4);
     this.tableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     this.tableLayoutPanel1.Margin   = new System.Windows.Forms.Padding(3, 2, 3, 10);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 7;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 25F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(782, 400);
     this.tableLayoutPanel1.TabIndex = 12;
     //
     // numericalCalculationsDataGridView
     //
     this.numericalCalculationsDataGridView.AllowUserToAddRows          = false;
     this.numericalCalculationsDataGridView.AutoSizeColumnsMode         = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
     this.numericalCalculationsDataGridView.AutoSizeRowsMode            = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
     this.numericalCalculationsDataGridView.BackgroundColor             = System.Drawing.SystemColors.Control;
     this.numericalCalculationsDataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.numericalCalculationsDataGridView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
         this.function,
         this.operation,
         this.method,
         this.parameters,
         this.result
     });
     this.tableLayoutPanel1.SetColumnSpan(this.numericalCalculationsDataGridView, 4);
     this.numericalCalculationsDataGridView.Dock                 = System.Windows.Forms.DockStyle.Fill;
     this.numericalCalculationsDataGridView.Location             = new System.Drawing.Point(3, 301);
     this.numericalCalculationsDataGridView.Margin               = new System.Windows.Forms.Padding(3, 2, 7, 2);
     this.numericalCalculationsDataGridView.Name                 = "numericalCalculationsDataGridView";
     this.numericalCalculationsDataGridView.ReadOnly             = true;
     this.numericalCalculationsDataGridView.RowTemplate.Height   = 24;
     this.numericalCalculationsDataGridView.RowTemplate.ReadOnly = true;
     this.numericalCalculationsDataGridView.Size                 = new System.Drawing.Size(772, 97);
     this.numericalCalculationsDataGridView.TabIndex             = 5;
     //
     // function
     //
     this.function.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     dataGridViewCellStyle1.Font    = CustomFonts.GetMathFont(10.2F);
     this.function.DefaultCellStyle = dataGridViewCellStyle1;
     this.function.HeaderText       = Localization.Views.NumericalCalculationsView.function_HeaderText;;
     this.function.Name             = "function";
     this.function.ReadOnly         = true;
     //
     // operation
     //
     this.operation.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.operation.HeaderText   = Localization.Views.NumericalCalculationsView.operation_HeaderText;;
     this.operation.Name         = "operation";
     this.operation.ReadOnly     = true;
     //
     // method
     //
     this.method.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     this.method.HeaderText   = Localization.Views.NumericalCalculationsView.method_HeaderText;;
     this.method.Name         = "method";
     this.method.ReadOnly     = true;
     //
     // parameters
     //
     this.parameters.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     dataGridViewCellStyle2.Font      = CustomFonts.GetMathFont(10.2F);
     this.parameters.DefaultCellStyle = dataGridViewCellStyle2;
     this.parameters.HeaderText       = Localization.Views.NumericalCalculationsView.parameters_HeaderText;;
     this.parameters.Name             = "parameters";
     this.parameters.ReadOnly         = true;
     //
     // result
     //
     this.result.AutoSizeMode     = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
     dataGridViewCellStyle3.Font  = CustomFonts.GetMathFont(10.2F);
     this.result.DefaultCellStyle = dataGridViewCellStyle3;
     this.result.HeaderText       = Localization.Views.NumericalCalculationsView.result_HeaderText;;
     this.result.Name             = "result";
     this.result.ReadOnly         = true;
     //
     // flowLayoutPanel3
     //
     this.flowLayoutPanel3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.tableLayoutPanel1.SetColumnSpan(this.flowLayoutPanel3, 3);
     this.flowLayoutPanel3.Controls.Add(this.intervalGroupBox);
     this.flowLayoutPanel3.Controls.Add(this.derivativeAtPointGroupBox);
     this.flowLayoutPanel3.Controls.Add(this.maxErrorGroupBox);
     this.flowLayoutPanel3.Controls.Add(this.stepsGroupBox);
     this.flowLayoutPanel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.flowLayoutPanel3.Location = new System.Drawing.Point(19, 129);
     this.flowLayoutPanel3.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.flowLayoutPanel3.Name     = "flowLayoutPanel3";
     this.flowLayoutPanel3.Size     = new System.Drawing.Size(759, 123);
     this.flowLayoutPanel3.TabIndex = 14;
     //
     // intervalGroupBox
     //
     this.intervalGroupBox.AutoSize     = true;
     this.intervalGroupBox.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.intervalGroupBox.Controls.Add(this.tableLayoutPanel2);
     this.intervalGroupBox.Location = new System.Drawing.Point(3, 2);
     this.intervalGroupBox.Margin   = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.intervalGroupBox.Name     = "intervalGroupBox";
     this.intervalGroupBox.Padding  = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.intervalGroupBox.Size     = new System.Drawing.Size(256, 81);
     this.intervalGroupBox.TabIndex = 9;
     this.intervalGroupBox.TabStop  = false;
     this.intervalGroupBox.Text     = Localization.Views.NumericalCalculationsView.intervalGroupBox_Text;;
     //
     // tableLayoutPanel2
     //
     this.tableLayoutPanel2.AutoSize    = true;
     this.tableLayoutPanel2.ColumnCount = 2;
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel2.Controls.Add(this.aIntervalNumericUpDown, 1, 0);
     this.tableLayoutPanel2.Controls.Add(this.label12, 0, 1);
     this.tableLayoutPanel2.Controls.Add(this.bIntervalNumericUpDown, 1, 1);
     this.tableLayoutPanel2.Controls.Add(this.label13, 0, 0);
     this.tableLayoutPanel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 17);
     this.tableLayoutPanel2.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.tableLayoutPanel2.Name     = "tableLayoutPanel2";
     this.tableLayoutPanel2.RowCount = 2;
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel2.Size     = new System.Drawing.Size(250, 62);
     this.tableLayoutPanel2.TabIndex = 2;
     //
     // aIntervalNumericUpDown
     //
     this.aIntervalNumericUpDown.Dock    = System.Windows.Forms.DockStyle.Fill;
     this.aIntervalNumericUpDown.Epsilon = new decimal(new int[] {
         1,
         0,
         0,
         196608
     });
     this.aIntervalNumericUpDown.Font      = CustomFonts.GetMathFont(12);
     this.aIntervalNumericUpDown.Increment = new decimal(new int[] {
         1,
         0,
         0,
         65536
     });
     this.aIntervalNumericUpDown.Location       = new System.Drawing.Point(42, 0);
     this.aIntervalNumericUpDown.Margin         = new System.Windows.Forms.Padding(0);
     this.aIntervalNumericUpDown.MultiplyFactor = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.aIntervalNumericUpDown.Name       = "aIntervalNumericUpDown";
     this.aIntervalNumericUpDown.Size       = new System.Drawing.Size(208, 31);
     this.aIntervalNumericUpDown.TabIndex   = 2;
     this.aIntervalNumericUpDown.UpDownMode = ScientificNumericUpDown.UpDownBehavior.Addition;
     this.aIntervalNumericUpDown.Value      = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     //
     // label12
     //
     this.label12.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.label12.AutoSize = true;
     this.label12.Font     = CustomFonts.GetMathFont(12);
     this.label12.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
     this.label12.Location = new System.Drawing.Point(3, 35);
     this.label12.Name     = "label12";
     this.label12.Size     = new System.Drawing.Size(36, 23);
     this.label12.TabIndex = 1;
     this.label12.Text     = "b =";
     //
     // bIntervalNumericUpDown
     //
     this.bIntervalNumericUpDown.Dock    = System.Windows.Forms.DockStyle.Fill;
     this.bIntervalNumericUpDown.Epsilon = new decimal(new int[] {
         1,
         0,
         0,
         196608
     });
     this.bIntervalNumericUpDown.Font      = CustomFonts.GetMathFont(12);
     this.bIntervalNumericUpDown.Increment = new decimal(new int[] {
         1,
         0,
         0,
         65536
     });
     this.bIntervalNumericUpDown.Location       = new System.Drawing.Point(42, 31);
     this.bIntervalNumericUpDown.Margin         = new System.Windows.Forms.Padding(0);
     this.bIntervalNumericUpDown.MultiplyFactor = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.bIntervalNumericUpDown.Name       = "bIntervalNumericUpDown";
     this.bIntervalNumericUpDown.Size       = new System.Drawing.Size(208, 31);
     this.bIntervalNumericUpDown.TabIndex   = 3;
     this.bIntervalNumericUpDown.UpDownMode = ScientificNumericUpDown.UpDownBehavior.Addition;
     this.bIntervalNumericUpDown.Value      = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     //
     // label13
     //
     this.label13.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.label13.AutoSize = true;
     this.label13.Font     = CustomFonts.GetMathFont(12);
     this.label13.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
     this.label13.Location = new System.Drawing.Point(4, 4);
     this.label13.Name     = "label13";
     this.label13.Size     = new System.Drawing.Size(35, 23);
     this.label13.TabIndex = 0;
     this.label13.Text     = "a =";
     //
     // derivativeAtPointGroupBox
     //
     this.derivativeAtPointGroupBox.AutoSize     = true;
     this.derivativeAtPointGroupBox.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.derivativeAtPointGroupBox.Controls.Add(this.tableLayoutPanel3);
     this.derivativeAtPointGroupBox.Location = new System.Drawing.Point(265, 2);
     this.derivativeAtPointGroupBox.Margin   = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.derivativeAtPointGroupBox.Name     = "derivativeAtPointGroupBox";
     this.derivativeAtPointGroupBox.Padding  = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.derivativeAtPointGroupBox.Size     = new System.Drawing.Size(293, 81);
     this.derivativeAtPointGroupBox.TabIndex = 10;
     this.derivativeAtPointGroupBox.TabStop  = false;
     this.derivativeAtPointGroupBox.Text     = Localization.Views.NumericalCalculationsView.derivativeAtPointGroupBox_Text;;
     //
     // tableLayoutPanel3
     //
     this.tableLayoutPanel3.AutoSize    = true;
     this.tableLayoutPanel3.ColumnCount = 2;
     this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel3.Controls.Add(this.nOrderDerivativeNumericUpDown, 1, 0);
     this.tableLayoutPanel3.Controls.Add(this.label15, 0, 1);
     this.tableLayoutPanel3.Controls.Add(this.xDerivativePointNumericUpDown, 1, 1);
     this.tableLayoutPanel3.Controls.Add(this.label14, 0, 0);
     this.tableLayoutPanel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel3.Location = new System.Drawing.Point(3, 17);
     this.tableLayoutPanel3.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.tableLayoutPanel3.Name     = "tableLayoutPanel3";
     this.tableLayoutPanel3.RowCount = 2;
     this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel3.Size     = new System.Drawing.Size(287, 62);
     this.tableLayoutPanel3.TabIndex = 2;
     //
     // nOrderDerivativeNumericUpDown
     //
     this.nOrderDerivativeNumericUpDown.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.nOrderDerivativeNumericUpDown.Font     = CustomFonts.GetMathFont(12);
     this.nOrderDerivativeNumericUpDown.Location = new System.Drawing.Point(42, 0);
     this.nOrderDerivativeNumericUpDown.Margin   = new System.Windows.Forms.Padding(0);
     this.nOrderDerivativeNumericUpDown.Maximum  = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.nOrderDerivativeNumericUpDown.Name      = "nOrderDerivativeNumericUpDown";
     this.nOrderDerivativeNumericUpDown.Size      = new System.Drawing.Size(245, 31);
     this.nOrderDerivativeNumericUpDown.TabIndex  = 3;
     this.nOrderDerivativeNumericUpDown.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
     this.nOrderDerivativeNumericUpDown.Value     = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     //
     // label15
     //
     this.label15.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.label15.AutoSize = true;
     this.label15.Font     = CustomFonts.GetMathFont(12);
     this.label15.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
     this.label15.Location = new System.Drawing.Point(4, 35);
     this.label15.Name     = "label15";
     this.label15.Size     = new System.Drawing.Size(35, 23);
     this.label15.TabIndex = 0;
     this.label15.Text     = "x =";
     //
     // xDerivativePointNumericUpDown
     //
     this.xDerivativePointNumericUpDown.Dock    = System.Windows.Forms.DockStyle.Fill;
     this.xDerivativePointNumericUpDown.Epsilon = new decimal(new int[] {
         1,
         0,
         0,
         196608
     });
     this.xDerivativePointNumericUpDown.Font      = CustomFonts.GetMathFont(12);
     this.xDerivativePointNumericUpDown.Increment = new decimal(new int[] {
         1,
         0,
         0,
         65536
     });
     this.xDerivativePointNumericUpDown.Location       = new System.Drawing.Point(42, 31);
     this.xDerivativePointNumericUpDown.Margin         = new System.Windows.Forms.Padding(0);
     this.xDerivativePointNumericUpDown.MultiplyFactor = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.xDerivativePointNumericUpDown.Name       = "xDerivativePointNumericUpDown";
     this.xDerivativePointNumericUpDown.Size       = new System.Drawing.Size(245, 31);
     this.xDerivativePointNumericUpDown.TabIndex   = 2;
     this.xDerivativePointNumericUpDown.UpDownMode = ScientificNumericUpDown.UpDownBehavior.Adaptive;
     this.xDerivativePointNumericUpDown.Value      = new decimal(new int[] {
         0,
         0,
         0,
         0
     });
     //
     // label14
     //
     this.label14.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.label14.AutoSize = true;
     this.label14.Font     = CustomFonts.GetMathFont(12);
     this.label14.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
     this.label14.Location = new System.Drawing.Point(3, 4);
     this.label14.Name     = "label14";
     this.label14.Size     = new System.Drawing.Size(36, 23);
     this.label14.TabIndex = 1;
     this.label14.Text     = "n =";
     //
     // maxErrorGroupBox
     //
     this.maxErrorGroupBox.Anchor       = System.Windows.Forms.AnchorStyles.Top;
     this.maxErrorGroupBox.AutoSize     = true;
     this.maxErrorGroupBox.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.maxErrorGroupBox.Controls.Add(this.tableLayoutPanel5);
     this.maxErrorGroupBox.Location = new System.Drawing.Point(564, 2);
     this.maxErrorGroupBox.Margin   = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.maxErrorGroupBox.Name     = "maxErrorGroupBox";
     this.maxErrorGroupBox.Padding  = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.maxErrorGroupBox.Size     = new System.Drawing.Size(191, 50);
     this.maxErrorGroupBox.TabIndex = 11;
     this.maxErrorGroupBox.TabStop  = false;
     this.maxErrorGroupBox.Text     = Localization.Views.NumericalCalculationsView.maxErrorGroupBox_Text;;
     //
     // tableLayoutPanel5
     //
     this.tableLayoutPanel5.AutoSize    = true;
     this.tableLayoutPanel5.ColumnCount = 2;
     this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel5.Controls.Add(this.epsTextBox, 1, 0);
     this.tableLayoutPanel5.Controls.Add(this.label10, 0, 0);
     this.tableLayoutPanel5.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel5.Location = new System.Drawing.Point(3, 17);
     this.tableLayoutPanel5.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.tableLayoutPanel5.Name     = "tableLayoutPanel5";
     this.tableLayoutPanel5.RowCount = 1;
     this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel5.Size     = new System.Drawing.Size(185, 31);
     this.tableLayoutPanel5.TabIndex = 12;
     //
     // epsTextBox
     //
     this.epsTextBox.Dock    = System.Windows.Forms.DockStyle.Fill;
     this.epsTextBox.Epsilon = new decimal(new int[] {
         1,
         0,
         0,
         1835008
     });
     this.epsTextBox.Font     = CustomFonts.GetMathFont(12);
     this.epsTextBox.Location = new System.Drawing.Point(40, 0);
     this.epsTextBox.Margin   = new System.Windows.Forms.Padding(0);
     this.epsTextBox.Maximum  = new decimal(new int[] {
         1,
         0,
         0,
         0
     });
     this.epsTextBox.Minimum = new decimal(new int[] {
         1,
         0,
         0,
         1835008
     });
     this.epsTextBox.MultiplyFactor = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.epsTextBox.Name       = "epsTextBox";
     this.epsTextBox.Size       = new System.Drawing.Size(145, 31);
     this.epsTextBox.TabIndex   = 12;
     this.epsTextBox.UpDownMode = ScientificNumericUpDown.UpDownBehavior.Multiplication;
     this.epsTextBox.Value      = new decimal(new int[] {
         1,
         0,
         0,
         524288
     });
     //
     // label10
     //
     this.label10.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.label10.AutoSize = true;
     this.label10.Font     = CustomFonts.GetMathFont(12);
     this.label10.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
     this.label10.Location = new System.Drawing.Point(3, 4);
     this.label10.Name     = "label10";
     this.label10.Size     = new System.Drawing.Size(34, 23);
     this.label10.TabIndex = 11;
     this.label10.Text     = "ε =";
     //
     // stepsGroupBox
     //
     this.stepsGroupBox.AutoSize     = true;
     this.stepsGroupBox.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.stepsGroupBox.Controls.Add(this.tableLayoutPanel4);
     this.stepsGroupBox.Location = new System.Drawing.Point(3, 87);
     this.stepsGroupBox.Margin   = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.stepsGroupBox.Name     = "stepsGroupBox";
     this.stepsGroupBox.Padding  = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.stepsGroupBox.Size     = new System.Drawing.Size(195, 50);
     this.stepsGroupBox.TabIndex = 10;
     this.stepsGroupBox.TabStop  = false;
     this.stepsGroupBox.Text     = Localization.Views.NumericalCalculationsView.stepsGroupBox_Text;;
     //
     // tableLayoutPanel4
     //
     this.tableLayoutPanel4.AutoSize    = true;
     this.tableLayoutPanel4.ColumnCount = 2;
     this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel4.Controls.Add(this.nStepsNumericUpDown, 1, 0);
     this.tableLayoutPanel4.Controls.Add(this.label19, 0, 0);
     this.tableLayoutPanel4.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel4.Location = new System.Drawing.Point(3, 17);
     this.tableLayoutPanel4.Margin   = new System.Windows.Forms.Padding(4, 4, 4, 4);
     this.tableLayoutPanel4.Name     = "tableLayoutPanel4";
     this.tableLayoutPanel4.RowCount = 1;
     this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel4.Size     = new System.Drawing.Size(189, 31);
     this.tableLayoutPanel4.TabIndex = 9;
     //
     // nStepsNumericUpDown
     //
     this.nStepsNumericUpDown.Dock    = System.Windows.Forms.DockStyle.Fill;
     this.nStepsNumericUpDown.Epsilon = new decimal(new int[] {
         1,
         0,
         0,
         196608
     });
     this.nStepsNumericUpDown.Font     = CustomFonts.GetMathFont(12);
     this.nStepsNumericUpDown.Location = new System.Drawing.Point(45, 0);
     this.nStepsNumericUpDown.Margin   = new System.Windows.Forms.Padding(0);
     this.nStepsNumericUpDown.Maximum  = new decimal(new int[] {
         -469762048,
         -590869294,
         5421010,
         0
     });
     this.nStepsNumericUpDown.Minimum = new decimal(new int[] {
         2,
         0,
         0,
         0
     });
     this.nStepsNumericUpDown.MultiplyFactor = new decimal(new int[] {
         10,
         0,
         0,
         0
     });
     this.nStepsNumericUpDown.Name       = "nStepsNumericUpDown";
     this.nStepsNumericUpDown.Size       = new System.Drawing.Size(144, 31);
     this.nStepsNumericUpDown.TabIndex   = 9;
     this.nStepsNumericUpDown.UpDownMode = ScientificNumericUpDown.UpDownBehavior.Multiplication;
     this.nStepsNumericUpDown.Value      = new decimal(new int[] {
         10000,
         0,
         0,
         0
     });
     //
     // label19
     //
     this.label19.Anchor   = System.Windows.Forms.AnchorStyles.Right;
     this.label19.AutoSize = true;
     this.label19.Font     = CustomFonts.GetMathFont(12);
     this.label19.ImeMode  = System.Windows.Forms.ImeMode.NoControl;
     this.label19.Location = new System.Drawing.Point(3, 4);
     this.label19.Name     = "label19";
     this.label19.Size     = new System.Drawing.Size(39, 23);
     this.label19.TabIndex = 8;
     this.label19.Text     = "N =";
     //
     // NumericalCalculationsView
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSize            = true;
     this.Controls.Add(this.tableLayoutPanel1);
     this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
     this.Name   = "NumericalCalculationsView";
     this.Size   = new System.Drawing.Size(782, 400);
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.numericalCalculationsDataGridView)).EndInit();
     this.flowLayoutPanel3.ResumeLayout(false);
     this.flowLayoutPanel3.PerformLayout();
     this.intervalGroupBox.ResumeLayout(false);
     this.intervalGroupBox.PerformLayout();
     this.tableLayoutPanel2.ResumeLayout(false);
     this.tableLayoutPanel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.aIntervalNumericUpDown)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.bIntervalNumericUpDown)).EndInit();
     this.derivativeAtPointGroupBox.ResumeLayout(false);
     this.derivativeAtPointGroupBox.PerformLayout();
     this.tableLayoutPanel3.ResumeLayout(false);
     this.tableLayoutPanel3.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nOrderDerivativeNumericUpDown)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.xDerivativePointNumericUpDown)).EndInit();
     this.maxErrorGroupBox.ResumeLayout(false);
     this.maxErrorGroupBox.PerformLayout();
     this.tableLayoutPanel5.ResumeLayout(false);
     this.tableLayoutPanel5.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.epsTextBox)).EndInit();
     this.stepsGroupBox.ResumeLayout(false);
     this.stepsGroupBox.PerformLayout();
     this.tableLayoutPanel4.ResumeLayout(false);
     this.tableLayoutPanel4.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.nStepsNumericUpDown)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #15
0
ファイル: Chart2D.cs プロジェクト: uecom/Computator.NET
        private void InitializeComponent()
        {
            var chartArea1 = this.ChartAreas.Add("ChartArea1");
            var legend1    = new Legend();
            var title1     = new Title();

            chartArea1.AxisX = new Axis(chartArea1, AxisName.X)
            {
                ArrowStyle              = AxisArrowStyle.Lines,
                Crossing                = 0D,
                InterlacedColor         = Color.White,
                IsLabelAutoFit          = false,
                LabelAutoFitMaxFontSize = 13,
                LabelStyle              = new LabelStyle()
                {
                    Font = new Font("Microsoft Sans Serif", 9F, FontStyle.Regular,
                                    GraphicsUnit.Point, 238)
                },
                LineWidth = 2,
                MajorGrid = new Grid()
                {
                    LineDashStyle = ChartDashStyle.Dash
                },
                MajorTickMark = new TickMark()
                {
                    Size          = 2F,
                    TickMarkStyle = TickMarkStyle.AcrossAxis
                },
                MinorGrid = new Grid()
                {
                    Enabled       = true,
                    LineColor     = Color.DarkGray,
                    LineDashStyle = ChartDashStyle.Dot
                },
                MinorTickMark = new TickMark()
                {
                    Enabled       = true,
                    TickMarkStyle = TickMarkStyle.AcrossAxis
                },
                Title          = "X",
                TitleAlignment = StringAlignment.Far,
                TitleFont      = new Font("Microsoft Sans Serif", 18F, FontStyle.Bold, GraphicsUnit.Point, 238)
            };

            chartArea1.AxisY = new Axis(chartArea1, AxisName.Y)
            {
                ArrowStyle              = AxisArrowStyle.Lines,
                Crossing                = 0D,
                InterlacedColor         = Color.White,
                IsLabelAutoFit          = false,
                LabelAutoFitMaxFontSize = 13,
                LabelStyle              = new LabelStyle()
                {
                    Font = new Font("Microsoft Sans Serif", 9F, FontStyle.Regular,
                                    GraphicsUnit.Point, 238)
                },
                LineWidth = 2,
                MajorGrid = new Grid()
                {
                    LineDashStyle = ChartDashStyle.Dash
                },
                MajorTickMark = new TickMark()
                {
                    Size          = 2F,
                    TickMarkStyle = TickMarkStyle.AcrossAxis
                },
                MinorGrid = new Grid()
                {
                    Enabled       = true,
                    LineColor     = Color.DarkGray,
                    LineDashStyle = ChartDashStyle.Dot
                },
                MinorTickMark = new TickMark()
                {
                    Enabled       = true,
                    TickMarkStyle = TickMarkStyle.AcrossAxis
                },
                TextOrientation = TextOrientation.Horizontal,
                Title           = "Y",
                TitleAlignment  = StringAlignment.Far,
                TitleFont       = new Font("Microsoft Sans Serif", 18F, FontStyle.Bold, GraphicsUnit.Point, 238)
            };

            //By default, if I select a rectangular area using the mouse, the chart will zoom to the selected area.
            //But this is quite annoying because it is prone to false operation
            chartArea1.CursorX = new System.Windows.Forms.DataVisualization.Charting.Cursor
            {
                IsUserEnabled          = false,
                IsUserSelectionEnabled = false
            };



            legend1.Font          = CustomFonts.GetMathFont(13.8F); //new Font("Cambria", 13.8F);
            legend1.IsTextAutoFit = false;
            legend1.Name          = "Legend1";

            Legends.Add(legend1);

            //this.N = 0D;
            Name        = "chart2d";
            title1.Font = new Font("Microsoft Sans Serif", 22.2F, FontStyle.Bold, GraphicsUnit.Point, 238);
            title1.Name = "Title1";
            Titles.Add(title1);
            Dock = DockStyle.Fill;


            ChartAreas[0].AxisX.ScaleView.MinSize = 0.1;
            ChartAreas[0].AxisY.ScaleView.MinSize = 0.1;


            Legends[0].Font = CustomFonts.GetMathFont(Legends[0].Font.Size);
            const float fontsize = 17.0F;

            Font = CustomFonts.GetMathFont(fontsize);
        }
コード例 #16
0
ファイル: Chart2D.cs プロジェクト: nickheidke/Computator.NET
        private void InitializeComponent()
        {
            var chartArea1 = new ChartArea();
            var legend1    = new Legend();
            var title1     = new Title();

            chartArea1.AxisX.ArrowStyle              = AxisArrowStyle.Lines;
            chartArea1.AxisX.Crossing                = 0D;
            chartArea1.AxisX.InterlacedColor         = Color.White;
            chartArea1.AxisX.IsLabelAutoFit          = false;
            chartArea1.AxisX.LabelAutoFitMaxFontSize = 13;
            chartArea1.AxisX.LabelStyle.Font         = new Font("Microsoft Sans Serif", 9F, FontStyle.Regular,
                                                                GraphicsUnit.Point, 238);
            chartArea1.AxisX.LineWidth = 2;
            chartArea1.AxisX.MajorGrid.LineDashStyle     = ChartDashStyle.Dash;
            chartArea1.AxisX.MajorTickMark.Size          = 2F;
            chartArea1.AxisX.MajorTickMark.TickMarkStyle = TickMarkStyle.AcrossAxis;
            chartArea1.AxisX.MinorGrid.Enabled           = true;
            chartArea1.AxisX.MinorGrid.LineColor         = Color.DarkGray;
            chartArea1.AxisX.MinorGrid.LineDashStyle     = ChartDashStyle.Dot;
            chartArea1.AxisX.MinorTickMark.Enabled       = true;
            chartArea1.AxisX.MinorTickMark.TickMarkStyle = TickMarkStyle.AcrossAxis;
            chartArea1.AxisX.Title                   = "X";
            chartArea1.AxisX.TitleAlignment          = StringAlignment.Far;
            chartArea1.AxisX.TitleFont               = new Font("Microsoft Sans Serif", 18F, FontStyle.Bold, GraphicsUnit.Point, 238);
            chartArea1.AxisY.ArrowStyle              = AxisArrowStyle.Lines;
            chartArea1.AxisY.Crossing                = 0D;
            chartArea1.AxisY.InterlacedColor         = Color.White;
            chartArea1.AxisY.IsLabelAutoFit          = false;
            chartArea1.AxisY.LabelAutoFitMaxFontSize = 13;
            chartArea1.AxisY.LabelStyle.Font         = new Font("Microsoft Sans Serif", 9F, FontStyle.Regular,
                                                                GraphicsUnit.Point, 238);
            chartArea1.AxisY.LineWidth = 2;
            chartArea1.AxisY.MajorGrid.LineDashStyle     = ChartDashStyle.Dash;
            chartArea1.AxisY.MajorTickMark.Size          = 2F;
            chartArea1.AxisY.MajorTickMark.TickMarkStyle = TickMarkStyle.AcrossAxis;
            chartArea1.AxisY.MinorGrid.Enabled           = true;
            chartArea1.AxisY.MinorGrid.LineColor         = Color.DarkGray;
            chartArea1.AxisY.MinorGrid.LineDashStyle     = ChartDashStyle.Dot;
            chartArea1.AxisY.MinorTickMark.Enabled       = true;
            chartArea1.AxisY.MinorTickMark.TickMarkStyle = TickMarkStyle.AcrossAxis;
            chartArea1.AxisY.TextOrientation             = TextOrientation.Horizontal;
            chartArea1.AxisY.Title          = "Y";
            chartArea1.AxisY.TitleAlignment = StringAlignment.Far;
            chartArea1.AxisY.TitleFont      = new Font("Microsoft Sans Serif", 18F, FontStyle.Bold, GraphicsUnit.Point, 238);

            //By default, if I select a rectangular area using the mouse, the chart will zoom to the selected area.
            //But this is quite annoying because it is prone to false operation
            chartArea1.CursorX.IsUserEnabled          = false;
            chartArea1.CursorX.IsUserSelectionEnabled = false;


            chartArea1.Name = "ChartArea1";

            ChartAreas.Add(chartArea1);
            legend1.Font          = CustomFonts.GetMathFont(13.8F); //new Font("Cambria", 13.8F);
            legend1.IsTextAutoFit = false;
            legend1.Name          = "Legend1";

            Legends.Add(legend1);

            //this.N = 0D;
            Name        = "chart2d";
            title1.Font = new Font("Microsoft Sans Serif", 22.2F, FontStyle.Bold, GraphicsUnit.Point, 238);
            title1.Name = "Title1";
            Titles.Add(title1);
            Dock = DockStyle.Fill;


            ChartAreas[0].AxisX.ScaleView.MinSize = 0.1;
            ChartAreas[0].AxisY.ScaleView.MinSize = 0.1;


            Legends[0].Font = CustomFonts.GetMathFont(Legends[0].Font.Size);
            const float fontsize = 17.0F;

            Font = CustomFonts.GetMathFont(fontsize);
        }