Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / MIT / System / Web / UI / MobileControls / Adapters / WmlCommandAdapter.cs / 1305376 / WmlCommandAdapter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.IO; using System.Web; using System.Web.UI; using System.Web.UI.MobileControls; using System.Security.Permissions; #if COMPILING_FOR_SHIPPED_SOURCE namespace System.Web.UI.MobileControls.ShippedAdapterSource #else namespace System.Web.UI.MobileControls.Adapters #endif { /* * WmlCommandAdapter class. * * Copyright (c) 2000 Microsoft Corporation */ ///[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 WmlCommandAdapter : WmlControlAdapter { /// protected new Command Control { get { return (Command)base.Control; } } /// public override void Render(WmlMobileTextWriter writer) { writer.EnterStyle(Style); RenderSubmitEvent(writer, Control.SoftkeyLabel, Control.Text, Control.BreakAfter); writer.ExitStyle(Style); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.IO; using System.Web; using System.Web.UI; using System.Web.UI.MobileControls; using System.Security.Permissions; #if COMPILING_FOR_SHIPPED_SOURCE namespace System.Web.UI.MobileControls.ShippedAdapterSource #else namespace System.Web.UI.MobileControls.Adapters #endif { /* * WmlCommandAdapter class. * * Copyright (c) 2000 Microsoft Corporation */ ///[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 WmlCommandAdapter : WmlControlAdapter { /// protected new Command Control { get { return (Command)base.Control; } } /// public override void Render(WmlMobileTextWriter writer) { writer.EnterStyle(Style); RenderSubmitEvent(writer, Control.SoftkeyLabel, Control.Text, Control.BreakAfter); writer.ExitStyle(Style); } } } // 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
- UnknownBitmapEncoder.cs
- ExecutionEngineException.cs
- TdsParserSessionPool.cs
- GeometryGroup.cs
- TraceContextRecord.cs
- DBSqlParserTable.cs
- ColorPalette.cs
- TreeNodeConverter.cs
- EventLogPermissionAttribute.cs
- ZipIOExtraFieldElement.cs
- ClientBuildManager.cs
- DataGridViewDataErrorEventArgs.cs
- ListControl.cs
- HMAC.cs
- XmlSchemaFacet.cs
- ManagementObject.cs
- SerialReceived.cs
- InstanceDataCollection.cs
- DefaultSerializationProviderAttribute.cs
- StyleConverter.cs
- processwaithandle.cs
- NumberSubstitution.cs
- ResolveNameEventArgs.cs
- DateTimeValueSerializerContext.cs
- LineSegment.cs
- SiblingIterators.cs
- SelectionPatternIdentifiers.cs
- ImageUrlEditor.cs
- XslException.cs
- BaseValidator.cs
- CustomValidator.cs
- Boolean.cs
- SemanticValue.cs
- WebPartCancelEventArgs.cs
- QilLoop.cs
- IsolatedStorageFilePermission.cs
- Base64Stream.cs
- Triplet.cs
- WriterOutput.cs
- Message.cs
- PreservationFileReader.cs
- IxmlLineInfo.cs
- ImageSource.cs
- CacheForPrimitiveTypes.cs
- OutputCacheProfileCollection.cs
- ApplyTemplatesAction.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- ToolStripSplitButton.cs
- QEncodedStream.cs
- CollectionConverter.cs
- UrlAuthorizationModule.cs
- ModelFactory.cs
- MulticastIPAddressInformationCollection.cs
- ProfileGroupSettingsCollection.cs
- PersonalizationProviderHelper.cs
- SchemaImporter.cs
- CachedFontFace.cs
- TextTreePropertyUndoUnit.cs
- CursorConverter.cs
- SystemIPInterfaceProperties.cs
- AsyncOperation.cs
- TextCompositionEventArgs.cs
- Listbox.cs
- EnumMemberAttribute.cs
- SafeCancelMibChangeNotify.cs
- SchemaImporterExtension.cs
- DPCustomTypeDescriptor.cs
- SafeNativeMethods.cs
- CssClassPropertyAttribute.cs
- DataListItemCollection.cs
- SqlParameterizer.cs
- HttpProcessUtility.cs
- XsltConvert.cs
- Stylus.cs
- IPAddressCollection.cs
- WebEventTraceProvider.cs
- ConsoleKeyInfo.cs
- LinqToSqlWrapper.cs
- AddressHeaderCollectionElement.cs
- HyperLinkColumn.cs
- CachedPathData.cs
- HttpAsyncResult.cs
- RequiredFieldValidator.cs
- Rect3DValueSerializer.cs
- HttpGetProtocolImporter.cs
- HtmlInputButton.cs
- ViewgenContext.cs
- SelfSignedCertificate.cs
- StoreAnnotationsMap.cs
- ListView.cs
- RoleExceptions.cs
- TextServicesLoader.cs
- DecimalAnimation.cs
- RelationshipConverter.cs
- ScriptControlDescriptor.cs
- ComboBoxAutomationPeer.cs
- MatrixKeyFrameCollection.cs
- ISFTagAndGuidCache.cs
- SqlFileStream.cs
- CharStorage.cs