public NounDeclensionControl() { InitializeComponent(); if (!DesignerProperties.GetIsInDesignMode(this)) { _databaseManager = new DatabaseManager(); ResetWithNewNoun(); } }
public PersonalPronounVocabControl() { InitializeComponent(); if (!DesignerProperties.GetIsInDesignMode(this)) { _databaseManager = new DatabaseManager(); ResetWithNewPersonalPronoun(); } }
public VerbConjugationControl() { InitializeComponent(); if (!DesignerProperties.GetIsInDesignMode(this)) { _databaseManager = new DatabaseManager(); ResetWithNewVerb(); } }
public VocabControl() { InitializeComponent(); if (!DesignerProperties.GetIsInDesignMode(this)) { _databaseManager = new DatabaseManager(); StudyGroupComboBox.ItemsSource = _databaseManager.GetVocabStudyGroups(); StudyGroupComboBox.DisplayMemberPath = "GroupName"; StudyGroupComboBox.SelectedIndex = 0; ResetWithNewVocab(); } }