Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsCloseVerb.cs / 1 / WebPartConnectionsCloseVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsCloseVerb : 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.WebPartConnectionsCloseVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCloseVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsCloseVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCloseVerb_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 WebPartConnectionsCloseVerb : 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.WebPartConnectionsCloseVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCloseVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsCloseVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCloseVerb_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
- ButtonBaseAutomationPeer.cs
- Wrapper.cs
- ExternalException.cs
- BinaryObjectReader.cs
- TextEditorSpelling.cs
- CompareValidator.cs
- Propagator.cs
- ViewCellRelation.cs
- DataGridViewRowsRemovedEventArgs.cs
- ValidationSummary.cs
- GridView.cs
- DrawingState.cs
- CardSpacePolicyElement.cs
- RotateTransform.cs
- AuthStoreRoleProvider.cs
- Descriptor.cs
- XmlNamespaceManager.cs
- PreDigestedSignedInfo.cs
- WinCategoryAttribute.cs
- ObjectItemNoOpAssemblyLoader.cs
- DelegateOutArgument.cs
- FocusWithinProperty.cs
- OdbcParameterCollection.cs
- CalloutQueueItem.cs
- BindingNavigatorDesigner.cs
- ForceCopyBuildProvider.cs
- ItemsControlAutomationPeer.cs
- ECDsaCng.cs
- CopyOfAction.cs
- DataObjectFieldAttribute.cs
- ComboBox.cs
- X509UI.cs
- CqlErrorHelper.cs
- GroupBox.cs
- StylusCollection.cs
- FontStretch.cs
- DesigntimeLicenseContext.cs
- XmlMemberMapping.cs
- ArgumentException.cs
- unsafeIndexingFilterStream.cs
- MultiView.cs
- InkPresenterAutomationPeer.cs
- WizardStepCollectionEditor.cs
- MessageSecurityOverHttpElement.cs
- TypeName.cs
- HttpProxyTransportBindingElement.cs
- TagPrefixInfo.cs
- IndexerHelper.cs
- PostBackTrigger.cs
- DecoderExceptionFallback.cs
- LocalizationCodeDomSerializer.cs
- ValueConversionAttribute.cs
- XmlDataFileEditor.cs
- SaveRecipientRequest.cs
- XmlSchemaNotation.cs
- ChannelEndpointElement.cs
- MultiBindingExpression.cs
- HttpHeaderCollection.cs
- DataGridCaption.cs
- ItemChangedEventArgs.cs
- BindingList.cs
- BinaryObjectInfo.cs
- ConstraintCollection.cs
- MatrixTransform.cs
- AsyncPostBackTrigger.cs
- ObjectSpanRewriter.cs
- DataPointer.cs
- Inline.cs
- ProviderUtil.cs
- TdsParserSessionPool.cs
- Queue.cs
- HierarchicalDataBoundControlAdapter.cs
- SessionEndingCancelEventArgs.cs
- CompoundFileReference.cs
- XsdDuration.cs
- SessionParameter.cs
- XmlNodeComparer.cs
- ReliabilityContractAttribute.cs
- TextInfo.cs
- DesignConnectionCollection.cs
- TdsParserSafeHandles.cs
- SqlCommandSet.cs
- AdCreatedEventArgs.cs
- BufferedWebEventProvider.cs
- versioninfo.cs
- InvokeBase.cs
- VerificationAttribute.cs
- Panel.cs
- ProfileModule.cs
- BaseAsyncResult.cs
- GridViewCommandEventArgs.cs
- ImageCodecInfoPrivate.cs
- ExpandSegmentCollection.cs
- EvidenceBase.cs
- GZipStream.cs
- DataGridToolTip.cs
- WorkingDirectoryEditor.cs
- IDispatchConstantAttribute.cs
- EncoderExceptionFallback.cs
- BrowserCapabilitiesCompiler.cs