public static bool?ShowInfo(Window parrent, MessageBoxButton buttons, string text)
        {
            SystemSounds.Asterisk.Play();
            MessageBoxWPF msg = new MessageBoxWPF();

            msg.ShowDialog(parrent, buttons, Properties.Resources.T005, text, SystemIcons.Information);
            return(msg.DialogResult);
        }
        public static bool?ShowError(Window parrent, MessageBoxButton buttons, string text)
        {
            SystemSounds.Hand.Play();
            MessageBoxWPF msg = new MessageBoxWPF();

            msg.ShowDialog(parrent, buttons, Properties.Resources.T007, text, SystemIcons.Error);

            return(msg.DialogResult);
        }
        public static bool?ShowWarning(Window parrent, MessageBoxButton buttons, string text)
        {
            SystemSounds.Exclamation.Play();
            MessageBoxWPF msg = new MessageBoxWPF();

            msg.ShowDialog(parrent, buttons, Properties.Resources.T006, text, SystemIcons.Warning);

            return(msg.DialogResult);
        }
        public static bool?ShowQuestion(Window parrent, MessageBoxButton buttons, string caption, string text)
        {
            SystemSounds.Asterisk.Play();
            MessageBoxWPF msg = new MessageBoxWPF();

            msg.ShowDialog(parrent, buttons, caption, text, SystemIcons.Question);

            return(msg.DialogResult);
        }