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
- InkCanvas.cs
- ApplicationCommands.cs
- ScriptControl.cs
- MorphHelper.cs
- FixedDSBuilder.cs
- CounterNameConverter.cs
- BookmarkEventArgs.cs
- EventDriven.cs
- SQLDecimalStorage.cs
- UIntPtr.cs
- Bezier.cs
- SendKeys.cs
- Timer.cs
- PatternMatcher.cs
- HttpFileCollection.cs
- UIEndRequest.cs
- RequestSecurityToken.cs
- DataRelationCollection.cs
- CoreSwitches.cs
- CodeRegionDirective.cs
- SynchronizedDispatch.cs
- HttpsChannelListener.cs
- EntityDataReader.cs
- UIElementAutomationPeer.cs
- ClientConfigPaths.cs
- StringConcat.cs
- BooleanFacetDescriptionElement.cs
- Border.cs
- XPathNode.cs
- ResourcePool.cs
- SQLInt32Storage.cs
- UseAttributeSetsAction.cs
- ImageCollectionCodeDomSerializer.cs
- BooleanConverter.cs
- WarningException.cs
- VersionedStreamOwner.cs
- TablePattern.cs
- XPathScanner.cs
- WebPartManagerDesigner.cs
- precedingsibling.cs
- DockProviderWrapper.cs
- DefaultIfEmptyQueryOperator.cs
- CodeAccessPermission.cs
- ExtensionQuery.cs
- PointAnimationClockResource.cs
- DefaultAuthorizationContext.cs
- _ListenerResponseStream.cs
- OutputCacheSettingsSection.cs
- ParallelTimeline.cs
- SqlConnection.cs
- EmptyQuery.cs
- WebControlsSection.cs
- ServiceInfo.cs
- BindUriHelper.cs
- CreateUserWizardStep.cs
- HitTestWithPointDrawingContextWalker.cs
- SqlMethodAttribute.cs
- ActivitySurrogate.cs
- QueryAsyncResult.cs
- EncodingInfo.cs
- PointConverter.cs
- OleDbParameter.cs
- CodeEventReferenceExpression.cs
- HttpApplicationFactory.cs
- PackageDigitalSignatureManager.cs
- HexParser.cs
- BrowserDefinitionCollection.cs
- TableItemProviderWrapper.cs
- ActionMessageFilter.cs
- Converter.cs
- SchemaCollectionPreprocessor.cs
- ClientCultureInfo.cs
- VisualBrush.cs
- NumberFunctions.cs
- ToolStripItemRenderEventArgs.cs
- ImportContext.cs
- Rect.cs
- MsmqIntegrationBindingCollectionElement.cs
- PanelStyle.cs
- PackageFilter.cs
- CompiledIdentityConstraint.cs
- SqlServer2KCompatibilityAnnotation.cs
- SoapElementAttribute.cs
- DbConnectionStringCommon.cs
- FixedTextContainer.cs
- AttributeUsageAttribute.cs
- SaveFileDialog.cs
- XmlTextReaderImplHelpers.cs
- TransactionValidationBehavior.cs
- StateInitializationDesigner.cs
- CodeBlockBuilder.cs
- MachineKey.cs
- WebPartHeaderCloseVerb.cs
- GenericRootAutomationPeer.cs
- SchemaTableColumn.cs
- DotExpr.cs
- NamedPipeHostedTransportConfiguration.cs
- ListViewItem.cs
- SecurityElement.cs
- OdbcException.cs