Code:
/ DotNET / DotNET / 8.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
- DeploymentSection.cs
- DesignerDataColumn.cs
- TableItemStyle.cs
- VerificationException.cs
- ServiceKnownTypeAttribute.cs
- DataService.cs
- CanonicalFormWriter.cs
- CustomErrorsSection.cs
- controlskin.cs
- TraceHandler.cs
- IntPtr.cs
- OdbcReferenceCollection.cs
- RegionIterator.cs
- ListViewDataItem.cs
- TabControlToolboxItem.cs
- ToolStripContentPanel.cs
- CriticalExceptions.cs
- PackagingUtilities.cs
- AuthenticationService.cs
- ControlTemplate.cs
- CodeSnippetExpression.cs
- DashStyle.cs
- _NativeSSPI.cs
- FormClosingEvent.cs
- BuildResult.cs
- MimeObjectFactory.cs
- _UncName.cs
- ResolveCriteria.cs
- DbConnectionStringBuilder.cs
- FixUpCollection.cs
- RoutedEventHandlerInfo.cs
- KeyedPriorityQueue.cs
- X509UI.cs
- RegisteredExpandoAttribute.cs
- ExpandCollapsePattern.cs
- ResolveCriteria.cs
- Vector3DCollectionConverter.cs
- ContextStack.cs
- CriticalHandle.cs
- ScrollItemPatternIdentifiers.cs
- JsonServiceDocumentSerializer.cs
- FileVersionInfo.cs
- ToolStripContentPanelRenderEventArgs.cs
- PropertyMap.cs
- Pen.cs
- JoinTreeSlot.cs
- TextViewElement.cs
- WindowsFormsHostPropertyMap.cs
- Constraint.cs
- ExtensionDataObject.cs
- CodeCatchClauseCollection.cs
- ListControlDataBindingHandler.cs
- TypeGeneratedEventArgs.cs
- EndEvent.cs
- PeerServiceMessageContracts.cs
- DropSource.cs
- DirtyTextRange.cs
- HttpChannelBindingToken.cs
- LoginUtil.cs
- VirtualizingPanel.cs
- QilReference.cs
- RequestSecurityToken.cs
- AppDomainFactory.cs
- ParentQuery.cs
- ViewManager.cs
- ObjectStateEntryDbDataRecord.cs
- RegisteredHiddenField.cs
- DescendantQuery.cs
- TypeSystemProvider.cs
- AsyncOperationManager.cs
- WebBrowserNavigatedEventHandler.cs
- ValueConversionAttribute.cs
- DeploymentSection.cs
- OdbcReferenceCollection.cs
- NumberFunctions.cs
- DoubleCollection.cs
- SemanticResolver.cs
- ApplyTemplatesAction.cs
- SystemSounds.cs
- ReflectionTypeLoadException.cs
- ToolBarTray.cs
- ServiceInstallComponent.cs
- Relationship.cs
- RegionData.cs
- HighContrastHelper.cs
- UTF32Encoding.cs
- GenericTextProperties.cs
- ViewStateException.cs
- EntitySqlQueryCacheKey.cs
- UniqueConstraint.cs
- XmlElement.cs
- XmlSchemaDocumentation.cs
- QueryGeneratorBase.cs
- WorkflowHostingResponseContext.cs
- DeviceContext.cs
- Mapping.cs
- SchemaNotation.cs
- DataControlFieldCell.cs
- HexParser.cs
- SystemSounds.cs