Exemplo n.º 1
0
 public MainWindowViewModel()
 {
     _itemsManager = new LanguageProfileItemsManager();
     CreateProfileMenuItems();
     OptionsCommand       = ShowOptionsDialogCommand();
     _openedOptionsDialog = null;
 }
Exemplo n.º 2
0
        public OptionsViewModel(LanguageProfileItemsManager itemsManager, Options optionsDialog)
        {
            _itemsManager  = itemsManager;
            _optionsDialog = optionsDialog;

            CreateNewProfileCommand = CreateNewProfile();
            RenameProfileCommand    = RenameProfile();
            RemoveProfileCommand    = RemoveProfile();
        }