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
- NavigationService.cs
- LabelEditEvent.cs
- SerializationSectionGroup.cs
- ModuleConfigurationInfo.cs
- ClientSettingsSection.cs
- XsdDuration.cs
- SemanticAnalyzer.cs
- MaskDescriptors.cs
- BitVec.cs
- PhysicalAddress.cs
- PeerNearMe.cs
- InstanceCreationEditor.cs
- FormsAuthenticationTicket.cs
- NGCSerializationManagerAsync.cs
- InstanceNormalEvent.cs
- FillErrorEventArgs.cs
- StandardBindingElement.cs
- MimeTypeAttribute.cs
- ColumnClickEvent.cs
- EventLogPermissionEntryCollection.cs
- HttpClientCertificate.cs
- _RegBlobWebProxyDataBuilder.cs
- RemoteCryptoRsaServiceProvider.cs
- DefaultPropertyAttribute.cs
- NotificationContext.cs
- PackageStore.cs
- SQlBooleanStorage.cs
- HostingEnvironmentWrapper.cs
- PropertyNames.cs
- CommentEmitter.cs
- MaterialGroup.cs
- ToolStripRendererSwitcher.cs
- formatter.cs
- RecordsAffectedEventArgs.cs
- Attributes.cs
- SkewTransform.cs
- Rotation3DAnimationUsingKeyFrames.cs
- DesignerTextBoxAdapter.cs
- Splitter.cs
- BoolExpr.cs
- TransactionTraceIdentifier.cs
- ImageAnimator.cs
- PageContentAsyncResult.cs
- StandardRuntimeEnumValidatorAttribute.cs
- CallTemplateAction.cs
- TreeNodeCollection.cs
- DivideByZeroException.cs
- CategoryGridEntry.cs
- TraceListener.cs
- UnsafeNativeMethods.cs
- RijndaelManagedTransform.cs
- ZipIOModeEnforcingStream.cs
- DictionarySectionHandler.cs
- MergeFilterQuery.cs
- SafeEventLogWriteHandle.cs
- DeleteIndexBinder.cs
- WebServiceAttribute.cs
- WindowsUserNameCachingSecurityTokenAuthenticator.cs
- AxisAngleRotation3D.cs
- QualificationDataItem.cs
- SingleQueryOperator.cs
- FontNameConverter.cs
- StackOverflowException.cs
- ToolStripButton.cs
- WebPartConnectionsConfigureVerb.cs
- XMLDiffLoader.cs
- XmlReflectionImporter.cs
- ListenerAdapterBase.cs
- ExpressionEditorAttribute.cs
- EtwTrace.cs
- TaiwanLunisolarCalendar.cs
- xsdvalidator.cs
- ListControl.cs
- FeatureManager.cs
- ImageKeyConverter.cs
- DockingAttribute.cs
- TemplateBuilder.cs
- PassportAuthentication.cs
- ConfigurationPropertyCollection.cs
- LogAppendAsyncResult.cs
- ListViewInsertEventArgs.cs
- ListViewInsertionMark.cs
- TypeHelper.cs
- ScriptResourceMapping.cs
- SqlComparer.cs
- MessageVersionConverter.cs
- ConstraintCollection.cs
- ControlAdapter.cs
- TextSelectionProcessor.cs
- SrgsOneOf.cs
- shaper.cs
- BrowserCapabilitiesCodeGenerator.cs
- FragmentNavigationEventArgs.cs
- RemotingServices.cs
- WebRequestModuleElementCollection.cs
- StaticFileHandler.cs
- ChangePassword.cs
- StandardToolWindows.cs
- SqlInternalConnectionSmi.cs
- StringFunctions.cs