Exemplo n.º 1
0
        public EmailDialog(string message)
        {
            this.WindowStyle = WindowStyle.ToolWindow;
            this.Height = this.Width = 600;
            this.Title = "Email";
            this.Background = Window2.ChangeBackgroundColor(Colors.BlanchedAlmond);

            if (File.Exists("MailServerInfo"))
            {
                CreateMailUI(message);
                this.ShowDialog();
            }
            else
            {
                MailSettingsDialog msd = new MailSettingsDialog();
                msd.Show();
            }
        }
Exemplo n.º 2
0
        public EmailDialog(string message)
        {
            this.WindowStyle = WindowStyle.ToolWindow;
            this.Height      = this.Width = 600;
            this.Title       = "Email";
            this.Background  = Window2.ChangeBackgroundColor(Colors.BlanchedAlmond);



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