Exemple #1
0
        internal void ShowModalDialog(ShowModalDialogMessageCore message)
        {
            var dialog = new ModalDialogWindow
            {
                // TODO make generic
                DataContext   = message,
                MinWidth      = 500,
                Height        = 350,
                MinHeight     = 350,
                SizeToContent = SizeToContent.Width,
            };

            dialog.ShowDialog(this);
        }
 void OnShowModalDialog(object sender, ShowModalDialogMessageCore message)
 {
     ShowModalDialog?.Invoke(message);
 }