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
- PackagingUtilities.cs
- ExpressionLexer.cs
- XmlChildEnumerator.cs
- SecurityDocument.cs
- SaveFileDialog.cs
- WindowsGraphics2.cs
- WinFormsSecurity.cs
- ProtectedConfigurationSection.cs
- OverflowException.cs
- RegexCompilationInfo.cs
- PrintPreviewGraphics.cs
- HandleCollector.cs
- ParseNumbers.cs
- MarkerProperties.cs
- CodeDomExtensionMethods.cs
- PersonalizationStateInfo.cs
- IDReferencePropertyAttribute.cs
- oledbmetadatacollectionnames.cs
- JsonFormatReaderGenerator.cs
- MiniParameterInfo.cs
- PeerNameRegistration.cs
- CodeDomConfigurationHandler.cs
- LayoutEngine.cs
- RtType.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- safesecurityhelperavalon.cs
- HttpListener.cs
- InspectionWorker.cs
- BasicExpandProvider.cs
- EventEntry.cs
- CommonServiceBehaviorElement.cs
- NonSerializedAttribute.cs
- SchemaConstraints.cs
- EmptyQuery.cs
- EventEntry.cs
- CodeCompiler.cs
- ChangesetResponse.cs
- RowType.cs
- CommandID.cs
- SystemMulticastIPAddressInformation.cs
- NullableBoolConverter.cs
- Int64KeyFrameCollection.cs
- AsnEncodedData.cs
- NameValuePair.cs
- Stacktrace.cs
- ZipIOExtraFieldPaddingElement.cs
- ProfileSettingsCollection.cs
- OracleBinary.cs
- ScrollChrome.cs
- DbProviderFactories.cs
- OpenTypeLayout.cs
- EFColumnProvider.cs
- DecimalFormatter.cs
- QuotedPrintableStream.cs
- PictureBoxDesigner.cs
- HtmlElement.cs
- WindowsFormsHostPropertyMap.cs
- FrameworkElementAutomationPeer.cs
- EmbeddedObject.cs
- StringUtil.cs
- QueryCursorEventArgs.cs
- hwndwrapper.cs
- XmlSchemaAnyAttribute.cs
- Ref.cs
- CodeLabeledStatement.cs
- ManagedWndProcTracker.cs
- SqlCacheDependencyDatabaseCollection.cs
- OutgoingWebResponseContext.cs
- ShapingWorkspace.cs
- MonitoringDescriptionAttribute.cs
- AnnotationResourceChangedEventArgs.cs
- SortFieldComparer.cs
- ObjectView.cs
- TypeNameConverter.cs
- ILGenerator.cs
- SqlDataSourceTableQuery.cs
- DependencyPropertyDescriptor.cs
- FixedFindEngine.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- WebFormDesignerActionService.cs
- SignedXmlDebugLog.cs
- ContractType.cs
- EndEvent.cs
- PropertyToken.cs
- CompilationLock.cs
- Cell.cs
- StylusPointPropertyInfo.cs
- FusionWrap.cs
- EncryptedKey.cs
- CodeObject.cs
- ListViewEditEventArgs.cs
- VirtualPathUtility.cs
- StructuredProperty.cs
- CheckoutException.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- RadioButton.cs
- ErrorWebPart.cs
- TemplatedWizardStep.cs
- MembershipValidatePasswordEventArgs.cs
- AppliesToBehaviorDecisionTable.cs