public static bool Show(string msg, bool allowDontShow)
 {
     SuppImproveDialog dlg = new SuppImproveDialog();
     dlg.tbMessage.Text = msg;
     dlg.cbxDontShowAgain.Visibility = allowDontShow ? Visibility.Visible : Visibility.Hidden;
     dlg.ShowDialog();
     return dlg.cbxDontShowAgain.IsChecked.Value;
 }
        public static bool Show(string msg, bool allowDontShow)
        {
            SuppImproveDialog dlg = new SuppImproveDialog();

            dlg.tbMessage.Text = msg;
            dlg.cbxDontShowAgain.Visibility = allowDontShow ? Visibility.Visible : Visibility.Hidden;
            dlg.ShowDialog();
            return(dlg.cbxDontShowAgain.IsChecked.Value);
        }