Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsCancelVerb.cs / 1305376 / WebPartConnectionsCancelVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsCancelVerb : WebPartActionVerb { // Properties must look at viewstate directly instead of the property in the base class, // so we can distinguish between an unset property and a property set to String.Empty. [ WebSysDefaultValue(SR.WebPartConnectionsCancelVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCancelVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsCancelVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCancelVerb_Text) : (string)o; } set { ViewState["Text"] = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsCancelVerb : WebPartActionVerb { // Properties must look at viewstate directly instead of the property in the base class, // so we can distinguish between an unset property and a property set to String.Empty. [ WebSysDefaultValue(SR.WebPartConnectionsCancelVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCancelVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsCancelVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCancelVerb_Text) : (string)o; } set { ViewState["Text"] = value; } } } } // 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
- ItemCollection.cs
- MD5HashHelper.cs
- HttpsHostedTransportConfiguration.cs
- SimpleFieldTemplateUserControl.cs
- FileDialog.cs
- mactripleDES.cs
- SoapFormatter.cs
- SimpleExpression.cs
- LocalTransaction.cs
- ListItemParagraph.cs
- XamlToRtfWriter.cs
- DbParameterCollectionHelper.cs
- BaseDataBoundControl.cs
- DependencyObjectType.cs
- RecommendedAsConfigurableAttribute.cs
- LinkClickEvent.cs
- ValidatorCompatibilityHelper.cs
- XmlBinaryReaderSession.cs
- FileFormatException.cs
- SettingsPropertyWrongTypeException.cs
- DropShadowEffect.cs
- CompositeDataBoundControl.cs
- InternalTypeHelper.cs
- BufferAllocator.cs
- SystemIPInterfaceStatistics.cs
- _AuthenticationState.cs
- X509Certificate2.cs
- GridViewSortEventArgs.cs
- RawAppCommandInputReport.cs
- StartFileNameEditor.cs
- StrongNameIdentityPermission.cs
- DataRelation.cs
- ImageListStreamer.cs
- CatalogZoneBase.cs
- XmlSchemaNotation.cs
- Compress.cs
- Stack.cs
- ValueSerializerAttribute.cs
- NeutralResourcesLanguageAttribute.cs
- UrlMappingCollection.cs
- ItemChangedEventArgs.cs
- XmlSerializerNamespaces.cs
- Util.cs
- SemanticResolver.cs
- FixedTextContainer.cs
- PackWebRequest.cs
- ExtractedStateEntry.cs
- EndpointInfoCollection.cs
- TypeUnloadedException.cs
- SignatureToken.cs
- MethodBuilder.cs
- MemberProjectionIndex.cs
- SpeechAudioFormatInfo.cs
- HierarchicalDataTemplate.cs
- DrawingImage.cs
- XmlSerializerFactory.cs
- RedistVersionInfo.cs
- DesignerAttributeInfo.cs
- SmtpClient.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- TreeNodeConverter.cs
- SoapHeaderAttribute.cs
- HTMLTagNameToTypeMapper.cs
- FormViewRow.cs
- BuilderPropertyEntry.cs
- AstNode.cs
- AsmxEndpointPickerExtension.cs
- Panel.cs
- PingReply.cs
- UnsafeNativeMethodsMilCoreApi.cs
- AsyncOperation.cs
- PreservationFileWriter.cs
- BufferModeSettings.cs
- ConfigXmlCDataSection.cs
- DataGridItem.cs
- TreeBuilder.cs
- StreamMarshaler.cs
- OracleConnectionString.cs
- QuaternionAnimation.cs
- ItemsControl.cs
- QilLoop.cs
- DateTimeOffsetStorage.cs
- relpropertyhelper.cs
- EntityParameterCollection.cs
- IdnMapping.cs
- ImageSource.cs
- DataSourceComponent.cs
- AutomationProperty.cs
- KnowledgeBase.cs
- ViewEvent.cs
- SecurityContext.cs
- WebPartsSection.cs
- PointKeyFrameCollection.cs
- XmlCustomFormatter.cs
- XmlConvert.cs
- RpcCryptoContext.cs
- XmlLanguageConverter.cs
- coordinatorfactory.cs
- DataServices.cs
- FontClient.cs