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
- mediaeventargs.cs
- RectangleGeometry.cs
- StringToken.cs
- AppDomainResourcePerfCounters.cs
- CurrentChangingEventManager.cs
- MexNamedPipeBindingElement.cs
- serverconfig.cs
- PublishLicense.cs
- OracleConnectionString.cs
- XmlIgnoreAttribute.cs
- Padding.cs
- PriorityChain.cs
- SqlNamer.cs
- GridViewHeaderRowPresenter.cs
- CodePageUtils.cs
- _BufferOffsetSize.cs
- precedingsibling.cs
- BinaryReader.cs
- ValueType.cs
- BigInt.cs
- SmtpNegotiateAuthenticationModule.cs
- GlyphTypeface.cs
- TextServicesLoader.cs
- TdsEnums.cs
- DataGridCommandEventArgs.cs
- PathGeometry.cs
- XhtmlCssHandler.cs
- EncryptedPackage.cs
- ConstraintStruct.cs
- Win32Exception.cs
- DragCompletedEventArgs.cs
- FunctionImportMapping.cs
- DrawingContext.cs
- CodeMemberField.cs
- FilterException.cs
- PagesSection.cs
- AdvancedBindingEditor.cs
- XamlFrame.cs
- XmlSchemaAnnotated.cs
- UnauthorizedAccessException.cs
- SqlNodeAnnotations.cs
- ArgumentException.cs
- UnsafeNativeMethods.cs
- CatalogZone.cs
- PropertyChangingEventArgs.cs
- Selector.cs
- SqlUtil.cs
- BasicHttpMessageSecurity.cs
- _CookieModule.cs
- Decorator.cs
- CapabilitiesUse.cs
- XmlSignatureProperties.cs
- CodeTypeDeclarationCollection.cs
- X509WindowsSecurityToken.cs
- DbMetaDataCollectionNames.cs
- SQLUtility.cs
- OleDbPermission.cs
- TextMarkerSource.cs
- VirtualDirectoryMapping.cs
- SequenceDesigner.cs
- Visual3D.cs
- TableRow.cs
- TextDpi.cs
- EnumDataContract.cs
- ResourceSet.cs
- TransactionBridge.cs
- IsolatedStorageFileStream.cs
- TCEAdapterGenerator.cs
- OracleParameterBinding.cs
- ModelVisual3D.cs
- Control.cs
- OdbcCommand.cs
- PageAsyncTaskManager.cs
- RectangleGeometry.cs
- StylusPlugin.cs
- RequiredArgumentAttribute.cs
- PngBitmapDecoder.cs
- XmlSerializableServices.cs
- TypeSystem.cs
- DataSourceHelper.cs
- Comparer.cs
- LoadMessageLogger.cs
- EntityWrapperFactory.cs
- StringArrayEditor.cs
- ProxyFragment.cs
- UpdateProgress.cs
- SourceInterpreter.cs
- KeyboardDevice.cs
- XmlSchemaComplexContentExtension.cs
- ModuleConfigurationInfo.cs
- ExtensionSurface.cs
- UpdateProgress.cs
- PolygonHotSpot.cs
- WindowsHyperlink.cs
- XmlDocumentType.cs
- _ProxyRegBlob.cs
- DecoderExceptionFallback.cs
- PassportPrincipal.cs
- EncodingNLS.cs
- MULTI_QI.cs