private void LaunchHomeScreen()
{
this.window = new UIWindow(UIScreen.MainScreen.Bounds);
this.viewController = new HomeScreen(this.imageDataPath, this.masterImagePath);
this.deviceScale = (int)UIScreen.MainScreen.Scale;
this.viewController.PaintSelected += (sender, e) => {
this.EditImage(e.PictureId);
};
this.viewController.PlaybackSelected += (sender, e) => {
this.PlaybackImage(e.PictureId);
};
this.viewController.NewImageLandscapeSelected += (sender, e) => {
this.NewImage(PictureOrientation.Landscape);
};
this.viewController.NewImagePortraitSelected += (sender, e) => {
this.NewImage(PictureOrientation.Portrait);
};
this.CheckInitialInstallation();
this.window.RootViewController = viewController;
this.window.MakeKeyAndVisible();
}