Exemple #1
0
        private void OnConversionProfilesViewOnCurrentChanged(object sender, EventArgs e)
        {
            UpdateTabControls(ViewModel.CurrentProfile);

            if (ViewModel.CurrentProfile != null)
            {
                DocumentTabUserControl.UpdateFontLabel(ViewModel.CurrentProfile.Stamping);
            }
        }
Exemple #2
0
        public ProfileSettingsWindow(PdfCreatorSettings settings, GpoSettings gpoSettings)
        {
            InitializeComponent();
            ViewModel = CreateViewModel(settings, gpoSettings);

            ViewModel.ConversionProfilesView.CurrentChanged += OnConversionProfilesViewOnCurrentChanged;
            ViewModel.CurrentProfilePropertyChanged();

            AddActions();

            UpdateTabControls(ViewModel.CurrentProfile);

            if (ViewModel.CurrentProfile != null)
            {
                DocumentTabUserControl.UpdateFontLabel(ViewModel.CurrentProfile.Stamping);
            }
        }