void ShowUploadedDialog() { if (uploadedDialog == null) { uploadedDialog = new InformationDialog(Screen) { Message = new TextBlock(Screen) { Text = Strings.DemoBlocksUploadedInformation, HorizontalAlignment = HorizontalAlignment.Left, ForegroundColor = Color.White, BackgroundColor = Color.Black } }; } uploadedDialog.Show(); }
void OnConfirmInstallDialogClosed(object sender, EventArgs e) { if (confirmInstallDialog.Result == MessageBoxResult.OK) { viewModel.InstallDemoContents(); if (installedDialog == null) { installedDialog = new InformationDialog(Screen) { Message = new TextBlock(Screen) { Text = Strings.DemoBlocksInstalledInformation, HorizontalAlignment = HorizontalAlignment.Left, ForegroundColor = Color.White, BackgroundColor = Color.Black } }; } installedDialog.Show(); } }
void ShowUploadedDialog() { if (uploadedDialog == null) { uploadedDialog = new InformationDialog(Screen) { Message = new TextBlock(Screen) { Text = Strings.DemoBlocksUploadedInformation, HorizontalAlignment = HorizontalAlignment.Left, ForegroundColor = Color.White, BackgroundColor = Color.Black } }; } uploadedDialog.Show(); }
void OnConfirmInstallDialogClosed(object sender, EventArgs e) { if (confirmInstallDialog.Result == MessageBoxResult.OK) { viewModel.InstallDemoContents(); if (installedDialog == null) { installedDialog = new InformationDialog(Screen) { Message = new TextBlock(Screen) { Text = Strings.DemoBlocksInstalledInformation, HorizontalAlignment = HorizontalAlignment.Left, ForegroundColor = Color.White, BackgroundColor = Color.Black } }; } installedDialog.Show(); } }