Esempio n. 1
0
        private static void ShowState(SentState sentState)
        {
            WPFInformationMessage w = new WPFInformationMessage(sentState.IsOk ? "Успех!" : "Ошибка!", sentState.Message);

            w.ShowDialog();
        }
Esempio n. 2
0
        private static void ShowState(bool isOk, string Message)
        {
            WPFInformationMessage w = new WPFInformationMessage(isOk ? "Успех!" : "Ошибка!", Message);

            w.ShowDialog();
        }