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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OdbcConnectionString.cs
- PropertyPathWorker.cs
- DefaultHttpHandler.cs
- ObjectListFieldsPage.cs
- ListViewSelectEventArgs.cs
- DataGridViewBand.cs
- SystemColors.cs
- WebHttpDispatchOperationSelector.cs
- SQLInt64Storage.cs
- ExpandedProjectionNode.cs
- TraceRecord.cs
- FunctionDetailsReader.cs
- SafeTimerHandle.cs
- EntityCollectionChangedParams.cs
- ProfessionalColorTable.cs
- Duration.cs
- Rotation3DAnimationBase.cs
- WindowsSpinner.cs
- XmlElementAttributes.cs
- IProvider.cs
- RegisteredArrayDeclaration.cs
- SectionUpdates.cs
- HashCryptoHandle.cs
- FlowDocumentPage.cs
- LinqDataSourceContextData.cs
- SymLanguageType.cs
- EventLogTraceListener.cs
- XhtmlBasicValidationSummaryAdapter.cs
- FactoryGenerator.cs
- SystemInformation.cs
- ColorComboBox.cs
- CriticalExceptions.cs
- CompilerGeneratedAttribute.cs
- SqlNodeAnnotations.cs
- WriteableBitmap.cs
- FormViewDeleteEventArgs.cs
- SignatureToken.cs
- xml.cs
- ConfigurationPropertyAttribute.cs
- BitmapEffectDrawingContent.cs
- RoleManagerSection.cs
- UriParserTemplates.cs
- TextDecoration.cs
- MimeFormatExtensions.cs
- Brush.cs
- SamlAssertionKeyIdentifierClause.cs
- EntityDataSourceDataSelection.cs
- ImageListImageEditor.cs
- TypeUnloadedException.cs
- ObjectComplexPropertyMapping.cs
- DBSqlParserTable.cs
- ParamArrayAttribute.cs
- OleDbConnection.cs
- PrimaryKeyTypeConverter.cs
- Size3DValueSerializer.cs
- Parser.cs
- TextSimpleMarkerProperties.cs
- EntityClientCacheKey.cs
- Rect.cs
- RouteValueDictionary.cs
- CompositeKey.cs
- MailAddress.cs
- assertwrapper.cs
- OdbcConnectionOpen.cs
- Tag.cs
- WebServiceMethodData.cs
- GridViewUpdatedEventArgs.cs
- SingleSelectRootGridEntry.cs
- TrustManagerPromptUI.cs
- RandomNumberGenerator.cs
- FontFamily.cs
- EntityDataSourceDesigner.cs
- PathGradientBrush.cs
- BaseTemplateBuildProvider.cs
- PageCache.cs
- JournalEntry.cs
- UIElementParagraph.cs
- DataBindingList.cs
- TextFormatterImp.cs
- XmlSchemaSequence.cs
- DataGridViewCheckBoxColumn.cs
- SaveCardRequest.cs
- ToolStripArrowRenderEventArgs.cs
- PartialCachingAttribute.cs
- DataGridViewHeaderCell.cs
- InstanceContextMode.cs
- CompilerError.cs
- EventProxy.cs
- SafeRightsManagementPubHandle.cs
- PointConverter.cs
- JpegBitmapEncoder.cs
- ObjectHandle.cs
- TextTreeTextElementNode.cs
- ProfessionalColors.cs
- SupportingTokenAuthenticatorSpecification.cs
- VoiceChangeEventArgs.cs
- MtomMessageEncodingBindingElement.cs
- TypedTableBase.cs
- ComplexPropertyEntry.cs
- CreatingCookieEventArgs.cs