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
- ProfileWorkflowElement.cs
- ActivityWithResultWrapper.cs
- ClientCultureInfo.cs
- WindowsPrincipal.cs
- ExternalException.cs
- DefaultValidator.cs
- CriticalHandle.cs
- TypeReference.cs
- ScrollContentPresenter.cs
- SegmentInfo.cs
- WorkflowStateRollbackService.cs
- DetailsViewPageEventArgs.cs
- TransformConverter.cs
- WindowsRegion.cs
- Matrix3DValueSerializer.cs
- PropertyPushdownHelper.cs
- ContainerParaClient.cs
- CopyOfAction.cs
- FixedSOMImage.cs
- SettingsPropertyValueCollection.cs
- ValidationErrorCollection.cs
- MatrixIndependentAnimationStorage.cs
- updatecommandorderer.cs
- ListControlConvertEventArgs.cs
- WebExceptionStatus.cs
- ToolStripTemplateNode.cs
- FixedPageProcessor.cs
- MenuItemStyle.cs
- WsatServiceAddress.cs
- ObjectStateManager.cs
- NativeMethods.cs
- MbpInfo.cs
- MergablePropertyAttribute.cs
- RecipientIdentity.cs
- ToolStripItemTextRenderEventArgs.cs
- PropertyEntry.cs
- SystemIPInterfaceProperties.cs
- TCPListener.cs
- StdValidatorsAndConverters.cs
- HostSecurityManager.cs
- IOException.cs
- XmlMtomWriter.cs
- DbConnectionHelper.cs
- PresentationSource.cs
- RangeValuePatternIdentifiers.cs
- XmlMessageFormatter.cs
- NavigationHelper.cs
- TargetConverter.cs
- ValuePattern.cs
- StackOverflowException.cs
- HtmlValidationSummaryAdapter.cs
- ToolTip.cs
- ForceCopyBuildProvider.cs
- RegexNode.cs
- RemotingConfigParser.cs
- GridEntry.cs
- OutputCacheSettingsSection.cs
- DataRow.cs
- CommandManager.cs
- DBConcurrencyException.cs
- DependencyObject.cs
- CollectionAdapters.cs
- SecurityResources.cs
- HttpWebResponse.cs
- DrawingVisualDrawingContext.cs
- RelationshipFixer.cs
- UnsafeNativeMethods.cs
- AccessKeyManager.cs
- UnionCodeGroup.cs
- ScrollViewerAutomationPeer.cs
- X509ChainElement.cs
- SoapHeaderAttribute.cs
- DataControlLinkButton.cs
- FixedPosition.cs
- ObjectResult.cs
- DbgCompiler.cs
- AttributeAction.cs
- SqlCaseSimplifier.cs
- ObjRef.cs
- EditorServiceContext.cs
- X509Chain.cs
- RefreshEventArgs.cs
- DesignerActionUIStateChangeEventArgs.cs
- VersionPair.cs
- ZeroOpNode.cs
- SqlSelectStatement.cs
- XmlUnspecifiedAttribute.cs
- DeviceFilterEditorDialog.cs
- UnicodeEncoding.cs
- QuestionEventArgs.cs
- Rect3DConverter.cs
- IndentedWriter.cs
- AutomationPropertyInfo.cs
- DebugView.cs
- DataGridViewRowEventArgs.cs
- RawStylusInputCustomData.cs
- XmlElementList.cs
- UnsafeNativeMethods.cs
- SByteConverter.cs
- EditorBrowsableAttribute.cs