/// <summary> /// Ctor, creates a new <see cref="SimpleKeyboardViewModel"/>. /// </summary> /// <param name="wizardManager">The wizard manager</param> public KeyboardProfileViewModel( IKeyboardEditorRoot root, WizardManager wizardManager ) : base(root, wizardManager, false) { _viemModel = new SimpleKeyboardViewModel(); _backupFileName = ""; Title = R.KeyboardProfileTitle; Description = R.KeyboardProfileDesc; }
/// <summary> /// Ctor /// </summary> /// <param name="wizardManager">The wizard manager</param> /// <param name="model">The keyboard to create or modify</param> public KeyboardProfileViewModel( IKeyboardEditorRoot root, WizardManager wizardManager, IKeyboard model ) : base(root, wizardManager, false) { _model = model; _viemModel = new SimpleKeyboardViewModel( model ); _backupFileName = Root.BackupKeyboard( model ); Title = R.KeyboardProfileTitle; Description = R.KeyboardProfileDesc; }