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

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

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

            LoadView(view);
        }
Exemplo n.º 4
0
        public void LoadPaymentView()
        {
            PaymentWindow view = new PaymentWindow();
            PaymentPresenter present = new PaymentPresenter(this);

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

            LoadView(view);
        }