Exemplo n.º 1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Calculator calc = new Calculator();
            CalculatorForm calcForm = new CalculatorForm(calc);
            calc.setForm(calcForm);

            Application.Run(calcForm);
        }
Exemplo n.º 2
0
 public void setForm(CalculatorForm cf)
 {
     this.form = cf;
 }