Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsDisconnectVerb.cs / 1 / WebPartConnectionsDisconnectVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsDisconnectVerb : 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.WebPartConnectionsDisconnectVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsDisconnectVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsDisconnectVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsDisconnectVerb_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 WebPartConnectionsDisconnectVerb : 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.WebPartConnectionsDisconnectVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsDisconnectVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsDisconnectVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsDisconnectVerb_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
- ComboBox.cs
- PackageProperties.cs
- UIElementAutomationPeer.cs
- AuthenticationManager.cs
- TagPrefixInfo.cs
- IdentifierElement.cs
- SamlAdvice.cs
- COM2AboutBoxPropertyDescriptor.cs
- DocumentXmlWriter.cs
- safemediahandle.cs
- UInt16.cs
- DbConnectionPoolIdentity.cs
- UnsafeNativeMethods.cs
- TableLayoutColumnStyleCollection.cs
- AttachedAnnotation.cs
- HtmlElementCollection.cs
- CorePropertiesFilter.cs
- ObjectDataSourceFilteringEventArgs.cs
- Utils.cs
- FilterableAttribute.cs
- DeclaredTypeElement.cs
- InvocationExpression.cs
- CSharpCodeProvider.cs
- DynamicDocumentPaginator.cs
- AnimationStorage.cs
- TimeoutHelper.cs
- ResourceType.cs
- PersistenceProviderBehavior.cs
- EventDescriptorCollection.cs
- ScriptModule.cs
- x509store.cs
- BooleanExpr.cs
- ByteKeyFrameCollection.cs
- DataServiceQueryOfT.cs
- WebPartUserCapability.cs
- FontCollection.cs
- FrameworkPropertyMetadata.cs
- DocumentGridContextMenu.cs
- Adorner.cs
- MessageVersion.cs
- InputLangChangeEvent.cs
- DataShape.cs
- BufferModeSettings.cs
- Unit.cs
- ResourceProviderFactory.cs
- PathFigure.cs
- ViewKeyConstraint.cs
- DataGridViewTextBoxEditingControl.cs
- SmiEventSink_DeferedProcessing.cs
- ButtonColumn.cs
- Invariant.cs
- COAUTHIDENTITY.cs
- SimpleFileLog.cs
- SQLDoubleStorage.cs
- ArrayHelper.cs
- ScriptMethodAttribute.cs
- TableNameAttribute.cs
- WebService.cs
- CallContext.cs
- CollectionConverter.cs
- XmlDataSourceView.cs
- FormViewInsertedEventArgs.cs
- TableLayoutStyleCollection.cs
- QueuePropertyVariants.cs
- UdpChannelListener.cs
- OleDbDataAdapter.cs
- Task.cs
- PKCS1MaskGenerationMethod.cs
- Processor.cs
- ScriptResourceMapping.cs
- SamlAssertion.cs
- SqlCharStream.cs
- RegionIterator.cs
- HyperLink.cs
- SlipBehavior.cs
- InvalidDataException.cs
- KnownColorTable.cs
- NotifyParentPropertyAttribute.cs
- DataGridToolTip.cs
- DataGridCommandEventArgs.cs
- SizeFConverter.cs
- EventWaitHandle.cs
- View.cs
- LookupNode.cs
- PnrpPermission.cs
- BeginEvent.cs
- SimpleMailWebEventProvider.cs
- DbDataSourceEnumerator.cs
- ExpressionPrinter.cs
- StringInfo.cs
- StringValidatorAttribute.cs
- ConfigXmlReader.cs
- CommandField.cs
- RadioButton.cs
- CngProvider.cs
- _ConnectionGroup.cs
- TemplateComponentConnector.cs
- DoubleAnimationUsingKeyFrames.cs
- LoginViewDesigner.cs
- GeneralTransform3DTo2DTo3D.cs