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 / WebPartConnectionsCloseVerb.cs / 1 / WebPartConnectionsCloseVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsCloseVerb : 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.WebPartConnectionsCloseVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCloseVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsCloseVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCloseVerb_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 WebPartConnectionsCloseVerb : 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.WebPartConnectionsCloseVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCloseVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsCloseVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCloseVerb_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
- ScaleTransform.cs
- PermissionSetTriple.cs
- PropertyChange.cs
- MetafileHeader.cs
- BezierSegment.cs
- MsmqProcessProtocolHandler.cs
- MemoryFailPoint.cs
- EventSourceCreationData.cs
- AtomMaterializer.cs
- SqlDataReader.cs
- serverconfig.cs
- DynamicUpdateCommand.cs
- Transform.cs
- sitestring.cs
- NativeMethods.cs
- Stroke.cs
- ControlBindingsCollection.cs
- Int16Storage.cs
- cookiecontainer.cs
- XmlWrappingWriter.cs
- TextDocumentView.cs
- _FtpDataStream.cs
- StrokeNodeData.cs
- InvalidMessageContractException.cs
- QueryOutputWriterV1.cs
- OutKeywords.cs
- Exceptions.cs
- PassportAuthentication.cs
- MessageLogTraceRecord.cs
- CLSCompliantAttribute.cs
- ImageMapEventArgs.cs
- RepeatBehaviorConverter.cs
- EnumerableCollectionView.cs
- FrameworkObject.cs
- DbParameterCollection.cs
- ConfigurationValidatorBase.cs
- Parser.cs
- Process.cs
- XmlObjectSerializerReadContextComplexJson.cs
- WebReferencesBuildProvider.cs
- MergeFailedEvent.cs
- XmlSiteMapProvider.cs
- RightsManagementInformation.cs
- CmsInterop.cs
- DrawingContextDrawingContextWalker.cs
- EventlogProvider.cs
- CompilationRelaxations.cs
- _TimerThread.cs
- MSAAEventDispatcher.cs
- TextParagraphView.cs
- URLMembershipCondition.cs
- CombinedGeometry.cs
- MessageHeaderException.cs
- PropertyInformation.cs
- CaseInsensitiveHashCodeProvider.cs
- Icon.cs
- MemoryResponseElement.cs
- FlowNode.cs
- COMException.cs
- SessionStateContainer.cs
- ProvidersHelper.cs
- HttpResponseHeader.cs
- SmiEventSink.cs
- BatchParser.cs
- ExpressionsCollectionConverter.cs
- TableLayoutColumnStyleCollection.cs
- XmlIncludeAttribute.cs
- PatternMatcher.cs
- MobileControlsSectionHelper.cs
- XmlComplianceUtil.cs
- QueryCacheEntry.cs
- KeyToListMap.cs
- Point3DCollection.cs
- HtmlElementCollection.cs
- WsatExtendedInformation.cs
- DeviceFilterEditorDialog.cs
- DetailsViewPagerRow.cs
- _ShellExpression.cs
- FirstMatchCodeGroup.cs
- SqlExpressionNullability.cs
- GroupItem.cs
- WriteTimeStream.cs
- TypeProvider.cs
- VectorAnimationUsingKeyFrames.cs
- AncestorChangedEventArgs.cs
- XmlStringTable.cs
- HostingEnvironmentException.cs
- CreateUserWizardStep.cs
- FormViewPagerRow.cs
- OrCondition.cs
- WindowsSlider.cs
- WorkflowOperationBehavior.cs
- InternalException.cs
- TextRunTypographyProperties.cs
- SqlDataSourceFilteringEventArgs.cs
- ConfigPathUtility.cs
- SynchronizationContext.cs
- MatrixCamera.cs
- LowerCaseStringConverter.cs
- ListBoxChrome.cs