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