Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsDisconnectVerb.cs / 1305376 / 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. // //----------------------------------------------------------------------------- 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HtmlButton.cs
- MonitoringDescriptionAttribute.cs
- HybridObjectCache.cs
- SecurityContext.cs
- ForeignKeyFactory.cs
- PropertyGroupDescription.cs
- ConstraintEnumerator.cs
- TypeHelper.cs
- coordinatorfactory.cs
- DBSqlParserTableCollection.cs
- ClientTarget.cs
- ArrayListCollectionBase.cs
- UserPreferenceChangedEventArgs.cs
- MdiWindowListItemConverter.cs
- IList.cs
- SqlDeflator.cs
- SqlNodeTypeOperators.cs
- SpotLight.cs
- WebException.cs
- EventToken.cs
- AsyncOperationManager.cs
- DataGridHeaderBorder.cs
- Monitor.cs
- GeneralTransform3DTo2D.cs
- DateTimeOffsetAdapter.cs
- ContentFilePart.cs
- BindingCompleteEventArgs.cs
- WebServiceErrorEvent.cs
- SqlException.cs
- CodeCatchClauseCollection.cs
- SaveFileDialog.cs
- FixedSOMElement.cs
- XmlUrlEditor.cs
- ContractReference.cs
- PartitionResolver.cs
- MessageQueueTransaction.cs
- PowerStatus.cs
- Listbox.cs
- BuildManagerHost.cs
- BrowserCapabilitiesCompiler.cs
- CookielessHelper.cs
- MimePart.cs
- FileDialog_Vista_Interop.cs
- SelectionRangeConverter.cs
- LicenseContext.cs
- WindowsRebar.cs
- ArglessEventHandlerProxy.cs
- AnnotationResourceChangedEventArgs.cs
- NestedContainer.cs
- SecurityRuntime.cs
- CompressedStack.cs
- IgnoreSection.cs
- X509ChainElement.cs
- ReadOnlyDataSource.cs
- BinaryParser.cs
- HtmlLink.cs
- _FtpDataStream.cs
- ButtonChrome.cs
- Boolean.cs
- InternalResources.cs
- CryptographicAttribute.cs
- Reference.cs
- OrderPreservingMergeHelper.cs
- XamlTemplateSerializer.cs
- AxisAngleRotation3D.cs
- HttpBindingExtension.cs
- SimpleTableProvider.cs
- RoleManagerSection.cs
- XmlCountingReader.cs
- ChannelServices.cs
- RequestCacheManager.cs
- TableColumn.cs
- CapabilitiesPattern.cs
- TraceHandlerErrorFormatter.cs
- TextTreeUndoUnit.cs
- AffineTransform3D.cs
- Executor.cs
- ActivityBindForm.Designer.cs
- WindowsGraphics.cs
- GrammarBuilderPhrase.cs
- DataSvcMapFileSerializer.cs
- DSASignatureFormatter.cs
- XmlSchemaAll.cs
- ComPlusSynchronizationContext.cs
- SelectorAutomationPeer.cs
- TraceSection.cs
- MaskedTextProvider.cs
- BitVector32.cs
- SqlErrorCollection.cs
- DataGridViewSelectedColumnCollection.cs
- UndoManager.cs
- DataContractJsonSerializer.cs
- LinearKeyFrames.cs
- RightsManagementEncryptionTransform.cs
- ActiveXHelper.cs
- XamlSerializerUtil.cs
- Parameter.cs
- ConfigXmlSignificantWhitespace.cs
- LinqDataSourceSelectEventArgs.cs
- KeyNotFoundException.cs