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
- DirectoryNotFoundException.cs
- SqlProfileProvider.cs
- Floater.cs
- ConfigurationStrings.cs
- TagMapCollection.cs
- EnumType.cs
- ListViewInsertEventArgs.cs
- NameNode.cs
- DescendantOverDescendantQuery.cs
- TimeManager.cs
- UIElementParagraph.cs
- WindowsPen.cs
- QueryRewriter.cs
- TemplatePagerField.cs
- InvalidAsynchronousStateException.cs
- ToolStripDropDownButton.cs
- ProviderBase.cs
- DynamicDocumentPaginator.cs
- CatchBlock.cs
- SchemaElementLookUpTable.cs
- HttpWriter.cs
- PriorityQueue.cs
- SecureUICommand.cs
- ListBoxAutomationPeer.cs
- XPathException.cs
- ProjectionRewriter.cs
- SHA1CryptoServiceProvider.cs
- XmlUtilWriter.cs
- ServiceDescription.cs
- StylusPlugin.cs
- CaseInsensitiveOrdinalStringComparer.cs
- BadImageFormatException.cs
- ButtonField.cs
- DesigntimeLicenseContext.cs
- StorageTypeMapping.cs
- CancellationToken.cs
- Tablet.cs
- DatePickerDateValidationErrorEventArgs.cs
- WebCategoryAttribute.cs
- DrawingGroup.cs
- EntityDataSourceDesignerHelper.cs
- ProfileModule.cs
- ArglessEventHandlerProxy.cs
- Internal.cs
- SymmetricSecurityProtocol.cs
- Trace.cs
- RuleSettings.cs
- TextSpanModifier.cs
- PrintDialogException.cs
- AttachedPropertyMethodSelector.cs
- ComboBox.cs
- SqlDataSourceStatusEventArgs.cs
- SrgsSubset.cs
- DataServiceConfiguration.cs
- DesignerTextBoxAdapter.cs
- HtmlLink.cs
- CheckBoxFlatAdapter.cs
- IntSecurity.cs
- CurrencyManager.cs
- ResourcesGenerator.cs
- ClosureBinding.cs
- Type.cs
- XmlDataSourceView.cs
- BaseAutoFormat.cs
- ActionFrame.cs
- TemplateAction.cs
- SafeNativeMethods.cs
- TransportConfigurationTypeElement.cs
- ActivityValidator.cs
- WebColorConverter.cs
- BitmapEffectRenderDataResource.cs
- OdbcEnvironmentHandle.cs
- BuildTopDownAttribute.cs
- DataGridGeneralPage.cs
- basemetadatamappingvisitor.cs
- PenLineJoinValidation.cs
- ToolStripStatusLabel.cs
- EventDescriptor.cs
- ScriptingJsonSerializationSection.cs
- HtmlSelect.cs
- InputScope.cs
- FileDialogPermission.cs
- TableItemStyle.cs
- XmlWriterDelegator.cs
- InvalidateEvent.cs
- DispatcherHooks.cs
- DecimalConstantAttribute.cs
- Rect3D.cs
- X509ChainPolicy.cs
- XPathNavigator.cs
- UnicodeEncoding.cs
- OleDbDataAdapter.cs
- UnSafeCharBuffer.cs
- Size3D.cs
- ConfigurationManagerHelper.cs
- SerializationInfoEnumerator.cs
- TrustManager.cs
- CacheVirtualItemsEvent.cs
- DetailsViewModeEventArgs.cs
- XmlDictionaryString.cs