Esempio n. 1
0
        /// <summary>
        /// DrawTextBoxes Method for drawing the textboxes of the tab
        /// </summary>
        public override void DrawTextBoxes()
        {
            TextBoxes = new GridTextBox[] { new GridTextBox("EquationTextBox", 740, 250, new Thickness(10, 30, 10, 230)) };

            foreach (GridTextBox textBox in TextBoxes)
            {
                ParentGrid.Children.Add(textBox.TextBox);
                ParentGrid.Children.Add(textBox.TextBoxLabel.Label);
            }
        }
Esempio n. 2
0
        /// <summary>
        /// DrawTextBoxes Method for drawing the textboxes of the tab
        /// </summary>
        public override void DrawTextBoxes()
        {
            TextBoxes = new GridTextBox[]
            {
                new GridTextBox("Function", 641, 30, new Thickness(87, 480, 32, 10), "f(x) = ", 60, 30, new Thickness(20, 480, 680, 10), 12, HorizontalAlignment.Left, VerticalAlignment.Top)
            };

            foreach (GridTextBox textBox in TextBoxes)
            {
                ParentGrid.Children.Add(textBox.TextBox);
                ParentGrid.Children.Add(textBox.TextBoxLabel.Label);
            }
        }
Esempio n. 3
0
        /// <summary>
        /// DrawTextBoxes Method for drawing the textboxes of the tab
        /// </summary>s
        public override void DrawTextBoxes()
        {
            TextBoxes = new GridTextBox[]
            {
                new GridTextBox("N", 320, 40, new Thickness(55, 105, 385, 420), "n =", 40, 40, new Thickness(10, 105, 710, 420)),
                new GridTextBox("X0", 325, 40, new Thickness(425, 105, 10, 420), "x0 =", 40, 40, new Thickness(380, 105, 340, 420))
            };

            foreach (GridTextBox textBox in TextBoxes)
            {
                ParentGrid.Children.Add(textBox.TextBox);
                ParentGrid.Children.Add(textBox.TextBoxLabel.Label);
            }
        }