Ejemplo n.º 1
0
 public static WPFMessageBoxResult Show(string question)
 {
     MessageBoxQuestion mbq = new MessageBoxQuestion(LanguageDictionary.Current.Translate<string>("wtQ", "Text","Question"), 
                                                     question,
                                                     LanguageDictionary.Current.Translate<string>("bqYes", "Text","Yes"),
                                                     LanguageDictionary.Current.Translate<string>("bqNo", "Text","No"));
     mbq.ShowDialog();
     return mbq.Result;
 }
Ejemplo n.º 2
0
 public static WPFMessageBoxResult Show(string t,string q, string yes, string no)
 {
     MessageBoxQuestion mbq = new MessageBoxQuestion(t, q, yes, no);
     mbq.ShowDialog();
     return mbq.Result;
 }