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 / WebPartConnectionsConnectVerb.cs / 1 / WebPartConnectionsConnectVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsConnectVerb : 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.WebPartConnectionsConnectVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConnectVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsConnectVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConnectVerb_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 WebPartConnectionsConnectVerb : 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.WebPartConnectionsConnectVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConnectVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsConnectVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConnectVerb_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
- Vector.cs
- RuntimeWrappedException.cs
- StoreContentChangedEventArgs.cs
- TextLineResult.cs
- QuaternionAnimation.cs
- RubberbandSelector.cs
- PrePrepareMethodAttribute.cs
- PartManifestEntry.cs
- EventLog.cs
- ParameterToken.cs
- SettingsPropertyValue.cs
- NamedPermissionSet.cs
- X509SecurityTokenAuthenticator.cs
- GeometryHitTestResult.cs
- XmlObjectSerializerWriteContext.cs
- AlphaSortedEnumConverter.cs
- XPathDescendantIterator.cs
- AutomationElementIdentifiers.cs
- SharedMemory.cs
- ReaderContextStackData.cs
- GridViewRowPresenterBase.cs
- CommandSet.cs
- UnionExpr.cs
- HtmlTableRow.cs
- OpenCollectionAsyncResult.cs
- AutomationAttributeInfo.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- ZoneMembershipCondition.cs
- COM2Properties.cs
- MobileFormsAuthentication.cs
- BaseParser.cs
- HttpTransportSecurity.cs
- ColumnHeader.cs
- RawKeyboardInputReport.cs
- NTAccount.cs
- DataSourceSelectArguments.cs
- CompoundFileStorageReference.cs
- SendMailErrorEventArgs.cs
- MetadataCache.cs
- SQLCharsStorage.cs
- SizeChangedInfo.cs
- PointHitTestParameters.cs
- Overlapped.cs
- XPathExpr.cs
- XmlAnyAttributeAttribute.cs
- TripleDES.cs
- DetailsViewUpdatedEventArgs.cs
- DbDataRecord.cs
- UIElementIsland.cs
- ObjectTag.cs
- GiveFeedbackEvent.cs
- DeclaredTypeElement.cs
- PenLineJoinValidation.cs
- FrameworkTemplate.cs
- FrameworkElement.cs
- HostedTransportConfigurationBase.cs
- AddIn.cs
- XmlDataSourceView.cs
- ColorIndependentAnimationStorage.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- BidOverLoads.cs
- TemplateBuilder.cs
- FontSizeConverter.cs
- ProtocolsConfigurationEntry.cs
- WebPartDeleteVerb.cs
- ExtenderProvidedPropertyAttribute.cs
- ContextConfiguration.cs
- BitmapEffectOutputConnector.cs
- CacheOutputQuery.cs
- NumberSubstitution.cs
- ProgressChangedEventArgs.cs
- CodeDOMUtility.cs
- ServicePointManagerElement.cs
- Button.cs
- IPeerNeighbor.cs
- CodeGroup.cs
- BinaryParser.cs
- DbDataRecord.cs
- XmlUrlResolver.cs
- SerializationStore.cs
- SystemWebSectionGroup.cs
- GrammarBuilderDictation.cs
- RankException.cs
- SQLRoleProvider.cs
- XmlException.cs
- SiteMapDataSource.cs
- LinqDataSourceInsertEventArgs.cs
- WebZone.cs
- WindowsIdentity.cs
- DatatypeImplementation.cs
- ConstructorNeedsTagAttribute.cs
- ActiveDocumentEvent.cs
- WebPartEditVerb.cs
- ToolZoneDesigner.cs
- BamlVersionHeader.cs
- ValueExpressions.cs
- ObjectDataSourceChooseTypePanel.cs
- HttpPostedFile.cs
- DotNetATv1WindowsLogEntryDeserializer.cs
- sqlpipe.cs