private void Calc_DidUpdateValue(Calculator sender, double value, int precision)
 {
     output.Text = value.ToString();
 }
 public MainWindow()
 {
     InitializeComponent();
     calc = new Calculator();
     calc.DidUpdateValue += Calc_DidUpdateValue;
 }