Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. // //----------------------------------------------------------------------------- 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- QueryCacheManager.cs
- XmlLinkedNode.cs
- TableSectionStyle.cs
- ListViewUpdatedEventArgs.cs
- IssuanceLicense.cs
- ConfigurationErrorsException.cs
- Item.cs
- TabItemWrapperAutomationPeer.cs
- XmlSchemaValidationException.cs
- RadioButtonStandardAdapter.cs
- ListDictionary.cs
- CapabilitiesSection.cs
- ArrayList.cs
- GatewayDefinition.cs
- ExitEventArgs.cs
- SettingsBase.cs
- Evaluator.cs
- SystemThemeKey.cs
- DateTime.cs
- SortedSet.cs
- RecognizerStateChangedEventArgs.cs
- DataGridViewCellStyleBuilderDialog.cs
- StyleSelector.cs
- DecimalStorage.cs
- RightsManagementInformation.cs
- PropertyRef.cs
- MutableAssemblyCacheEntry.cs
- StoreItemCollection.cs
- safesecurityhelperavalon.cs
- PrivilegedConfigurationManager.cs
- ChildrenQuery.cs
- RectangleHotSpot.cs
- FileLogRecordEnumerator.cs
- SimpleLine.cs
- UriTemplateMatch.cs
- MD5CryptoServiceProvider.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- ConnectionsZoneDesigner.cs
- TextRangeSerialization.cs
- DelayedRegex.cs
- TreeNodeCollection.cs
- DataContractSerializer.cs
- MaskedTextBoxTextEditor.cs
- MultiBindingExpression.cs
- ConfigurationCollectionAttribute.cs
- VisualProxy.cs
- GenericIdentity.cs
- FlowDocument.cs
- FilteredAttributeCollection.cs
- Symbol.cs
- MetadataSerializer.cs
- DecoderReplacementFallback.cs
- ObjectSpanRewriter.cs
- Paragraph.cs
- TypeTypeConverter.cs
- SelectorAutomationPeer.cs
- ClientProxyGenerator.cs
- SerializationStore.cs
- PathFigure.cs
- MemberHolder.cs
- ConfigurationStrings.cs
- ItemList.cs
- HtmlPageAdapter.cs
- AliasedSlot.cs
- ApplicationManager.cs
- TrackingProfile.cs
- EditorZoneAutoFormat.cs
- RectKeyFrameCollection.cs
- XsltSettings.cs
- BamlLocalizableResource.cs
- SecureUICommand.cs
- SpecialFolderEnumConverter.cs
- WindowsSecurityToken.cs
- ClientCredentialsElement.cs
- ExpressionEditorSheet.cs
- SqlFunctionAttribute.cs
- ItemType.cs
- ImageDrawing.cs
- ConsoleCancelEventArgs.cs
- TemplatePartAttribute.cs
- DbConnectionPoolOptions.cs
- DoubleKeyFrameCollection.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- QueryResult.cs
- ConnectionPoint.cs
- FigureParagraph.cs
- MergeFailedEvent.cs
- Table.cs
- UnsettableComboBox.cs
- ProcessModelInfo.cs
- TextTreeNode.cs
- TabletDeviceInfo.cs
- ApplicationBuildProvider.cs
- ConfigurationPermission.cs
- PhysicalOps.cs
- BatchServiceHost.cs
- BadImageFormatException.cs
- GeneralTransform2DTo3D.cs
- ThemeableAttribute.cs
- Int32Rect.cs