Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsCancelVerb.cs / 1 / 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
- WaitHandleCannotBeOpenedException.cs
- BuildResultCache.cs
- AttributeEmitter.cs
- ChannelTerminatedException.cs
- XmlFormatReaderGenerator.cs
- CatalogPartDesigner.cs
- SettingsPropertyValue.cs
- MailAddressParser.cs
- AppDomainManager.cs
- DataGridLinkButton.cs
- PathData.cs
- InvariantComparer.cs
- RuntimeConfigurationRecord.cs
- Parser.cs
- TileModeValidation.cs
- NestPullup.cs
- TableDetailsRow.cs
- AutomationPropertyInfo.cs
- EdmEntityTypeAttribute.cs
- XmlILTrace.cs
- FixedTextView.cs
- StorageSetMapping.cs
- URLString.cs
- HtmlShimManager.cs
- WCFModelStrings.Designer.cs
- WebPartMenu.cs
- EventSinkActivity.cs
- OperationCanceledException.cs
- HttpCapabilitiesEvaluator.cs
- Operator.cs
- MethodCallTranslator.cs
- WebServiceReceiveDesigner.cs
- HybridDictionary.cs
- XmlResolver.cs
- Int64KeyFrameCollection.cs
- TextWriterEngine.cs
- WebPartTracker.cs
- PtsPage.cs
- OleDbConnectionFactory.cs
- EdmPropertyAttribute.cs
- DocumentPageView.cs
- KeyPullup.cs
- AsmxEndpointPickerExtension.cs
- DataControlButton.cs
- AtlasWeb.Designer.cs
- CurrentChangingEventArgs.cs
- RegexGroup.cs
- Privilege.cs
- Errors.cs
- WebBrowserContainer.cs
- ExtendedProtectionPolicy.cs
- ConstantCheck.cs
- Lookup.cs
- NetPeerTcpBindingCollectionElement.cs
- FontDifferentiator.cs
- ScriptingProfileServiceSection.cs
- ResolveCriteriaCD1.cs
- CountAggregationOperator.cs
- SemanticResolver.cs
- UnSafeCharBuffer.cs
- CalendarItem.cs
- RequestCachingSection.cs
- Form.cs
- HttpServerProtocol.cs
- ErrorRuntimeConfig.cs
- _emptywebproxy.cs
- DataColumnMapping.cs
- XMLSyntaxException.cs
- WindowsToolbar.cs
- Vector3dCollection.cs
- DictionaryBase.cs
- SettingsPropertyNotFoundException.cs
- ProxyHwnd.cs
- QueryGeneratorBase.cs
- CalendarData.cs
- ToolStripItemRenderEventArgs.cs
- PropertyMapper.cs
- OleDbTransaction.cs
- TabControlDesigner.cs
- XmlSchemaSimpleContent.cs
- HashAlgorithm.cs
- DocumentPaginator.cs
- DataGridViewHeaderCell.cs
- FrameworkRichTextComposition.cs
- ClientRuntimeConfig.cs
- MultiView.cs
- HandlerFactoryCache.cs
- WebPartHeaderCloseVerb.cs
- SymmetricAlgorithm.cs
- SQLBinaryStorage.cs
- SqlProvider.cs
- InheritablePropertyChangeInfo.cs
- InfoCardProofToken.cs
- WindowsEditBoxRange.cs
- OwnerDrawPropertyBag.cs
- SqlCachedBuffer.cs
- DocumentCollection.cs
- ResolveNameEventArgs.cs
- RelatedEnd.cs
- XamlStyleSerializer.cs