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 / WebPartConnectionsDisconnectVerb.cs / 1 / 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
- EncryptedData.cs
- SiteMapNode.cs
- SqlCommandBuilder.cs
- ConnectionStringsSection.cs
- ArrayList.cs
- DataGridViewTopRowAccessibleObject.cs
- DeploymentSection.cs
- SqlBooleanMismatchVisitor.cs
- NamespaceListProperty.cs
- ScrollProviderWrapper.cs
- FilterQueryOptionExpression.cs
- RijndaelManaged.cs
- SendingRequestEventArgs.cs
- TrackBarDesigner.cs
- ZipIOExtraField.cs
- RegexWorker.cs
- LicenseContext.cs
- SimpleRecyclingCache.cs
- SelectingProviderEventArgs.cs
- filewebresponse.cs
- PeerNameResolver.cs
- BuildManager.cs
- BackgroundFormatInfo.cs
- SystemWebSectionGroup.cs
- FaultPropagationQuery.cs
- CounterCreationDataConverter.cs
- SpellerHighlightLayer.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- SqlProviderManifest.cs
- X509Certificate2.cs
- UserControl.cs
- RelatedCurrencyManager.cs
- RotationValidation.cs
- WebPartTransformer.cs
- ClassicBorderDecorator.cs
- TemplatedWizardStep.cs
- UniqueIdentifierService.cs
- CommandField.cs
- SQLDateTime.cs
- ItemCollection.cs
- XmlSerializationWriter.cs
- HScrollBar.cs
- SizeConverter.cs
- CmsInterop.cs
- EdmProviderManifest.cs
- Site.cs
- PageParserFilter.cs
- XmlValidatingReader.cs
- ContentDesigner.cs
- LeafCellTreeNode.cs
- documentsequencetextcontainer.cs
- XsltLibrary.cs
- TypeDescriptionProviderAttribute.cs
- DesignerUtility.cs
- Variant.cs
- dataobject.cs
- CngProvider.cs
- CryptoConfig.cs
- RuleSetReference.cs
- SoapAttributeOverrides.cs
- ValuePattern.cs
- ObjectIDGenerator.cs
- SizeConverter.cs
- DbgCompiler.cs
- ToolStripSplitButton.cs
- IndexedWhereQueryOperator.cs
- TransformDescriptor.cs
- SchemaMapping.cs
- SessionStateUtil.cs
- QueryStack.cs
- CryptoProvider.cs
- FormsAuthenticationUserCollection.cs
- SpecularMaterial.cs
- SymbolPair.cs
- OutputScopeManager.cs
- DefinitionBase.cs
- FormViewRow.cs
- WindowsFormsSectionHandler.cs
- TableRow.cs
- IconBitmapDecoder.cs
- XmlQueryRuntime.cs
- SimpleColumnProvider.cs
- ProfileServiceManager.cs
- StylusOverProperty.cs
- XhtmlTextWriter.cs
- ScalarOps.cs
- WinCategoryAttribute.cs
- AttributeEmitter.cs
- MemberJoinTreeNode.cs
- Guid.cs
- PointHitTestParameters.cs
- CFStream.cs
- ChtmlSelectionListAdapter.cs
- EntityFrameworkVersions.cs
- LayoutUtils.cs
- HwndHostAutomationPeer.cs
- WindowProviderWrapper.cs
- ApplicationProxyInternal.cs
- ExpressionBuilderCollection.cs
- HierarchicalDataTemplate.cs