示例#1
0
文件: Program.cs 项目: snahider/SOLID
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var presenter = new ProductPresenter();
            Application.Run((Form) presenter.View);
        }
示例#2
0
文件: Form1.cs 项目: snahider/SOLID
 public void Initialize(ProductPresenter presenter)
 {
     this.presenter = presenter;
 }