Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsConfigureVerb.cs / 1 / WebPartConnectionsConfigureVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsConfigureVerb : 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.WebPartConnectionsConfigureVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConfigureVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsConfigureVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConfigureVerb_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 WebPartConnectionsConfigureVerb : 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.WebPartConnectionsConfigureVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConfigureVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsConfigureVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConfigureVerb_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
- XmlSchemaSubstitutionGroup.cs
- EntityClassGenerator.cs
- CryptoApi.cs
- WindowsStatic.cs
- X509UI.cs
- MappingMetadataHelper.cs
- CollectionAdapters.cs
- SemaphoreSecurity.cs
- ResourcePermissionBaseEntry.cs
- InputElement.cs
- FragmentQuery.cs
- ReadOnlyPropertyMetadata.cs
- ByteAnimationBase.cs
- DataChangedEventManager.cs
- ListViewCommandEventArgs.cs
- filewebresponse.cs
- Panel.cs
- BoolExpressionVisitors.cs
- GroupItemAutomationPeer.cs
- ListBindingHelper.cs
- DocumentXPathNavigator.cs
- XmlSchemaSimpleType.cs
- BasicDesignerLoader.cs
- InputBinding.cs
- WindowsFormsLinkLabel.cs
- QuaternionAnimationUsingKeyFrames.cs
- StringAnimationBase.cs
- IntegerValidatorAttribute.cs
- CharEntityEncoderFallback.cs
- MediaElement.cs
- CollectionBase.cs
- RegexGroupCollection.cs
- WmlControlAdapter.cs
- ObjectStateEntry.cs
- CodePageEncoding.cs
- MultiTrigger.cs
- ParallelSeparator.xaml.cs
- ChannelTerminatedException.cs
- ComboBox.cs
- PropertyPathWorker.cs
- PersonalizationEntry.cs
- XmlSchemaAny.cs
- IncrementalReadDecoders.cs
- HttpDebugHandler.cs
- DecodeHelper.cs
- SafeRegistryHandle.cs
- RelatedImageListAttribute.cs
- FontStyleConverter.cs
- TextDecorationCollection.cs
- DictionaryTraceRecord.cs
- RootBuilder.cs
- unsafenativemethodsother.cs
- PersistenceParticipant.cs
- AnimationLayer.cs
- GeneralTransform.cs
- KnownTypes.cs
- Stylesheet.cs
- IgnorePropertiesAttribute.cs
- NamespaceEmitter.cs
- RectValueSerializer.cs
- TemplateInstanceAttribute.cs
- XPathSelectionIterator.cs
- TextParagraphCache.cs
- MonitorWrapper.cs
- NetworkAddressChange.cs
- XmlSchemaDocumentation.cs
- PropertyRecord.cs
- WebPartEditorOkVerb.cs
- ListViewItem.cs
- PersonalizationDictionary.cs
- ConstructorArgumentAttribute.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- TextModifier.cs
- SamlAuthorizationDecisionStatement.cs
- EditBehavior.cs
- DataGridViewElement.cs
- DrawingAttributesDefaultValueFactory.cs
- X509Chain.cs
- DocumentApplicationState.cs
- XmlBinaryWriterSession.cs
- RadialGradientBrush.cs
- AccessorTable.cs
- CreateRefExpr.cs
- ImageAnimator.cs
- Brushes.cs
- Button.cs
- FormatConvertedBitmap.cs
- ApplicationFileParser.cs
- NamedElement.cs
- Html32TextWriter.cs
- Point3D.cs
- _DigestClient.cs
- Annotation.cs
- ProxyWebPart.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- MsmqQueue.cs
- SmiRequestExecutor.cs
- AvTraceDetails.cs
- ASCIIEncoding.cs
- HTTPNotFoundHandler.cs