Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / MIT / System / Web / UI / MobileControls / Design / AdRotatorDesigner.cs / 1305376 / AdRotatorDesigner.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.MobileControls { using System; using System.ComponentModel; using System.ComponentModel.Design; using System.Diagnostics; using System.Web.UI.MobileControls; using System.Web.UI.MobileControls.Adapters; using System.Web.UI.Design.MobileControls.Adapters; ////// ////// Provides design-time support for the ////// mobile control. /// [ System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Demand, Flags=System.Security.Permissions.SecurityPermissionFlag.UnmanagedCode) ] [Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")] internal class AdRotatorDesigner : MobileControlDesigner { private System.Web.UI.MobileControls.AdRotator _adRotator; public override void Initialize(IComponent component) { Debug.Assert(component is System.Web.UI.MobileControls.AdRotator, "AdRotatorDesigner.Initialize - Invalid AdRotator Control"); _adRotator = (System.Web.UI.MobileControls.AdRotator) component; base.Initialize(component); } protected override String GetDesignTimeNormalHtml() { DesignerTextWriter writer = new DesignerTextWriter(); _adRotator.Adapter.Render(writer); return writer.ToString(); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LayoutDump.cs
- UnwrappedTypesXmlSerializerManager.cs
- PtsHelper.cs
- CheckBox.cs
- Dictionary.cs
- InitializerFacet.cs
- TrackingProvider.cs
- TreeNodeClickEventArgs.cs
- DrawListViewColumnHeaderEventArgs.cs
- NodeFunctions.cs
- InstallerTypeAttribute.cs
- HtmlGenericControl.cs
- TypeValidationEventArgs.cs
- ListViewItem.cs
- SymLanguageType.cs
- DateTime.cs
- RectAnimationUsingKeyFrames.cs
- BamlVersionHeader.cs
- ThreadPool.cs
- ErrorFormatterPage.cs
- XmlTypeMapping.cs
- DataBindEngine.cs
- Thread.cs
- FixedHighlight.cs
- EmptyEnumerable.cs
- UTF7Encoding.cs
- MaskedTextBoxTextEditor.cs
- XmlCodeExporter.cs
- Baml2006ReaderSettings.cs
- StringFreezingAttribute.cs
- ToolStripContentPanelRenderEventArgs.cs
- SerialErrors.cs
- BufferBuilder.cs
- BufferedGraphicsContext.cs
- GenericTextProperties.cs
- DispatchWrapper.cs
- SerialStream.cs
- StructuralType.cs
- TreeWalkHelper.cs
- XmlStreamStore.cs
- NumberFormatter.cs
- EarlyBoundInfo.cs
- ExpressionHelper.cs
- CoreSwitches.cs
- DockPattern.cs
- DataGridViewCellLinkedList.cs
- FlagsAttribute.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ProcessStartInfo.cs
- XmlSchemaAny.cs
- PeerNameRecordCollection.cs
- HandlerBase.cs
- ReadOnlyDictionary.cs
- ColumnPropertiesGroup.cs
- Vector3DConverter.cs
- NavigationWindowAutomationPeer.cs
- MulticastDelegate.cs
- LocatorGroup.cs
- PageThemeBuildProvider.cs
- RepeatInfo.cs
- RtfToken.cs
- CodePropertyReferenceExpression.cs
- ConditionalAttribute.cs
- webbrowsersite.cs
- ProgressBarBrushConverter.cs
- TypeListConverter.cs
- ContentType.cs
- SafeHandles.cs
- FontInfo.cs
- TextContainerHelper.cs
- XdrBuilder.cs
- TextWriter.cs
- PEFileEvidenceFactory.cs
- WebContext.cs
- SmtpNetworkElement.cs
- PageContentAsyncResult.cs
- CacheDependency.cs
- XDRSchema.cs
- HTMLTextWriter.cs
- ApplicationServicesHostFactory.cs
- ClassDataContract.cs
- FragmentNavigationEventArgs.cs
- ProviderCommandInfoUtils.cs
- WebPartActionVerb.cs
- Sentence.cs
- TreeViewImageIndexConverter.cs
- DbDataRecord.cs
- GatewayDefinition.cs
- PrePrepareMethodAttribute.cs
- DbSource.cs
- WebPartCancelEventArgs.cs
- Rules.cs
- SoapObjectInfo.cs
- DateTimeConstantAttribute.cs
- SafeHandle.cs
- AnnotationAuthorChangedEventArgs.cs
- SvcMapFile.cs
- ExpressionEditor.cs
- SolidColorBrush.cs
- GeneralTransform3DTo2D.cs