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
- CommonProperties.cs
- SqlVersion.cs
- SqlSupersetValidator.cs
- ColorContextHelper.cs
- WindowExtensionMethods.cs
- TimeIntervalCollection.cs
- XmlSignificantWhitespace.cs
- Socket.cs
- PrincipalPermission.cs
- HttpHandlerAction.cs
- unsafenativemethodsother.cs
- MetadataArtifactLoaderResource.cs
- CodeStatementCollection.cs
- NativeMethods.cs
- TextPatternIdentifiers.cs
- X509CertificateCollection.cs
- EntityStoreSchemaFilterEntry.cs
- IHttpResponseInternal.cs
- AttributedMetaModel.cs
- DataGridSortCommandEventArgs.cs
- EventListener.cs
- GAC.cs
- input.cs
- Stylus.cs
- InputBindingCollection.cs
- ToolStripDropDownButton.cs
- HealthMonitoringSectionHelper.cs
- AutomationTextAttribute.cs
- ScrollChrome.cs
- TimeIntervalCollection.cs
- ClientRolePrincipal.cs
- StringAttributeCollection.cs
- Attributes.cs
- ModelTypeConverter.cs
- ActivityXRefConverter.cs
- HtmlTableRow.cs
- SqlDependencyListener.cs
- ReadOnlyObservableCollection.cs
- StringCollection.cs
- TypeConstant.cs
- DataGridViewDataErrorEventArgs.cs
- MasterPageParser.cs
- XmlByteStreamReader.cs
- PassportAuthenticationModule.cs
- InputChannelBinder.cs
- ICollection.cs
- DefaultProxySection.cs
- LocatorBase.cs
- Rule.cs
- XmlName.cs
- ReaderOutput.cs
- RSAProtectedConfigurationProvider.cs
- BulletedListDesigner.cs
- KnownTypesHelper.cs
- IPEndPointCollection.cs
- AutomationElement.cs
- HttpHandlersSection.cs
- HostingPreferredMapPath.cs
- DifferencingCollection.cs
- RenderTargetBitmap.cs
- TraceSection.cs
- TreeWalker.cs
- FilterException.cs
- CharAnimationUsingKeyFrames.cs
- __Filters.cs
- SoapIncludeAttribute.cs
- SafeMarshalContext.cs
- ClipboardProcessor.cs
- ImageMapEventArgs.cs
- ObjectIDGenerator.cs
- basenumberconverter.cs
- FormsAuthenticationEventArgs.cs
- xsdvalidator.cs
- FileReservationCollection.cs
- BreakRecordTable.cs
- LogReservationCollection.cs
- DrawingContextDrawingContextWalker.cs
- ContainerVisual.cs
- OpCellTreeNode.cs
- UriScheme.cs
- RuntimeConfigurationRecord.cs
- MatrixTransform3D.cs
- DataGridViewCellFormattingEventArgs.cs
- CommandID.cs
- FixedPageStructure.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- TransformedBitmap.cs
- Literal.cs
- BreakRecordTable.cs
- BevelBitmapEffect.cs
- DependencyObjectType.cs
- MeasureItemEvent.cs
- MarkupCompilePass2.cs
- InkCanvasSelectionAdorner.cs
- StatusBar.cs
- CodeMemberMethod.cs
- XamlTemplateSerializer.cs
- securitycriticaldata.cs
- COM2Properties.cs
- XmlUrlEditor.cs