public ConnectSQLServerDialogWindow() { this.Title = "Add SQL Server"; viewModel = new ConnectSQLServerDialogViewModel() { OnCancel = OnCancel, OnConfirm = OnConfirm }; ConfigureWindowProperties(); }
public ConnectSQLServerDialogWindow(DatabaseServer server) { this.Title = "Edit SQL Server"; viewModel = new ConnectSQLServerDialogViewModel(server) { OnCancel = OnCancel, OnConfirm = OnConfirm }; ConfigureWindowProperties(); }
public ConnectSQLServerDialogView(ConnectSQLServerDialogViewModel viewModel) { InitializeComponent(); DataContext = viewModel; }