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
- X509CertificateCollection.cs
- OpCodes.cs
- PictureBox.cs
- TabControlCancelEvent.cs
- CodeLinePragma.cs
- ParameterCollection.cs
- LongValidatorAttribute.cs
- RadioButton.cs
- PointLightBase.cs
- XamlVector3DCollectionSerializer.cs
- _ConnectionGroup.cs
- RegexFCD.cs
- PageCodeDomTreeGenerator.cs
- ClickablePoint.cs
- DynamicMethod.cs
- XamlTreeBuilder.cs
- InputScopeConverter.cs
- Grid.cs
- FigureParagraph.cs
- ToolStripSeparatorRenderEventArgs.cs
- regiisutil.cs
- Zone.cs
- RuleSetReference.cs
- MSAAWinEventWrap.cs
- Point.cs
- WhiteSpaceTrimStringConverter.cs
- ClrProviderManifest.cs
- SchemaImporterExtensionElementCollection.cs
- EditingCommands.cs
- XmlFormatExtensionPrefixAttribute.cs
- TaskFormBase.cs
- CommonObjectSecurity.cs
- XamlClipboardData.cs
- LostFocusEventManager.cs
- SemanticBasicElement.cs
- GridViewRowPresenter.cs
- RtfNavigator.cs
- ToolStripMenuItemDesigner.cs
- BindingList.cs
- VBCodeProvider.cs
- SmtpNetworkElement.cs
- DataGridViewSelectedRowCollection.cs
- NameValuePair.cs
- SqlCacheDependencyDatabase.cs
- WarningException.cs
- StringUtil.cs
- HttpConfigurationContext.cs
- Thread.cs
- WindowsAltTab.cs
- WindowsListViewItemStartMenu.cs
- DBProviderConfigurationHandler.cs
- shaperfactoryquerycachekey.cs
- TextBox.cs
- ManageRequest.cs
- HScrollProperties.cs
- CodeArrayIndexerExpression.cs
- StylusPointPropertyUnit.cs
- CompressStream.cs
- CustomErrorsSection.cs
- MimeFormImporter.cs
- TrackingServices.cs
- PropertyGeneratedEventArgs.cs
- ConfigUtil.cs
- RelOps.cs
- Stylesheet.cs
- DoubleKeyFrameCollection.cs
- ConnectorDragDropGlyph.cs
- TableParaClient.cs
- BooleanFunctions.cs
- DetailsViewInsertedEventArgs.cs
- KeyNotFoundException.cs
- MenuItemBindingCollection.cs
- ScaleTransform3D.cs
- DbRetry.cs
- Message.cs
- SafePointer.cs
- SQLBinary.cs
- Pair.cs
- ChineseLunisolarCalendar.cs
- RadioButtonList.cs
- GenerateScriptTypeAttribute.cs
- Hashtable.cs
- MetadataItem_Static.cs
- SiteMapNodeCollection.cs
- ActivationProxy.cs
- SqlDataSourceQueryEditorForm.cs
- ContentValidator.cs
- MediaTimeline.cs
- HttpCookiesSection.cs
- MarginCollapsingState.cs
- WebPartDisplayModeEventArgs.cs
- UserControl.cs
- StorageTypeMapping.cs
- CanonicalFontFamilyReference.cs
- DesignerLoader.cs
- CommonGetThemePartSize.cs
- XmlSchemaSimpleType.cs
- WindowsMenu.cs
- DeclaredTypeElement.cs
- SpeechDetectedEventArgs.cs