Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. //------------------------------------------------------------------------------ //// 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MatrixConverter.cs
- MenuItemBindingCollection.cs
- FormsAuthenticationModule.cs
- UserPreferenceChangingEventArgs.cs
- EntryPointNotFoundException.cs
- Geometry3D.cs
- altserialization.cs
- ZoneMembershipCondition.cs
- PnrpPeerResolverElement.cs
- AdornerLayer.cs
- IImplicitResourceProvider.cs
- StreamGeometry.cs
- SelectionItemPattern.cs
- RowToParametersTransformer.cs
- HyperLink.cs
- UInt16Storage.cs
- PropVariant.cs
- DbDataRecord.cs
- FieldAccessException.cs
- WizardPanelChangingEventArgs.cs
- DataGridViewDesigner.cs
- LicenseManager.cs
- StorageComplexPropertyMapping.cs
- PartitionResolver.cs
- ProfileInfo.cs
- DBConnection.cs
- PageStatePersister.cs
- WebBrowserSiteBase.cs
- SecurityPolicySection.cs
- Int32Collection.cs
- MobileErrorInfo.cs
- DbConnectionPoolIdentity.cs
- SourceFileBuildProvider.cs
- MessagePropertyFilter.cs
- DataControlField.cs
- SrgsGrammar.cs
- baseshape.cs
- TrimSurroundingWhitespaceAttribute.cs
- COM2Properties.cs
- WebBrowserProgressChangedEventHandler.cs
- StackBuilderSink.cs
- RuntimeHelpers.cs
- ArraySubsetEnumerator.cs
- TextTreeExtractElementUndoUnit.cs
- log.cs
- EncodingDataItem.cs
- ObjectQuery_EntitySqlExtensions.cs
- ThreadTrace.cs
- DbTransaction.cs
- TaiwanCalendar.cs
- DecoratedNameAttribute.cs
- ReadOnlyKeyedCollection.cs
- FlowDocumentPaginator.cs
- GridViewCancelEditEventArgs.cs
- ByteAnimation.cs
- PrintPageEvent.cs
- HijriCalendar.cs
- ConfigXmlCDataSection.cs
- FactoryRecord.cs
- QilList.cs
- RoutingConfiguration.cs
- DataGridPagerStyle.cs
- DataGridViewRowStateChangedEventArgs.cs
- RenderData.cs
- TemplateControlCodeDomTreeGenerator.cs
- RawStylusInputCustomDataList.cs
- DeploymentExceptionMapper.cs
- HashSetEqualityComparer.cs
- ReadOnlyNameValueCollection.cs
- ContentPlaceHolder.cs
- FileLoadException.cs
- TypeUtils.cs
- CommandBindingCollection.cs
- Rule.cs
- AvTraceFormat.cs
- RectangleF.cs
- Workspace.cs
- XmlSchemaComplexContentExtension.cs
- XmlSerializationWriter.cs
- StoreUtilities.cs
- CacheMemory.cs
- MaskedTextBoxDesignerActionList.cs
- DiagnosticTrace.cs
- CodeCastExpression.cs
- ModelPerspective.cs
- EncryptedData.cs
- JsonDataContract.cs
- DecoderNLS.cs
- GPRECT.cs
- FileDialogCustomPlace.cs
- SmiEventStream.cs
- CodeAttachEventStatement.cs
- ThreadStateException.cs
- IconBitmapDecoder.cs
- SslStream.cs
- Point.cs
- FormViewAutoFormat.cs
- CompressionTransform.cs
- WebPartDisplayModeEventArgs.cs
- ViewStateModeByIdAttribute.cs