示例#1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var temperatureConverter = new TemperatureConverter();
            var controller           = new TemperatureController(temperatureConverter);
            var view = new TemperatureView(controller);

            controller.SetView(view);

            Application.Run(view);
        }