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
- TextDecorations.cs
- ActionFrame.cs
- FileEnumerator.cs
- BamlWriter.cs
- ApplicationException.cs
- WindowsStartMenu.cs
- TextReader.cs
- XmlSchemaChoice.cs
- ConfigurationLocationCollection.cs
- DataGridViewLayoutData.cs
- bidPrivateBase.cs
- ProfilePropertyNameValidator.cs
- QilName.cs
- Timer.cs
- AssemblyUtil.cs
- Underline.cs
- WebPartEditVerb.cs
- LinkArea.cs
- OdbcParameter.cs
- Identifier.cs
- XPathAxisIterator.cs
- ExceptionUtil.cs
- BitVector32.cs
- OptimalBreakSession.cs
- DataGridViewCellCollection.cs
- EventlogProvider.cs
- AuthenticationModulesSection.cs
- DescendentsWalkerBase.cs
- ItemMap.cs
- Byte.cs
- DeflateEmulationStream.cs
- XamlFilter.cs
- ClientData.cs
- SR.cs
- ConversionContext.cs
- RMPublishingDialog.cs
- SplitterEvent.cs
- DataRowIndexBuffer.cs
- SubqueryRules.cs
- SoapSchemaImporter.cs
- SqlServices.cs
- ZoneButton.cs
- CompositionAdorner.cs
- XmlBinaryReader.cs
- FlowchartDesigner.xaml.cs
- TimeManager.cs
- WindowsTokenRoleProvider.cs
- SortExpressionBuilder.cs
- GestureRecognizer.cs
- TraceHandlerErrorFormatter.cs
- Module.cs
- TraceHandler.cs
- SynchronizedInputAdaptor.cs
- ServiceInfoCollection.cs
- OleDbPermission.cs
- TimeSpanOrInfiniteValidator.cs
- HelloOperationAsyncResult.cs
- EndOfStreamException.cs
- XmlFormatMapping.cs
- MessagePartProtectionMode.cs
- HtmlWindow.cs
- PostBackTrigger.cs
- ValidationError.cs
- DiscreteKeyFrames.cs
- EmbossBitmapEffect.cs
- OleServicesContext.cs
- Sentence.cs
- QilLoop.cs
- DataGridDetailsPresenter.cs
- LinqDataSourceInsertEventArgs.cs
- ArrangedElement.cs
- ColumnCollection.cs
- ResourceDescriptionAttribute.cs
- TextBox.cs
- XmlLanguageConverter.cs
- ConstraintManager.cs
- AsmxEndpointPickerExtension.cs
- QueryAccessibilityHelpEvent.cs
- TdsParserStateObject.cs
- FileLevelControlBuilderAttribute.cs
- ComponentChangedEvent.cs
- HtmlButton.cs
- SplineKeyFrames.cs
- DataGridRowDetailsEventArgs.cs
- ReadOnlyHierarchicalDataSource.cs
- SystemDropShadowChrome.cs
- WebPartAuthorizationEventArgs.cs
- TableChangeProcessor.cs
- DeviceOverridableAttribute.cs
- HotSpotCollection.cs
- ListGeneralPage.cs
- ContainerControlDesigner.cs
- Panel.cs
- CollectionView.cs
- WmpBitmapDecoder.cs
- TransactionScope.cs
- CompModSwitches.cs
- IPAddressCollection.cs
- ControlUtil.cs
- FixedSOMTextRun.cs