Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- _PooledStream.cs
- LinkUtilities.cs
- DbConnectionClosed.cs
- XmlAtomicValue.cs
- BulletDecorator.cs
- StorageTypeMapping.cs
- PreProcessor.cs
- NTAccount.cs
- CheckBoxDesigner.cs
- __Error.cs
- BlurEffect.cs
- DetailsViewInsertedEventArgs.cs
- DesignTimeVisibleAttribute.cs
- MetadataArtifactLoaderCompositeResource.cs
- behaviorssection.cs
- ScrollBar.cs
- CryptoKeySecurity.cs
- SignatureDescription.cs
- PixelShader.cs
- SchemaContext.cs
- CachingHintValidation.cs
- DeviceOverridableAttribute.cs
- NGCSerializer.cs
- Int32Rect.cs
- InputLanguage.cs
- HwndHostAutomationPeer.cs
- WebBrowserPermission.cs
- ControlAdapter.cs
- PublisherMembershipCondition.cs
- KeyFrames.cs
- AttributeUsageAttribute.cs
- AsymmetricSignatureFormatter.cs
- FrameworkReadOnlyPropertyMetadata.cs
- JournalEntryStack.cs
- SystemIPAddressInformation.cs
- HttpRequestCacheValidator.cs
- SerialStream.cs
- XmlLangPropertyAttribute.cs
- DesignerActionGlyph.cs
- CodeNamespaceImportCollection.cs
- log.cs
- CustomErrorsSection.cs
- DataGridViewRowPostPaintEventArgs.cs
- ToolboxItemCollection.cs
- DrawingBrush.cs
- IntegerValidator.cs
- ClientScriptManagerWrapper.cs
- newinstructionaction.cs
- TransformerInfoCollection.cs
- odbcmetadatafactory.cs
- SurrogateEncoder.cs
- MouseGestureValueSerializer.cs
- TrackingLocation.cs
- TableCellsCollectionEditor.cs
- AnnotationService.cs
- XPathMultyIterator.cs
- XmlUtil.cs
- ObjectViewEntityCollectionData.cs
- documentation.cs
- UriTemplateLiteralPathSegment.cs
- SafeCloseHandleCritical.cs
- CriticalExceptions.cs
- MultiPageTextView.cs
- GridEntryCollection.cs
- FileSystemEnumerable.cs
- UnionCqlBlock.cs
- FrameworkContextData.cs
- Menu.cs
- Overlapped.cs
- MsmqAppDomainProtocolHandler.cs
- prompt.cs
- IgnoreSectionHandler.cs
- StorageMappingFragment.cs
- GenericNameHandler.cs
- BufferedGraphics.cs
- VolatileResourceManager.cs
- HMACRIPEMD160.cs
- EntityDesignerBuildProvider.cs
- RouteItem.cs
- MsmqIntegrationBindingElement.cs
- SctClaimSerializer.cs
- QueryExtender.cs
- ToolStripItemImageRenderEventArgs.cs
- ToolStripManager.cs
- CollectionEditor.cs
- IApplicationTrustManager.cs
- SemaphoreFullException.cs
- SqlBulkCopyColumnMappingCollection.cs
- StateRuntime.cs
- DesignerListAdapter.cs
- FieldBuilder.cs
- DateTimePickerDesigner.cs
- CodeStatementCollection.cs
- LoginViewDesigner.cs
- StylusPoint.cs
- CardSpaceException.cs
- PixelShader.cs
- DataGridViewBand.cs
- CompressEmulationStream.cs
- DirectoryObjectSecurity.cs