internal CalculationManager(CalculatorPanel panel, CultureInfo culture) { TextBox calcTextBox = panel.calcTextBox; this.panel = panel; this.culture = culture; calcTextBox.Text = GetDefaultValue(); }
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; }