Exemplo n.º 1
0
 public static LoggingWindow getInstance()
 {
     if (obj == null)
     {
         obj = new LoggingWindow();
     }
     return(obj);
 }
Exemplo n.º 2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            IView view = LoggingWindow.getInstance();

            Model.Model model     = new Model.Model();
            Presenter   presenter = new Presenter(view, model);

            Application.Run((Form)view);
        }