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
- StrokeDescriptor.cs
- PrinterSettings.cs
- KnownBoxes.cs
- TextParagraphView.cs
- MembershipValidatePasswordEventArgs.cs
- GeneralTransformCollection.cs
- CodeCompiler.cs
- assertwrapper.cs
- DataChangedEventManager.cs
- Oid.cs
- OutputCacheProviderCollection.cs
- BitSet.cs
- CommandBindingCollection.cs
- HostSecurityManager.cs
- HelpInfo.cs
- Semaphore.cs
- CookieParameter.cs
- GifBitmapDecoder.cs
- TokenizerHelper.cs
- ColorMap.cs
- FileSystemWatcher.cs
- TableProviderWrapper.cs
- XmlCharType.cs
- TableCell.cs
- SurrogateSelector.cs
- PostBackOptions.cs
- DataGridGeneralPage.cs
- ReadOnlyPermissionSet.cs
- ReadingWritingEntityEventArgs.cs
- LingerOption.cs
- ViewBox.cs
- CharacterShapingProperties.cs
- HexParser.cs
- MessageDesigner.cs
- Attributes.cs
- InvalidDataContractException.cs
- AxHost.cs
- TargetControlTypeCache.cs
- HttpProcessUtility.cs
- TranslateTransform3D.cs
- DEREncoding.cs
- ListBoxItemAutomationPeer.cs
- StyleXamlTreeBuilder.cs
- XmlSerializerVersionAttribute.cs
- MessageParameterAttribute.cs
- TextPatternIdentifiers.cs
- RMPublishingDialog.cs
- TypeInfo.cs
- EmptyReadOnlyDictionaryInternal.cs
- Int16KeyFrameCollection.cs
- ProfileSection.cs
- AutomationEventArgs.cs
- DesignerTransactionCloseEvent.cs
- DeriveBytes.cs
- UndoManager.cs
- TextTreeNode.cs
- PerformanceCounterPermissionAttribute.cs
- Brushes.cs
- TreeViewImageIndexConverter.cs
- LoginUtil.cs
- DecimalConstantAttribute.cs
- ItemsPanelTemplate.cs
- safex509handles.cs
- DrawingCollection.cs
- ConfigurationManagerHelper.cs
- TextTreeNode.cs
- SafeRightsManagementSessionHandle.cs
- IsolatedStorageFileStream.cs
- Simplifier.cs
- CounterCreationData.cs
- Wildcard.cs
- ToolboxItemAttribute.cs
- AutomationPropertyInfo.cs
- CodeAccessSecurityEngine.cs
- SaveFileDialog.cs
- ValidationSummary.cs
- StandardCommandToolStripMenuItem.cs
- InputEventArgs.cs
- COM2TypeInfoProcessor.cs
- RotateTransform3D.cs
- RoleManagerModule.cs
- Propagator.Evaluator.cs
- XmlSerializableServices.cs
- Literal.cs
- BaseCodePageEncoding.cs
- MarkedHighlightComponent.cs
- ComponentSerializationService.cs
- HttpResponseBase.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- SmiGettersStream.cs
- TrackingMemoryStream.cs
- DispatcherSynchronizationContext.cs
- SQLBinary.cs
- LassoHelper.cs
- ToolTipAutomationPeer.cs
- IBuiltInEvidence.cs
- GridViewRow.cs
- BaseValidator.cs
- DeliveryStrategy.cs
- DrawingContextWalker.cs