Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ProfileParameter.cs
- FamilyTypeface.cs
- BrowserDefinition.cs
- Point3DIndependentAnimationStorage.cs
- PriorityQueue.cs
- BindValidationContext.cs
- BinaryCommonClasses.cs
- xmlglyphRunInfo.cs
- RegexWorker.cs
- ColorPalette.cs
- Switch.cs
- QueryOutputWriter.cs
- HttpApplicationStateWrapper.cs
- ELinqQueryState.cs
- XmlNodeComparer.cs
- SectionVisual.cs
- XmlSignatureProperties.cs
- DataGridViewColumnStateChangedEventArgs.cs
- ParallelTimeline.cs
- HashHelper.cs
- CorrelationService.cs
- DataGridViewMethods.cs
- XmlILConstructAnalyzer.cs
- CqlParser.cs
- XmlAttributeOverrides.cs
- EventMemberCodeDomSerializer.cs
- HtmlMeta.cs
- MediaElement.cs
- GlyphInfoList.cs
- PropertyGrid.cs
- CheckBoxFlatAdapter.cs
- ConfigurationStrings.cs
- GenericEnumerator.cs
- DatagridviewDisplayedBandsData.cs
- StrongNameIdentityPermission.cs
- PowerStatus.cs
- HttpBindingExtension.cs
- AsymmetricKeyExchangeDeformatter.cs
- WindowsUpDown.cs
- Int64Animation.cs
- PrintPreviewControl.cs
- Cursors.cs
- UrlMappingsSection.cs
- TextPointerBase.cs
- CodeObjectCreateExpression.cs
- ListBox.cs
- ToolTipService.cs
- LoadWorkflowAsyncResult.cs
- PositiveTimeSpanValidator.cs
- XmlSchemaSimpleType.cs
- BamlMapTable.cs
- ErrorWebPart.cs
- FlowLayout.cs
- baseaxisquery.cs
- InvalidDocumentContentsException.cs
- SystemColorTracker.cs
- XmlnsCompatibleWithAttribute.cs
- BitmapScalingModeValidation.cs
- XmlCustomFormatter.cs
- EventToken.cs
- IdentifierCreationService.cs
- TransformValueSerializer.cs
- ComContractElement.cs
- DrawingGroup.cs
- CommandLineParser.cs
- ComplexObject.cs
- Relationship.cs
- SqlDataSourceStatusEventArgs.cs
- EventLog.cs
- TimerEventSubscription.cs
- ColumnWidthChangedEvent.cs
- OdbcConnectionString.cs
- DataKeyArray.cs
- SrgsSemanticInterpretationTag.cs
- XmlSchemaAttributeGroupRef.cs
- StringToken.cs
- _DisconnectOverlappedAsyncResult.cs
- ElementNotEnabledException.cs
- BrowserCapabilitiesFactory.cs
- ContractReference.cs
- BuildProvider.cs
- OptimizerPatterns.cs
- ConfigurationSettings.cs
- DataSourceCache.cs
- MatrixCamera.cs
- GroupByExpressionRewriter.cs
- _LocalDataStore.cs
- _NegotiateClient.cs
- IndexedDataBuffer.cs
- PageParser.cs
- MenuItemCollectionEditor.cs
- DataGridViewButtonColumn.cs
- OpacityConverter.cs
- BindingMemberInfo.cs
- DeferredSelectedIndexReference.cs
- TraceContextEventArgs.cs
- DataControlButton.cs
- HwndMouseInputProvider.cs
- CellPartitioner.cs
- RepeatButton.cs