Esempio n. 1
0
        internal CalculationManager(CalculatorPanel panel, CultureInfo culture)
        {
            TextBox calcTextBox = panel.calcTextBox;

            this.panel       = panel;
            this.culture     = culture;
            calcTextBox.Text = GetDefaultValue();
        }
Esempio n. 2
0
        internal static void ApplyNewFont(Form1 form, Font newFont)
        {
            NotePanel       notePanel       = form.notePanel;
            CalculatorPanel calculatorPanel = form.calculatorPanel;

            notePanel.nodeTextTextBox.Font  = newFont;
            notePanel.noteTitleTextBox.Font = newFont;

            calculatorPanel.calcTextBox.Font        = newFont;
            calculatorPanel.calculationTextBox.Font = newFont;
        }