Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / WebControls / ObjectDataSourceWizardForm.cs / 1 / ObjectDataSourceWizardForm.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.WebControls { using System; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Design; using System.Diagnostics; using System.Drawing; using System.Windows.Forms; using System.Web.UI.Design.Util; using System.Web.UI.WebControls; ////// The ObjectDataSource configuration wizard. This guides the user through /// the type chooser panel and the method chooser panel and helps to /// associate parameters. /// internal sealed class ObjectDataSourceWizardForm : WizardForm { private ObjectDataSourceDesigner _objectDataSourceDesigner; private ObjectDataSource _objectDataSource; private ObjectDataSourceConfigureParametersPanel _parametersPanel; ////// Creates a new ObjectDataSourceWizardForm. /// public ObjectDataSourceWizardForm(IServiceProvider serviceProvider, ObjectDataSourceDesigner objectDataSourceDesigner) : base(serviceProvider) { Glyph = new Bitmap(typeof(SqlDataSourceWizardForm), "datasourcewizard.bmp"); //Icon = new Icon(typeof(LibraryBuilderForm), "LibraryBuilder.ico"); _objectDataSourceDesigner = objectDataSourceDesigner; Debug.Assert(_objectDataSourceDesigner != null); _objectDataSource = (ObjectDataSource)_objectDataSourceDesigner.Component; Debug.Assert(_objectDataSource != null); Text = SR.GetString(SR.ConfigureDataSource_Title, _objectDataSource.ID); ObjectDataSourceChooseTypePanel typePanel = new ObjectDataSourceChooseTypePanel(_objectDataSourceDesigner); ObjectDataSourceChooseMethodsPanel methodsPanel = new ObjectDataSourceChooseMethodsPanel(_objectDataSourceDesigner); // Adds the panels to the wizard SetPanels(new WizardPanel[] { typePanel, methodsPanel, }); _parametersPanel = new ObjectDataSourceConfigureParametersPanel(_objectDataSourceDesigner); RegisterPanel(_parametersPanel); } protected override string HelpTopic { get { return "net.Asp.ObjectDataSource.ConfigureDataSource"; } } internal ObjectDataSourceConfigureParametersPanel GetParametersPanel() { _parametersPanel.ResetUI(); return _parametersPanel; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ExpandoClass.cs
- Environment.cs
- CodeCompiler.cs
- UIInitializationException.cs
- ActiveDocumentEvent.cs
- ConfigXmlWhitespace.cs
- LinkGrep.cs
- GridViewUpdateEventArgs.cs
- documentsequencetextpointer.cs
- FixedTextSelectionProcessor.cs
- CorrelationKeyCalculator.cs
- QilName.cs
- TransactionTraceIdentifier.cs
- Clipboard.cs
- SelectionEditor.cs
- ServiceEndpointCollection.cs
- DataError.cs
- Input.cs
- MarkupCompilePass2.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- NavigateEvent.cs
- RenderData.cs
- PreviousTrackingServiceAttribute.cs
- GeometryGroup.cs
- SqlInternalConnectionSmi.cs
- SerializationFieldInfo.cs
- OleDbSchemaGuid.cs
- EventLogEntryCollection.cs
- XPathDescendantIterator.cs
- HttpContext.cs
- ContractNamespaceAttribute.cs
- ThousandthOfEmRealPoints.cs
- XmlCountingReader.cs
- DockPanel.cs
- HandledMouseEvent.cs
- ExpressionEditorAttribute.cs
- RootNamespaceAttribute.cs
- Transform3D.cs
- filewebrequest.cs
- UniqueEventHelper.cs
- FilteredAttributeCollection.cs
- StaticSiteMapProvider.cs
- ExtensibleClassFactory.cs
- TrustLevel.cs
- Decimal.cs
- CodeSnippetExpression.cs
- ProviderSettingsCollection.cs
- IncrementalReadDecoders.cs
- TypeBinaryExpression.cs
- ObservableDictionary.cs
- QuaternionRotation3D.cs
- SimpleWebHandlerParser.cs
- httpserverutility.cs
- TaskbarItemInfo.cs
- PerformanceCounterPermissionEntry.cs
- CommonProperties.cs
- MetadataArtifactLoaderResource.cs
- PrefixHandle.cs
- MetadataItemSerializer.cs
- AssemblyNameUtility.cs
- ProfileInfo.cs
- DocumentsTrace.cs
- OptimalTextSource.cs
- FixedFlowMap.cs
- QuaternionAnimation.cs
- WindowsGrip.cs
- NegotiateStream.cs
- NativeMethods.cs
- SessionStateUtil.cs
- XmlToDatasetMap.cs
- ListViewHitTestInfo.cs
- OdbcConnection.cs
- BoolExpr.cs
- RuntimeIdentifierPropertyAttribute.cs
- EntityCommandExecutionException.cs
- ProfileBuildProvider.cs
- RowUpdatingEventArgs.cs
- selecteditemcollection.cs
- ArrangedElement.cs
- PolicyLevel.cs
- XmlAnyElementAttributes.cs
- OleServicesContext.cs
- SchemaImporter.cs
- SRef.cs
- SiteMapNode.cs
- ComPlusServiceLoader.cs
- PageClientProxyGenerator.cs
- AsymmetricSignatureDeformatter.cs
- DataGridViewCellValidatingEventArgs.cs
- UInt16.cs
- DecimalFormatter.cs
- Parser.cs
- indexingfiltermarshaler.cs
- DateRangeEvent.cs
- MediaElement.cs
- COM2ExtendedUITypeEditor.cs
- XmlSubtreeReader.cs
- DataViewSettingCollection.cs
- HighlightOverlayGlyph.cs
- TextTreeTextBlock.cs