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
- SchemaObjectWriter.cs
- LocalizationParserHooks.cs
- CodeAttributeArgumentCollection.cs
- XmlElementList.cs
- EventHandlersStore.cs
- LinkConverter.cs
- TraceContext.cs
- ActivityExecutionContextCollection.cs
- WebBrowserContainer.cs
- XmlReader.cs
- BufferedGraphicsContext.cs
- CqlQuery.cs
- PageMediaType.cs
- SqlCaseSimplifier.cs
- StylusSystemGestureEventArgs.cs
- FlowDocumentFormatter.cs
- Vector3dCollection.cs
- AdRotator.cs
- FixedTextBuilder.cs
- ProxyHwnd.cs
- WebPartVerbsEventArgs.cs
- ScriptingProfileServiceSection.cs
- Splitter.cs
- TransportChannelListener.cs
- SiteOfOriginContainer.cs
- ContactManager.cs
- TraceListener.cs
- DeviceFilterDictionary.cs
- DatePickerTextBox.cs
- BehaviorEditorPart.cs
- SoapExtensionReflector.cs
- webproxy.cs
- WebEvents.cs
- TableLayoutColumnStyleCollection.cs
- RadialGradientBrush.cs
- filewebresponse.cs
- ColumnReorderedEventArgs.cs
- embossbitmapeffect.cs
- CornerRadius.cs
- ColumnMapCopier.cs
- TypeCollectionPropertyEditor.cs
- typedescriptorpermission.cs
- ConnectionPoint.cs
- RegexCode.cs
- ReadOnlyHierarchicalDataSourceView.cs
- TextBlock.cs
- KeyPressEvent.cs
- WebServicesDescriptionAttribute.cs
- SqlError.cs
- WeakReferenceEnumerator.cs
- XmlUnspecifiedAttribute.cs
- EntityDesignerUtils.cs
- SchemaTypeEmitter.cs
- ZipIOCentralDirectoryBlock.cs
- X509Certificate2.cs
- KoreanCalendar.cs
- CodeConditionStatement.cs
- InvokePatternIdentifiers.cs
- DeploymentSection.cs
- LOSFormatter.cs
- DependencyPropertyDescriptor.cs
- SiteMapNodeCollection.cs
- KerberosReceiverSecurityToken.cs
- FileDialog_Vista.cs
- OleStrCAMarshaler.cs
- TextFormatterContext.cs
- CallSiteBinder.cs
- Button.cs
- ObjectKeyFrameCollection.cs
- Internal.cs
- Model3DCollection.cs
- PackageDigitalSignature.cs
- RightsManagementInformation.cs
- InkCanvasSelectionAdorner.cs
- SparseMemoryStream.cs
- SessionPageStateSection.cs
- ContextMarshalException.cs
- CollectionChangeEventArgs.cs
- PageThemeBuildProvider.cs
- NaturalLanguageHyphenator.cs
- LocalizableAttribute.cs
- StringConverter.cs
- ProtocolsSection.cs
- SessionState.cs
- ConvertEvent.cs
- MsmqTransportElement.cs
- SectionUpdates.cs
- ToolStripTextBox.cs
- BridgeDataReader.cs
- GeneralTransform3DGroup.cs
- CFStream.cs
- HierarchicalDataBoundControlAdapter.cs
- CheckBoxStandardAdapter.cs
- UpdateCompiler.cs
- WebServiceTypeData.cs
- DataServiceQueryProvider.cs
- TraceEventCache.cs
- ConvertersCollection.cs
- COM2FontConverter.cs
- FilteredXmlReader.cs