Example #1
0
        public MainWindow()
        {
            InitializeComponent();

            store        = new Store();
            mainPage     = new MainPage(this);
            addEntryPage = new AddEntryPage(this);
            presenter    = new EntryPagePresenter(mainPage, addEntryPage, store);
            Main.Content = mainPage;
        }
Example #2
0
 public EntryPagePresenter(MainPage mainPage, AddEntryPage entryPage, Store store)
 {
     this.mainPage  = mainPage;
     this.entryPage = entryPage;
     this.store     = store;
 }