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
- Compilation.cs
- PasswordRecovery.cs
- Label.cs
- RefExpr.cs
- InstancePersistence.cs
- SqlCacheDependencySection.cs
- PropertyMap.cs
- SortedList.cs
- XmlDictionaryString.cs
- Attributes.cs
- DescendentsWalker.cs
- BamlReader.cs
- ComplexBindingPropertiesAttribute.cs
- HtmlInputRadioButton.cs
- XPathAncestorQuery.cs
- ObjectAnimationUsingKeyFrames.cs
- Base64Encoder.cs
- CellRelation.cs
- GZipStream.cs
- MethodImplAttribute.cs
- QilInvoke.cs
- ModelFunction.cs
- HostingEnvironmentSection.cs
- HeaderLabel.cs
- connectionpool.cs
- RC2.cs
- Transform3D.cs
- WmlPageAdapter.cs
- SmtpFailedRecipientsException.cs
- CompiledQueryCacheKey.cs
- SqlServer2KCompatibilityCheck.cs
- RSAOAEPKeyExchangeFormatter.cs
- EmptyEnumerable.cs
- TypeElement.cs
- Win32Interop.cs
- ValidatorCompatibilityHelper.cs
- PointConverter.cs
- DoubleCollection.cs
- DataGridViewAutoSizeModeEventArgs.cs
- WebServiceBindingAttribute.cs
- ZipFileInfo.cs
- Source.cs
- FontFamilyIdentifier.cs
- EdmProperty.cs
- CodeExpressionStatement.cs
- AppSecurityManager.cs
- ExclusiveTcpListener.cs
- TriggerActionCollection.cs
- AmbiguousMatchException.cs
- EditorZoneBase.cs
- ReverseInheritProperty.cs
- CipherData.cs
- PersonalizationProviderCollection.cs
- ServerIdentity.cs
- Label.cs
- HitTestResult.cs
- XmlQualifiedName.cs
- BinHexDecoder.cs
- FormViewUpdateEventArgs.cs
- SubqueryTrackingVisitor.cs
- regiisutil.cs
- TypedReference.cs
- EncryptedPackage.cs
- SmiEventSink.cs
- ScriptReferenceEventArgs.cs
- ToolBarButtonClickEvent.cs
- AuthenticationSection.cs
- MappedMetaModel.cs
- MailWebEventProvider.cs
- OutputCacheSection.cs
- MemoryRecordBuffer.cs
- CodeAttributeArgumentCollection.cs
- Error.cs
- SystemIPAddressInformation.cs
- DisplayNameAttribute.cs
- mansign.cs
- RoleGroupCollection.cs
- RegexInterpreter.cs
- SparseMemoryStream.cs
- Command.cs
- HMACMD5.cs
- TextControl.cs
- RawStylusInputCustomData.cs
- UIntPtr.cs
- WebBrowserContainer.cs
- VBCodeProvider.cs
- EntityTemplateUserControl.cs
- DebugHandleTracker.cs
- ArrayWithOffset.cs
- OrCondition.cs
- GenericsInstances.cs
- StrongNamePublicKeyBlob.cs
- ParameterCollection.cs
- LogicalExpr.cs
- controlskin.cs
- StrongNameMembershipCondition.cs
- DocumentXmlWriter.cs
- BigInt.cs
- Pair.cs
- WorkflowServiceNamespace.cs