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
- ColumnResizeUndoUnit.cs
- MenuAutoFormat.cs
- WebPartActionVerb.cs
- CompareValidator.cs
- CompositeFontParser.cs
- CompositeDataBoundControl.cs
- FlatButtonAppearance.cs
- DrawListViewColumnHeaderEventArgs.cs
- LexicalChunk.cs
- StateBag.cs
- TableRow.cs
- _emptywebproxy.cs
- XmlSerializerImportOptions.cs
- WebServicesDescriptionAttribute.cs
- FunctionGenerator.cs
- Query.cs
- FastEncoderWindow.cs
- GeneralTransform2DTo3D.cs
- coordinatorscratchpad.cs
- BookmarkManager.cs
- ConstantExpression.cs
- Native.cs
- DrawListViewSubItemEventArgs.cs
- StructuredType.cs
- LightweightEntityWrapper.cs
- ContainerUtilities.cs
- SimplePropertyEntry.cs
- DetailsViewRow.cs
- DataRowChangeEvent.cs
- PropertyGroupDescription.cs
- PhysicalFontFamily.cs
- WindowsFont.cs
- comcontractssection.cs
- SqlConnectionHelper.cs
- NonSerializedAttribute.cs
- RewritingSimplifier.cs
- ImmComposition.cs
- EventMappingSettings.cs
- unsafenativemethodstextservices.cs
- SqlProcedureAttribute.cs
- MetadataSource.cs
- OracleConnectionStringBuilder.cs
- PersonalizableAttribute.cs
- DataGridViewComboBoxEditingControl.cs
- InfoCardTraceRecord.cs
- SoapSchemaExporter.cs
- RawStylusInputCustomData.cs
- DocumentEventArgs.cs
- HostSecurityManager.cs
- CFStream.cs
- EdmFunctionAttribute.cs
- PropertyPathConverter.cs
- XmlAnyElementAttribute.cs
- HttpMethodAttribute.cs
- TemplateBuilder.cs
- XmlAnyElementAttributes.cs
- BuildProvidersCompiler.cs
- LoginName.cs
- DataStreams.cs
- SiteMapDataSource.cs
- newinstructionaction.cs
- XmlChildEnumerator.cs
- UserNameSecurityTokenAuthenticator.cs
- CategoryValueConverter.cs
- JournalEntryStack.cs
- GeneratedContractType.cs
- SafeUserTokenHandle.cs
- ThreadPool.cs
- RijndaelManagedTransform.cs
- DataControlReference.cs
- mda.cs
- HyperLinkColumn.cs
- SqlBuffer.cs
- WindowsSecurityTokenAuthenticator.cs
- ContravarianceAdapter.cs
- DiscoveryReference.cs
- HostedAspNetEnvironment.cs
- DataGridBeginningEditEventArgs.cs
- ToolZone.cs
- WebReferenceOptions.cs
- ResourcePart.cs
- DrawToolTipEventArgs.cs
- MultiSelectRootGridEntry.cs
- XmlSchemaComplexContent.cs
- Debug.cs
- ButtonBaseAutomationPeer.cs
- ListViewGroup.cs
- RegexTree.cs
- LoginName.cs
- SecurityResources.cs
- PhoneCallDesigner.cs
- StartUpEventArgs.cs
- XmlSchemaComplexContent.cs
- AdCreatedEventArgs.cs
- ComponentResourceManager.cs
- Typeface.cs
- HttpHandlersSection.cs
- SslSecurityTokenParameters.cs
- CommonObjectSecurity.cs
- HeaderedContentControl.cs