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
- SqlGenericUtil.cs
- ImageList.cs
- XmlSchemaRedefine.cs
- UnicastIPAddressInformationCollection.cs
- TextDecorationLocationValidation.cs
- ComponentEvent.cs
- ToRequest.cs
- MergeFilterQuery.cs
- DataSourceViewSchemaConverter.cs
- ToolStripContextMenu.cs
- WebPartsSection.cs
- ConfigXmlComment.cs
- CompiledRegexRunner.cs
- ProxyGenerator.cs
- TemplatedMailWebEventProvider.cs
- Int16AnimationBase.cs
- AdornerLayer.cs
- HttpStreamMessage.cs
- XslAst.cs
- HtmlEmptyTagControlBuilder.cs
- Brush.cs
- BackgroundFormatInfo.cs
- AbandonedMutexException.cs
- RuleInfoComparer.cs
- BrowserCapabilitiesFactoryBase.cs
- Group.cs
- EntityDataSourceContextCreatedEventArgs.cs
- Storyboard.cs
- CellTreeNodeVisitors.cs
- CompilationLock.cs
- CrossAppDomainChannel.cs
- TextEffect.cs
- ByteAnimation.cs
- BezierSegment.cs
- QueryParameter.cs
- X509UI.cs
- EdmScalarPropertyAttribute.cs
- XmlQualifiedName.cs
- IteratorFilter.cs
- ReadOnlyState.cs
- ErrorItem.cs
- ElementsClipboardData.cs
- ControlPaint.cs
- CellParaClient.cs
- CacheSection.cs
- ValidationRuleCollection.cs
- TerminatorSinks.cs
- PerformanceCounterCategory.cs
- RegisteredArrayDeclaration.cs
- XmlSchemaComplexType.cs
- AcceptorSessionSymmetricMessageSecurityProtocol.cs
- LoadItemsEventArgs.cs
- HatchBrush.cs
- SqlRowUpdatedEvent.cs
- NotifyParentPropertyAttribute.cs
- SubpageParaClient.cs
- AxisAngleRotation3D.cs
- SessionStateModule.cs
- XmlSchemaException.cs
- Rectangle.cs
- BoundsDrawingContextWalker.cs
- RequestReplyCorrelator.cs
- StylusPlugInCollection.cs
- ArraySet.cs
- EncodingNLS.cs
- DigitShape.cs
- ServiceHostingEnvironment.cs
- Win32PrintDialog.cs
- ValidateNames.cs
- AnnotationAuthorChangedEventArgs.cs
- ConfigurationSectionCollection.cs
- TokenBasedSet.cs
- TcpTransportSecurityElement.cs
- EpmCustomContentWriterNodeData.cs
- PackWebRequest.cs
- FileAuthorizationModule.cs
- LoginCancelEventArgs.cs
- AtomContentProperty.cs
- NonPrimarySelectionGlyph.cs
- RubberbandSelector.cs
- SchemaCollectionPreprocessor.cs
- ColumnMap.cs
- BamlLocalizabilityResolver.cs
- ContractComponent.cs
- HtmlFormParameterWriter.cs
- DataServicePagingProviderWrapper.cs
- CacheOutputQuery.cs
- BufferedGraphicsContext.cs
- XmlBinaryWriter.cs
- PackUriHelper.cs
- SqlIdentifier.cs
- ScaleTransform.cs
- SrgsOneOf.cs
- DataColumnMapping.cs
- MulticastNotSupportedException.cs
- WindowsStartMenu.cs
- ChameleonKey.cs
- DbDataAdapter.cs
- SqlCachedBuffer.cs
- StringUtil.cs