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
- FixedSOMContainer.cs
- BaseTransportHeaders.cs
- AsyncOperation.cs
- FontFamilyIdentifier.cs
- WorkflowApplicationUnhandledExceptionEventArgs.cs
- GridViewUpdatedEventArgs.cs
- CommonXSendMessage.cs
- AttachedAnnotationChangedEventArgs.cs
- AspProxy.cs
- IConvertible.cs
- HwndProxyElementProvider.cs
- SpecialFolderEnumConverter.cs
- DataSourceHelper.cs
- DateRangeEvent.cs
- FormsAuthenticationConfiguration.cs
- CornerRadiusConverter.cs
- DataColumnMapping.cs
- ImmutableObjectAttribute.cs
- BrowserCapabilitiesFactoryBase.cs
- ReadOnlyState.cs
- Int32CAMarshaler.cs
- TextBoxAutomationPeer.cs
- TokenBasedSet.cs
- ServiceChannelFactory.cs
- MediaContextNotificationWindow.cs
- ManipulationDevice.cs
- FixedElement.cs
- PaginationProgressEventArgs.cs
- CustomSignedXml.cs
- RawStylusInput.cs
- IDataContractSurrogate.cs
- HtmlInputControl.cs
- PropertyDescriptorComparer.cs
- ObjectQueryProvider.cs
- PageTheme.cs
- SpellerInterop.cs
- UnaryExpressionHelper.cs
- HtmlInputFile.cs
- BinaryConverter.cs
- TokenBasedSet.cs
- FixedSOMContainer.cs
- StringExpressionSet.cs
- WindowShowOrOpenTracker.cs
- DuplexChannelFactory.cs
- dtdvalidator.cs
- MenuItemBinding.cs
- ExpressionList.cs
- PackagePartCollection.cs
- ExtensionWindowResizeGrip.cs
- SynchronizedDispatch.cs
- ToolboxItemAttribute.cs
- XMLDiffLoader.cs
- UserPreferenceChangedEventArgs.cs
- BinaryEditor.cs
- DoubleAnimationUsingPath.cs
- FlowDocumentScrollViewer.cs
- IPEndPointCollection.cs
- Hashtable.cs
- ManipulationPivot.cs
- SamlSubjectStatement.cs
- LinqDataSourceUpdateEventArgs.cs
- SelectedDatesCollection.cs
- TransactedBatchingElement.cs
- HighlightVisual.cs
- WhileDesigner.cs
- SmiXetterAccessMap.cs
- ValidationRuleCollection.cs
- Transform3DGroup.cs
- Enum.cs
- InputProviderSite.cs
- PrefixQName.cs
- SubordinateTransaction.cs
- XmlException.cs
- PropagatorResult.cs
- ToolStripDropTargetManager.cs
- Model3DGroup.cs
- BoundingRectTracker.cs
- UserMapPath.cs
- ChangeProcessor.cs
- ListViewHitTestInfo.cs
- DrawingState.cs
- TextSpanModifier.cs
- TextBoxRenderer.cs
- DBAsyncResult.cs
- BinHexDecoder.cs
- MessageQueueEnumerator.cs
- DetailsViewInsertEventArgs.cs
- DragDropManager.cs
- TextElement.cs
- safesecurityhelperavalon.cs
- TextElementCollectionHelper.cs
- ZipIOLocalFileHeader.cs
- GeneralTransform3DCollection.cs
- Item.cs
- TypeConverters.cs
- PageParserFilter.cs
- FixedSOMLineRanges.cs
- IFlowDocumentViewer.cs
- Preprocessor.cs
- HttpRequestWrapper.cs