Пример #1
0
        public EmailDialog(string message)
        {
            WindowStyle = WindowStyle.ToolWindow;
            Height = Width = 600;
            Title = "Email";
            Background = Window2.ChangeBackgroundColor(Colors.BlanchedAlmond);


            if (File.Exists("MailServerInfo"))
            {
                CreateMailUi(message);
                ShowDialog();
            }
            else
            {
                var msd = new MailSettingsDialog();
                msd.Show();
            }
        }
Пример #2
0
        public EmailDialog(string message)
        {
            WindowStyle = WindowStyle.ToolWindow;
            Height      = Width = 600;
            Title       = "Email";
            Background  = Window2.ChangeBackgroundColor(Colors.BlanchedAlmond);


            if (File.Exists("MailServerInfo"))
            {
                CreateMailUi(message);
                ShowDialog();
            }
            else
            {
                var msd = new MailSettingsDialog();
                msd.Show();
            }
        }