private void InitializePopUpDialog()
 {
     AppTextBlock.Text = DialogHelper.GetLabelText(_dto.SolutionDirectory, _dto.TempDirectory, _generatorName, _dto.RegularProjectName);
     BtnOkay.Content   = DialogHelper.Okay;
     BtnOkay.Focus();
     HasMaximizeButton     = true;
     HasMinimizeButton     = true;
     ResizeMode            = ResizeMode.CanResize;
     SizeToContent         = SizeToContent.WidthAndHeight;
     Title                 = _extensionName;
     WindowStartupLocation = WindowStartupLocation.CenterScreen;
 }
Exemplo n.º 2
0
 private void ToastForm_Load(object sender, EventArgs e)
 {
     FadeIn();
     BtnOkay.Focus();
 }