public ConnectionBox(ConnectionAndErrorVIewModel vm) { InitializeComponent(); cevm = vm; DataContext = cevm; portSection.Text = ConfigurationManager.AppSettings.Get("Port"); ipSection.Text = ConfigurationManager.AppSettings.Get("IP"); }
public ErrorBox(ConnectionAndErrorVIewModel vm) { InitializeComponent(); cevm = vm; DataContext = cevm; }