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
- HostedImpersonationContext.cs
- SelectionRange.cs
- Int64AnimationUsingKeyFrames.cs
- HttpSessionStateBase.cs
- IntSecurity.cs
- SqlConnectionPoolProviderInfo.cs
- TextTreePropertyUndoUnit.cs
- MimeParameterWriter.cs
- HttpCookiesSection.cs
- ProcessHost.cs
- BinaryUtilClasses.cs
- NavigationProperty.cs
- TextEditorMouse.cs
- SchemaTypeEmitter.cs
- BordersPage.cs
- TextSpan.cs
- RotateTransform.cs
- RangeValueProviderWrapper.cs
- AmbientLight.cs
- DataGridViewDataErrorEventArgs.cs
- DbConnectionStringCommon.cs
- LinqDataSourceView.cs
- ParsedAttributeCollection.cs
- SqlDataRecord.cs
- PropertyOverridesDialog.cs
- SafeFindHandle.cs
- BamlTreeNode.cs
- FreeFormDesigner.cs
- RowUpdatedEventArgs.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- HeaderPanel.cs
- DSACryptoServiceProvider.cs
- ComponentRenameEvent.cs
- Triangle.cs
- UniqueEventHelper.cs
- XmlCountingReader.cs
- LogManagementAsyncResult.cs
- TabItemWrapperAutomationPeer.cs
- DBSqlParserTable.cs
- VectorAnimationBase.cs
- DirectionalLight.cs
- XmlSchemaParticle.cs
- ApplicationContext.cs
- WindowsGraphics2.cs
- DSASignatureFormatter.cs
- connectionpool.cs
- DynamicMethod.cs
- PTConverter.cs
- Control.cs
- CollectionDataContract.cs
- ModelService.cs
- ComponentResourceKey.cs
- OutputCacheSection.cs
- Set.cs
- Shape.cs
- WebPartEventArgs.cs
- ColorAnimationUsingKeyFrames.cs
- XamlTypeMapperSchemaContext.cs
- XmlCDATASection.cs
- LinkClickEvent.cs
- ClaimTypes.cs
- SystemGatewayIPAddressInformation.cs
- TypeLoadException.cs
- QilLoop.cs
- WindowsSecurityTokenAuthenticator.cs
- ItemsControlAutomationPeer.cs
- Fonts.cs
- RegexCode.cs
- ModuleBuilder.cs
- BaseCodeDomTreeGenerator.cs
- StylusSystemGestureEventArgs.cs
- SessionStateModule.cs
- PolicyManager.cs
- IntermediatePolicyValidator.cs
- CellParagraph.cs
- FunctionCommandText.cs
- BigIntegerStorage.cs
- Int32RectConverter.cs
- SizeFConverter.cs
- Part.cs
- PersistenceTypeAttribute.cs
- BulletedListEventArgs.cs
- ListViewHitTestInfo.cs
- AppendHelper.cs
- SymDocumentType.cs
- StatusBar.cs
- DesignerVerbCollection.cs
- DataGridRow.cs
- MetadataPropertyAttribute.cs
- AdornerPresentationContext.cs
- CodeVariableReferenceExpression.cs
- CacheSection.cs
- Decoder.cs
- BridgeDataRecord.cs
- CodeNamespace.cs
- Resources.Designer.cs
- PartManifestEntry.cs
- QueryableFilterUserControl.cs
- Type.cs
- HostSecurityManager.cs