private void AddPhraseCategory()
        {
            var frm = new AddPhraseCategory();

            frm.Owner = this.FindParentWindow();
            frm.WindowStartupLocation = WindowStartupLocation.CenterOwner;
            if (frm.ShowDialog().ValueOrFalse())
            {
                ReloadModel();
            }
        }
Exemple #2
0
 private void AddPhraseCategory()
 {
     var frm = new AddPhraseCategory();
     frm.Owner = this.FindParentWindow();
     frm.WindowStartupLocation = WindowStartupLocation.CenterOwner;
     if (frm.ShowDialog().ValueOrFalse()) {
         ReloadModel();
     }
 }