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
- GridLengthConverter.cs
- SortKey.cs
- AnimatedTypeHelpers.cs
- COM2ExtendedUITypeEditor.cs
- UnitySerializationHolder.cs
- SafeThemeHandle.cs
- MenuScrollingVisibilityConverter.cs
- ResourceProviderFactory.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- SchemaImporterExtensionsSection.cs
- Localizer.cs
- LocationInfo.cs
- PropertyTabChangedEvent.cs
- ResponseStream.cs
- HierarchicalDataBoundControlAdapter.cs
- MergeExecutor.cs
- LinkedList.cs
- IntSecurity.cs
- IndexOutOfRangeException.cs
- WebScriptMetadataMessage.cs
- IInstanceTable.cs
- Registry.cs
- TreeView.cs
- FontWeights.cs
- SqlColumnizer.cs
- SQLGuid.cs
- ObjectRef.cs
- SourceSwitch.cs
- KeyInterop.cs
- RepeaterItemCollection.cs
- ApplicationCommands.cs
- COM2ExtendedTypeConverter.cs
- WindowsFormsSectionHandler.cs
- TextPenaltyModule.cs
- Bits.cs
- PageAsyncTaskManager.cs
- ForceCopyBuildProvider.cs
- BindingContext.cs
- CroppedBitmap.cs
- ListenerAdaptersInstallComponent.cs
- WindowsStartMenu.cs
- _IPv4Address.cs
- DataServices.cs
- SecurityPolicySection.cs
- PropertyValueUIItem.cs
- SelectionHighlightInfo.cs
- AbstractSvcMapFileLoader.cs
- SystemFonts.cs
- Debugger.cs
- IxmlLineInfo.cs
- ListControlActionList.cs
- TransformCryptoHandle.cs
- SQLInt16Storage.cs
- MessageHeader.cs
- ScriptBehaviorDescriptor.cs
- DirectionalLight.cs
- CollectionChange.cs
- EntityConnectionStringBuilderItem.cs
- XmlUtil.cs
- ShaderEffect.cs
- XmlWhitespace.cs
- ContentDesigner.cs
- XPathDocument.cs
- RelatedImageListAttribute.cs
- ConstantCheck.cs
- IImplicitResourceProvider.cs
- ResourcesGenerator.cs
- XmlWhitespace.cs
- MorphHelper.cs
- CompositeClientFormatter.cs
- TemplateControl.cs
- LineGeometry.cs
- Socket.cs
- QueryResultOp.cs
- PatternMatchRules.cs
- ConfigurationManagerInternal.cs
- querybuilder.cs
- Metadata.cs
- DbConnectionPoolCounters.cs
- WCFServiceClientProxyGenerator.cs
- ZipIOExtraFieldZip64Element.cs
- WebRequestModuleElementCollection.cs
- DispatcherExceptionEventArgs.cs
- DiscoveryEndpoint.cs
- RSAProtectedConfigurationProvider.cs
- Point.cs
- PagePropertiesChangingEventArgs.cs
- ProcessThread.cs
- TypedTableGenerator.cs
- XmlSchemaComplexContentExtension.cs
- DataTableClearEvent.cs
- ValidationHelper.cs
- XmlReader.cs
- JavaScriptString.cs
- log.cs
- ApplicationManager.cs
- NamespaceCollection.cs
- SaveWorkflowCommand.cs
- RectangleF.cs
- KeyValueInternalCollection.cs