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
- GridViewHeaderRowPresenterAutomationPeer.cs
- ToolboxComponentsCreatingEventArgs.cs
- NativeCppClassAttribute.cs
- MasterPageBuildProvider.cs
- FormsAuthenticationConfiguration.cs
- SchemaMerger.cs
- ObjectSet.cs
- RequestedSignatureDialog.cs
- DataColumnPropertyDescriptor.cs
- VersionPair.cs
- SlipBehavior.cs
- HttpCacheVaryByContentEncodings.cs
- MimeMultiPart.cs
- SplayTreeNode.cs
- InstalledVoice.cs
- KeyValuePairs.cs
- Rfc4050KeyFormatter.cs
- XamlTypeMapper.cs
- XmlSchemaCollection.cs
- InstanceLockQueryResult.cs
- JsonFormatMapping.cs
- ContainerParaClient.cs
- ImageAnimator.cs
- ToolboxItemCollection.cs
- nulltextnavigator.cs
- HierarchicalDataBoundControl.cs
- OperationCanceledException.cs
- Error.cs
- validationstate.cs
- MailAddress.cs
- OperationInfo.cs
- SoapSchemaImporter.cs
- RadioButtonStandardAdapter.cs
- NativeMethods.cs
- ConfigsHelper.cs
- WindowsAuthenticationEventArgs.cs
- ProxyHwnd.cs
- ExpressionTextBoxAutomationPeer.cs
- Package.cs
- EntityCommandCompilationException.cs
- LicenseException.cs
- PresentationSource.cs
- NewExpression.cs
- ReadOnlyDictionary.cs
- CodeNamespaceCollection.cs
- LayoutInformation.cs
- MenuBase.cs
- PointF.cs
- MessageDecoder.cs
- ScriptControlManager.cs
- DataGridItemCollection.cs
- DataSetMappper.cs
- SchemaInfo.cs
- AtomParser.cs
- EventLogPermissionEntry.cs
- DesignerLoader.cs
- TextCharacters.cs
- CalendarTable.cs
- TextViewBase.cs
- CalendarDesigner.cs
- MemoryMappedFileSecurity.cs
- FormsAuthenticationUser.cs
- Parser.cs
- ClockController.cs
- XslCompiledTransform.cs
- HostProtectionException.cs
- XmlElementElementCollection.cs
- EmptyEnumerable.cs
- Base64WriteStateInfo.cs
- SEHException.cs
- EntityDataSourceReferenceGroup.cs
- ValidationHelpers.cs
- UInt64Storage.cs
- SystemNetworkInterface.cs
- Operators.cs
- DataGridViewColumnHeaderCell.cs
- JsonReaderWriterFactory.cs
- OleDbException.cs
- LineBreak.cs
- UserNameSecurityTokenProvider.cs
- ProfileGroupSettings.cs
- SourceFileInfo.cs
- OleDbConnection.cs
- AppDomainUnloadedException.cs
- LassoSelectionBehavior.cs
- UriParserTemplates.cs
- CaseExpr.cs
- ContentPlaceHolder.cs
- TableRowGroup.cs
- BaseWebProxyFinder.cs
- BatchStream.cs
- TableHeaderCell.cs
- Variant.cs
- EntryPointNotFoundException.cs
- ServiceEndpointAssociationProvider.cs
- TableRowsCollectionEditor.cs
- RepeaterDesigner.cs
- MenuCommands.cs
- PropertyPathWorker.cs
- ValidationEventArgs.cs