Esempio n. 1
0
        public static void ShowInformationMessage(FrameworkElement view)
        {
            var informationViewsettings = new ModalWindowSettings
            {
                Title      = LanguageDictionary.GetValue("InformationMessage"),
                ResizeMode = ResizeMode.CanResize,
                MinWidth   = 400
            };

            ShowModal(view, ControlsCreator.GetOkButton(CloseCurrentWindowCommand));
        }
Esempio n. 2
0
        public static void ShowInformationMessage(string languageKey, params object[] items)
        {
            var informationViewsettings = new ModalWindowSettings
            {
                Title      = LanguageDictionary.GetValue("InformationMessage"),
                ResizeMode = ResizeMode.CanResize,
                MinWidth   = 400
            };
            var view = ControlsCreator.GetSimpleTextView(languageKey, informationViewsettings, items);

            ShowModal(view, ControlsCreator.GetOkButton(CloseCurrentWindowCommand));
        }
Esempio n. 3
0
 public static bool ShowModalOkCancel(FrameworkElement view)
 {
     return(ShowModal(view,
                      ControlsCreator.GetOkButton(CloseCurrentWindowCommand),
                      ControlsCreator.GetCancelButton()));
 }