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

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