Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / MIT / System / Web / UI / MobileControls / MobileUserControl.cs / 1305376 / MobileUserControl.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System.ComponentModel; using System.ComponentModel.Design; using System.Diagnostics; using System.Web.UI; using System.Security.Permissions; namespace System.Web.UI.MobileControls { ///[ Designer("Microsoft.VisualStudio.Web.WebForms.MobileWebFormDesigner, " + AssemblyRef.MicrosoftVisualStudioWeb, typeof(IRootDesigner)), Designer(typeof(System.Web.UI.Design.MobileControls.MobileUserControlDesigner)) ] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] [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.")] public class MobileUserControl : UserControl { /// protected override void AddParsedSubObject(Object o) { // Note : AddParsedSubObject is never called at DesignTime if (o is StyleSheet) { if (_styleSheet != null) { throw new Exception(SR.GetString(SR.StyleSheet_DuplicateWarningMessage)); } else { _styleSheet = (StyleSheet)o; } } base.AddParsedSubObject(o); } private StyleSheet _styleSheet = null; internal StyleSheet StyleSheet { get { return (_styleSheet != null) ? _styleSheet : StyleSheet.Default; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System.ComponentModel; using System.ComponentModel.Design; using System.Diagnostics; using System.Web.UI; using System.Security.Permissions; namespace System.Web.UI.MobileControls { ///[ Designer("Microsoft.VisualStudio.Web.WebForms.MobileWebFormDesigner, " + AssemblyRef.MicrosoftVisualStudioWeb, typeof(IRootDesigner)), Designer(typeof(System.Web.UI.Design.MobileControls.MobileUserControlDesigner)) ] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] [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.")] public class MobileUserControl : UserControl { /// protected override void AddParsedSubObject(Object o) { // Note : AddParsedSubObject is never called at DesignTime if (o is StyleSheet) { if (_styleSheet != null) { throw new Exception(SR.GetString(SR.StyleSheet_DuplicateWarningMessage)); } else { _styleSheet = (StyleSheet)o; } } base.AddParsedSubObject(o); } private StyleSheet _styleSheet = null; internal StyleSheet StyleSheet { get { return (_styleSheet != null) ? _styleSheet : StyleSheet.Default; } } } } // 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
- ComponentChangingEvent.cs
- GeneratedContractType.cs
- Range.cs
- XslVisitor.cs
- AncillaryOps.cs
- ImageListStreamer.cs
- ExpandCollapsePattern.cs
- ViewManagerAttribute.cs
- TypeDependencyAttribute.cs
- InvalidCastException.cs
- xamlnodes.cs
- QueueNameHelper.cs
- XPathCompiler.cs
- ParagraphVisual.cs
- _SecureChannel.cs
- HttpConfigurationContext.cs
- ThreadPool.cs
- WriteableBitmap.cs
- BindingsCollection.cs
- HttpWebRequest.cs
- FixedStringLookup.cs
- MetadataUtilsSmi.cs
- XamlReader.cs
- HttpResponseInternalWrapper.cs
- Vertex.cs
- DirectoryInfo.cs
- HttpListenerPrefixCollection.cs
- RangeValueProviderWrapper.cs
- PreApplicationStartMethodAttribute.cs
- TransformationRules.cs
- PresentationAppDomainManager.cs
- WindowsTab.cs
- Transform3D.cs
- PageCanvasSize.cs
- WinEventWrap.cs
- RequestStatusBarUpdateEventArgs.cs
- SqlDataReader.cs
- DbDeleteCommandTree.cs
- RangeValuePatternIdentifiers.cs
- MobileCategoryAttribute.cs
- MessageQueuePermissionEntry.cs
- ModifierKeysValueSerializer.cs
- ArgumentException.cs
- ImageField.cs
- FocusTracker.cs
- TripleDES.cs
- webclient.cs
- ThreadInterruptedException.cs
- MediaSystem.cs
- SchemaImporterExtensionsSection.cs
- LayoutDump.cs
- MachineKeyValidationConverter.cs
- ExpressionBuilder.cs
- TextDecorationCollection.cs
- DbConnectionPoolOptions.cs
- Scalars.cs
- SystemNetworkInterface.cs
- CodeIdentifier.cs
- Assembly.cs
- TCPListener.cs
- OptimisticConcurrencyException.cs
- DllNotFoundException.cs
- CanonicalXml.cs
- VerbConverter.cs
- UnionCqlBlock.cs
- PersistChildrenAttribute.cs
- HtmlElementCollection.cs
- DurationConverter.cs
- PingOptions.cs
- ProfileModule.cs
- CompositeFontInfo.cs
- XmlNode.cs
- HtmlTableCell.cs
- AnnotationResourceChangedEventArgs.cs
- ChannelManager.cs
- TextHidden.cs
- FederatedMessageSecurityOverHttpElement.cs
- DataGridViewDataErrorEventArgs.cs
- WindowsGraphics2.cs
- CaseInsensitiveComparer.cs
- PointConverter.cs
- ObjectListSelectEventArgs.cs
- WebConfigurationHostFileChange.cs
- SmtpReplyReaderFactory.cs
- MessageSecurityTokenVersion.cs
- ExpressionHelper.cs
- PointConverter.cs
- ReadWriteSpinLock.cs
- TdsParserStateObject.cs
- DeadCharTextComposition.cs
- MaskedTextProvider.cs
- TraceSource.cs
- SafeFileMapViewHandle.cs
- DetailsViewCommandEventArgs.cs
- ColorTransformHelper.cs
- Serializer.cs
- TitleStyle.cs
- ProfilePropertySettingsCollection.cs
- X509ChainPolicy.cs
- AttachmentCollection.cs