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
- TransformerInfo.cs
- TreeNodeStyleCollection.cs
- VerificationException.cs
- DataServiceKeyAttribute.cs
- ResizeBehavior.cs
- DependsOnAttribute.cs
- WindowsRichEdit.cs
- ServiceOperationListItemList.cs
- FormsAuthenticationModule.cs
- TemplateBindingExpression.cs
- ConfigurationLoader.cs
- SoapAttributeAttribute.cs
- StreamMarshaler.cs
- OraclePermission.cs
- FormattedTextSymbols.cs
- EnumValAlphaComparer.cs
- SerializationHelper.cs
- DesignerOptionService.cs
- Internal.cs
- SqlSelectStatement.cs
- ThreadSafeMessageFilterTable.cs
- EventEntry.cs
- VBIdentifierDesigner.xaml.cs
- TabPanel.cs
- HtmlFormWrapper.cs
- httpserverutility.cs
- ParameterReplacerVisitor.cs
- AssertFilter.cs
- CodeTypeMember.cs
- Wizard.cs
- CookielessHelper.cs
- UnitySerializationHolder.cs
- XPathDescendantIterator.cs
- XmlCodeExporter.cs
- ObjectDataSource.cs
- ApplyImportsAction.cs
- EdgeProfileValidation.cs
- LogLogRecordHeader.cs
- StringCollection.cs
- BitmapDecoder.cs
- Scripts.cs
- InternalRelationshipCollection.cs
- SecureUICommand.cs
- EpmCustomContentDeSerializer.cs
- NumberFunctions.cs
- ReferencedAssembly.cs
- GuidConverter.cs
- DataGridViewColumnEventArgs.cs
- MultiBindingExpression.cs
- ExpressionPrinter.cs
- WsrmFault.cs
- ProtocolException.cs
- EntityChangedParams.cs
- _Win32.cs
- MessageCredentialType.cs
- RadioButtonList.cs
- MatrixAnimationBase.cs
- VisualStateChangedEventArgs.cs
- ProfileService.cs
- ClusterSafeNativeMethods.cs
- StringExpressionSet.cs
- IndicShape.cs
- ConfigurationValidatorBase.cs
- ToolboxDataAttribute.cs
- SiteMapNodeCollection.cs
- EmissiveMaterial.cs
- DBParameter.cs
- ServiceContractGenerationContext.cs
- DataPagerFieldItem.cs
- ClientSponsor.cs
- Literal.cs
- NameValueFileSectionHandler.cs
- HybridDictionary.cs
- ThreadAbortException.cs
- CqlIdentifiers.cs
- RemoveStoryboard.cs
- RequiredFieldValidator.cs
- TimersDescriptionAttribute.cs
- CustomTrackingRecord.cs
- FileStream.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- UnknownWrapper.cs
- HttpHandlerAction.cs
- ControllableStoryboardAction.cs
- StyleCollection.cs
- RepeatInfo.cs
- SapiRecoInterop.cs
- KeyEvent.cs
- updateconfighost.cs
- AssemblyAssociatedContentFileAttribute.cs
- FolderNameEditor.cs
- DataTemplateKey.cs
- DataAdapter.cs
- XmlLanguageConverter.cs
- DesignerEventService.cs
- SmiConnection.cs
- keycontainerpermission.cs
- Geometry.cs
- EntitySetDataBindingList.cs
- MdiWindowListItemConverter.cs