Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ // // 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
- FontStretch.cs
- WebPartEventArgs.cs
- XmlAttributes.cs
- AssemblyBuilder.cs
- CreateParams.cs
- InfiniteTimeSpanConverter.cs
- DataTableCollection.cs
- NonVisualControlAttribute.cs
- PropertyChangingEventArgs.cs
- Type.cs
- MediaTimeline.cs
- EntityRecordInfo.cs
- XmlSequenceWriter.cs
- WebSysDescriptionAttribute.cs
- SQLConvert.cs
- HostingPreferredMapPath.cs
- FullTrustAssembly.cs
- WorkflowOperationBehavior.cs
- ItemChangedEventArgs.cs
- AttributeData.cs
- _FtpDataStream.cs
- GACMembershipCondition.cs
- TypeForwardedFromAttribute.cs
- DataGridViewSelectedCellCollection.cs
- cookie.cs
- ToolStripDropDownDesigner.cs
- XPathException.cs
- TargetPerspective.cs
- DateTimePicker.cs
- AsymmetricKeyExchangeDeformatter.cs
- Tokenizer.cs
- InputLangChangeEvent.cs
- RegexBoyerMoore.cs
- ManagedWndProcTracker.cs
- Pen.cs
- WebMessageEncodingBindingElement.cs
- SaveFileDialog.cs
- ResolvedKeyFrameEntry.cs
- StopStoryboard.cs
- ConnectionPoint.cs
- FilterElement.cs
- TextSelection.cs
- BoolExpressionVisitors.cs
- NamedPipeAppDomainProtocolHandler.cs
- DockProviderWrapper.cs
- ITreeGenerator.cs
- CodeTypeReference.cs
- SafeLocalMemHandle.cs
- ActivityDesignerResources.cs
- WmlValidatorAdapter.cs
- PersonalizableAttribute.cs
- _ConnectStream.cs
- FontInfo.cs
- MSG.cs
- Internal.cs
- DoubleCollectionValueSerializer.cs
- DbConnectionPoolOptions.cs
- ClosureBinding.cs
- ToolStripDropDownMenu.cs
- SpellCheck.cs
- RefType.cs
- HttpValueCollection.cs
- SelectionProviderWrapper.cs
- UnsafeNativeMethods.cs
- DataGridViewCellEventArgs.cs
- WebServiceFault.cs
- GeometryModel3D.cs
- IgnoreSectionHandler.cs
- InstanceData.cs
- VoiceObjectToken.cs
- AppDomainUnloadedException.cs
- LinkedResourceCollection.cs
- SplineKeyFrames.cs
- AnnotationResource.cs
- AssemblyInfo.cs
- CollectionViewGroupInternal.cs
- RolePrincipal.cs
- StateManager.cs
- FilterRepeater.cs
- CssStyleCollection.cs
- MdImport.cs
- DbDataAdapter.cs
- ZipPackage.cs
- LazyTextWriterCreator.cs
- FontInfo.cs
- dataSvcMapFileLoader.cs
- XmlElementList.cs
- Query.cs
- GZipStream.cs
- DataRowComparer.cs
- ObjectConverter.cs
- _SecureChannel.cs
- CachingHintValidation.cs
- InfocardExtendedInformationEntry.cs
- Camera.cs
- DbBuffer.cs
- AliasedSlot.cs
- DataGridViewControlCollection.cs
- ListBase.cs
- OleDragDropHandler.cs