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
- RegexReplacement.cs
- EntityConnectionStringBuilder.cs
- BindingsCollection.cs
- CharAnimationUsingKeyFrames.cs
- NullableDecimalAverageAggregationOperator.cs
- ActivationArguments.cs
- TextEditorSpelling.cs
- XmlMemberMapping.cs
- SectionRecord.cs
- UnsafeNativeMethods.cs
- ButtonAutomationPeer.cs
- ConsoleKeyInfo.cs
- WebRequestModuleElement.cs
- ThicknessAnimationUsingKeyFrames.cs
- SystemResources.cs
- StringInfo.cs
- BorderGapMaskConverter.cs
- TextEditorDragDrop.cs
- SQLInt32.cs
- InvokeProviderWrapper.cs
- SimplePropertyEntry.cs
- TypeElement.cs
- ProjectionPruner.cs
- GenericUI.cs
- DnsPermission.cs
- JsonFormatReaderGenerator.cs
- EntityDataSourceWizardForm.cs
- SqlExpressionNullability.cs
- HttpHandlerAction.cs
- Calendar.cs
- DataGridViewImageCell.cs
- AttachedPropertyMethodSelector.cs
- EventProperty.cs
- EntitySqlQueryState.cs
- InvalidWMPVersionException.cs
- WaveHeader.cs
- DesignerLinkAdapter.cs
- DataColumn.cs
- TypeUsage.cs
- FileRecordSequenceHelper.cs
- CommonObjectSecurity.cs
- DocumentAutomationPeer.cs
- LambdaCompiler.Address.cs
- IndexerNameAttribute.cs
- ActionNotSupportedException.cs
- ToolZoneDesigner.cs
- XmlCharCheckingReader.cs
- Hash.cs
- DrawingBrush.cs
- TaskFactory.cs
- SynchronizingStream.cs
- EventSetterHandlerConverter.cs
- OledbConnectionStringbuilder.cs
- SemaphoreSecurity.cs
- UpdateTranslator.cs
- AttributeAction.cs
- TableSectionStyle.cs
- Underline.cs
- ApplicationSecurityManager.cs
- DoubleSumAggregationOperator.cs
- WebDescriptionAttribute.cs
- IIS7WorkerRequest.cs
- DataBindingCollection.cs
- DrawingAttributeSerializer.cs
- AutomationPropertyInfo.cs
- SafeNativeMethods.cs
- NavigationProgressEventArgs.cs
- PointCollection.cs
- WebScriptEnablingElement.cs
- IProducerConsumerCollection.cs
- SchemaMapping.cs
- XmlDocumentSerializer.cs
- FlowchartDesignerCommands.cs
- BamlStream.cs
- OleDbFactory.cs
- ToolStripAdornerWindowService.cs
- CounterSampleCalculator.cs
- PaperSource.cs
- Sql8ConformanceChecker.cs
- DynamicPropertyReader.cs
- DirectoryInfo.cs
- WebPart.cs
- ISAPIApplicationHost.cs
- PermissionListSet.cs
- Accessible.cs
- iisPickupDirectory.cs
- TableColumnCollection.cs
- SystemIcmpV4Statistics.cs
- FileStream.cs
- BulletedList.cs
- CorrelationValidator.cs
- SubtreeProcessor.cs
- ColorBlend.cs
- PnrpPeerResolver.cs
- ToolboxItemCollection.cs
- KnownTypes.cs
- ACL.cs
- IgnoreSectionHandler.cs
- DeobfuscatingStream.cs
- XamlSerializer.cs