Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridTablesFactory.cs / 1305376 / DataGridTablesFactory.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Text; using System.Runtime.Remoting; using System.Diagnostics; using System; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using Microsoft.Win32; ////// /// public sealed class GridTablesFactory { // private static DataTableComparer dtComparer = new DataTableComparer(); // not creatable... // private GridTablesFactory() { } ///[To be supplied.] ////// /// Takes a DataView and creates an intelligent mapping of /// DataView storage types into available DataColumn types. /// public static DataGridTableStyle[] CreateGridTables(DataGridTableStyle gridTable, object dataSource, string dataMember, BindingContext bindingManager) { return new DataGridTableStyle[] {gridTable}; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Text; using System.Runtime.Remoting; using System.Diagnostics; using System; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using Microsoft.Win32; ////// /// public sealed class GridTablesFactory { // private static DataTableComparer dtComparer = new DataTableComparer(); // not creatable... // private GridTablesFactory() { } ///[To be supplied.] ////// /// Takes a DataView and creates an intelligent mapping of /// DataView storage types into available DataColumn types. /// public static DataGridTableStyle[] CreateGridTables(DataGridTableStyle gridTable, object dataSource, string dataMember, BindingContext bindingManager) { return new DataGridTableStyle[] {gridTable}; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DictionaryGlobals.cs
- SpotLight.cs
- EntryPointNotFoundException.cs
- SelectQueryOperator.cs
- TypeUnloadedException.cs
- RelatedView.cs
- ClassImporter.cs
- CustomErrorCollection.cs
- TableMethodGenerator.cs
- FormsAuthentication.cs
- TemplateBaseAction.cs
- WebPartManager.cs
- exports.cs
- OleDbRowUpdatingEvent.cs
- HandlerFactoryCache.cs
- RtType.cs
- MemberInfoSerializationHolder.cs
- Utils.cs
- CodeCommentStatement.cs
- DiagnosticStrings.cs
- EventSetter.cs
- ExpressionVisitor.cs
- UserControlBuildProvider.cs
- FontEmbeddingManager.cs
- DBParameter.cs
- ChtmlMobileTextWriter.cs
- ObjectQuery_EntitySqlExtensions.cs
- RectangleGeometry.cs
- ReaderWriterLock.cs
- IsolationInterop.cs
- EmissiveMaterial.cs
- DiscoveryClientDuplexChannel.cs
- Matrix3DConverter.cs
- BoundingRectTracker.cs
- ValidationErrorEventArgs.cs
- DetailsViewRow.cs
- SqlDesignerDataSourceView.cs
- Identity.cs
- StreamResourceInfo.cs
- WorkflowCommandExtensionItem.cs
- ActivityExecutionFilter.cs
- PersonalizableTypeEntry.cs
- WebServiceResponse.cs
- PrivateFontCollection.cs
- IPAddressCollection.cs
- BaseCodeDomTreeGenerator.cs
- CornerRadiusConverter.cs
- Int16AnimationBase.cs
- ContentValidator.cs
- VerificationException.cs
- MetadataArtifactLoaderResource.cs
- Transform.cs
- ClientSideQueueItem.cs
- TransformerInfoCollection.cs
- FieldAccessException.cs
- SmiGettersStream.cs
- cache.cs
- HttpWriter.cs
- GeometryCombineModeValidation.cs
- _DisconnectOverlappedAsyncResult.cs
- MembershipValidatePasswordEventArgs.cs
- ProxySimple.cs
- SqlHelper.cs
- OracleRowUpdatingEventArgs.cs
- SemanticAnalyzer.cs
- XhtmlBasicPanelAdapter.cs
- BitmapFrameEncode.cs
- GridViewColumn.cs
- ClientRuntimeConfig.cs
- ObjectStateFormatter.cs
- SubMenuStyleCollection.cs
- Sentence.cs
- ClientData.cs
- CutCopyPasteHelper.cs
- DataControlImageButton.cs
- MouseEvent.cs
- OleDbException.cs
- FeatureSupport.cs
- _StreamFramer.cs
- BinaryObjectWriter.cs
- ValuePattern.cs
- Parameter.cs
- DesignerOptionService.cs
- TextTrailingWordEllipsis.cs
- XmlSchemaGroupRef.cs
- OpCopier.cs
- InputChannelAcceptor.cs
- TextServicesDisplayAttribute.cs
- DataGridItem.cs
- ListViewUpdateEventArgs.cs
- AsymmetricSignatureFormatter.cs
- AppearanceEditorPart.cs
- TrailingSpaceComparer.cs
- GridViewPageEventArgs.cs
- FirewallWrapper.cs
- PtsCache.cs
- PtsPage.cs
- AuthenticatingEventArgs.cs
- MatcherBuilder.cs
- WindowsFormsHost.cs