Exemple #1
0
        public bool Initialize()
        {
            if (DataContext == null)
            {
                return(false);
            }

            Presenter = DataContext as PayItPresenter;
            if (Presenter == null)
            {
                return(false);
            }

            return(true);
        }
 public MainWindow()
 {
     InitializeComponent();
     Presenter   = new PayItPresenter();
     DataContext = Presenter;
 }