static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); PaymentWindow window = new PaymentWindow(); WindowViewLoader viewLoader = new WindowViewLoader(); viewLoader.LoadPaymentView(); Application.Run(viewLoader.LastLoaderView); }
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); }