예제 #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();
            }
        }
예제 #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();
            }
        }