private void OnOkButtonClicked(object sender, RoutedEventArgs e) { LocalBackendFacilities backendFacilities = (LocalBackendFacilities)BackendFacilitiesRef.Get(); backendFacilities.dataBaseFilePath = localDataBaseFilePathTextBox.Text; Close(); }
private void OnOkButtonClicked(object sender, RoutedEventArgs e) { LocalBackendFacilities backendFacilities = (LocalBackendFacilities)BackendFacilitiesRef.Get(); if (state == State.OPEN) { backendFacilities.dataBaseFilePath = openDBFileTextBox.Text; } else if (state == State.CREATE) { } Close(); MainWindow.instance.Show(); }