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
- MD5.cs
- WebConfigurationFileMap.cs
- GridViewEditEventArgs.cs
- CounterCreationData.cs
- DecimalConverter.cs
- VerticalAlignConverter.cs
- TypeSource.cs
- HelpPage.cs
- SQLUtility.cs
- EntityDataSourceStatementEditor.cs
- xmlsaver.cs
- SerializationStore.cs
- HtmlHead.cs
- RegexRunner.cs
- ColorMatrix.cs
- SQLMembershipProvider.cs
- ViewBase.cs
- OutputCacheProfile.cs
- AccessViolationException.cs
- Normalization.cs
- Assert.cs
- Volatile.cs
- SecurityException.cs
- StringSource.cs
- TransformedBitmap.cs
- InkCanvasInnerCanvas.cs
- SelectionUIHandler.cs
- ProviderException.cs
- CodeThrowExceptionStatement.cs
- EntityDataSourceValidationException.cs
- MatchingStyle.cs
- DocumentXmlWriter.cs
- AccessDataSource.cs
- InheritedPropertyChangedEventArgs.cs
- Comparer.cs
- RecommendedAsConfigurableAttribute.cs
- ExpressionParser.cs
- CommandDevice.cs
- LinqDataSourceView.cs
- Processor.cs
- ContextStaticAttribute.cs
- EntityCollection.cs
- UserPersonalizationStateInfo.cs
- ContravarianceAdapter.cs
- AmbientValueAttribute.cs
- WebPartConnectionsCancelVerb.cs
- SelectedDatesCollection.cs
- Base64Stream.cs
- WinFormsUtils.cs
- ActivityMarkupSerializer.cs
- UrlPath.cs
- FixedDSBuilder.cs
- HttpServerChannel.cs
- DataViewSetting.cs
- QueryableFilterUserControl.cs
- SecurityNegotiationException.cs
- HostedImpersonationContext.cs
- BindingMAnagerBase.cs
- RemotingConfigParser.cs
- AppLevelCompilationSectionCache.cs
- ResolveNameEventArgs.cs
- ValueQuery.cs
- VoiceInfo.cs
- ResourcesBuildProvider.cs
- MarshalDirectiveException.cs
- StrokeNodeEnumerator.cs
- ServiceNameCollection.cs
- ErrorFormatterPage.cs
- DirectionalLight.cs
- PathSegmentCollection.cs
- SettingsPropertyNotFoundException.cs
- Int16AnimationBase.cs
- EnlistmentState.cs
- AlignmentXValidation.cs
- Types.cs
- DefaultWorkflowTransactionService.cs
- TextTreeText.cs
- VoiceChangeEventArgs.cs
- OdbcConnection.cs
- RoutedEventValueSerializer.cs
- QualifierSet.cs
- FactoryRecord.cs
- SchemaEntity.cs
- ResourcesGenerator.cs
- DropShadowEffect.cs
- ColumnWidthChangedEvent.cs
- future.cs
- ConnectionsZone.cs
- SamlAction.cs
- ChannelProtectionRequirements.cs
- ToolStripScrollButton.cs
- FontDifferentiator.cs
- UriSection.cs
- CodeSnippetStatement.cs
- FactoryGenerator.cs
- IApplicationTrustManager.cs
- ProcessManager.cs
- BaseProcessor.cs
- UnsafeNativeMethods.cs
- COM2PropertyDescriptor.cs