示例#1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     PaymentWindow window = new PaymentWindow();
     WindowViewLoader viewLoader = new WindowViewLoader();
     viewLoader.LoadPaymentView();
     Application.Run(viewLoader.LastLoaderView);
 }
示例#2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            PaymentWindow    window     = new PaymentWindow();
            WindowViewLoader viewLoader = new WindowViewLoader();

            viewLoader.LoadPaymentView();
            Application.Run(viewLoader.LastLoaderView);
        }
        public void LoadPaymentView()
        {
            PaymentWindow    view    = new PaymentWindow();
            PaymentPresenter present = new PaymentPresenter(this);

            view.Presnet = present;
            present.View = view;

            LoadView(view);
        }
        public void LoadPaymentView()
        {
            PaymentWindow view = new PaymentWindow();
            PaymentPresenter present = new PaymentPresenter(this);

            view.Presnet = present;
            present.View = view;

            LoadView(view);
        }