public PicturesPage() { var pictureStore = new SQLitePicturePosts(DependencyService.Get <ISQLiteDB>()); var pageService = new PageService(); ViewModel = new PicturesPageViewModel(pictureStore, pageService); InitializeComponent(); }
public LearnModePage() { ThemeController.RefreshTheme(MyTheme); this.InitializeComponent(); this.DataContext = ViewModel = new PicturesPageViewModel(); Loaded += LearnModePage_Loaded; inkCanvas.InkPresenter.InputDeviceTypes = Windows.UI.Core.CoreInputDeviceTypes.Mouse | Windows.UI.Core.CoreInputDeviceTypes.Touch | Windows.UI.Core.CoreInputDeviceTypes.Pen; }