public MailServerConfigurationWindow(string title, string smtp, string imap) { InitializeComponent(); DataContext = new ServerConfigurationViewModel(this, title, smtp, imap); }
public MailServerConfigurationWindow() { InitializeComponent(); DataContext = new ServerConfigurationViewModel(this); }