Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsConnectVerb.cs / 1305376 / 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
- QueryReaderSettings.cs
- VirtualPath.cs
- HtmlUtf8RawTextWriter.cs
- HttpClientCertificate.cs
- NameValueFileSectionHandler.cs
- DateBoldEvent.cs
- GridViewItemAutomationPeer.cs
- TcpProcessProtocolHandler.cs
- NegationPusher.cs
- SchemaImporter.cs
- TableLayoutSettingsTypeConverter.cs
- ReflectionHelper.cs
- OleDbWrapper.cs
- CustomLineCap.cs
- NumericExpr.cs
- DesignerCatalogPartChrome.cs
- ManagedWndProcTracker.cs
- TextTreeUndoUnit.cs
- LogSwitch.cs
- Command.cs
- TableSectionStyle.cs
- AttributeSetAction.cs
- PathGradientBrush.cs
- StylesEditorDialog.cs
- __Filters.cs
- LinqMaximalSubtreeNominator.cs
- C14NUtil.cs
- HtmlForm.cs
- PeerNameRecord.cs
- ButtonPopupAdapter.cs
- FixedDocumentSequencePaginator.cs
- BitmapEffectGeneralTransform.cs
- DbFunctionCommandTree.cs
- StreamGeometry.cs
- WebConfigurationFileMap.cs
- Tuple.cs
- IteratorFilter.cs
- Win32MouseDevice.cs
- Version.cs
- HorizontalAlignConverter.cs
- MailWebEventProvider.cs
- LabelEditEvent.cs
- WebPartEditVerb.cs
- RegistryKey.cs
- StorageAssociationTypeMapping.cs
- ThreadExceptionEvent.cs
- XamlStream.cs
- Calendar.cs
- CompensationToken.cs
- IfElseDesigner.xaml.cs
- ControlCachePolicy.cs
- TypeSource.cs
- RunWorkerCompletedEventArgs.cs
- DbConnectionClosed.cs
- WebContext.cs
- WebPartRestoreVerb.cs
- VisualTarget.cs
- TagMapInfo.cs
- ProxyFragment.cs
- ActivityBuilderXamlWriter.cs
- XmlQueryTypeFactory.cs
- ActivityXRefConverter.cs
- BindingValueChangedEventArgs.cs
- MachineKey.cs
- GCHandleCookieTable.cs
- Reference.cs
- X509ClientCertificateAuthenticationElement.cs
- BasicBrowserDialog.cs
- ChangePassword.cs
- MenuAutomationPeer.cs
- TypeReference.cs
- DecryptedHeader.cs
- GenericTextProperties.cs
- MobileResource.cs
- TextBoxRenderer.cs
- UnsafeNativeMethodsPenimc.cs
- LinqToSqlWrapper.cs
- IDispatchConstantAttribute.cs
- BamlRecords.cs
- Transform3DCollection.cs
- StreamSecurityUpgradeInitiatorAsyncResult.cs
- SystemIcmpV6Statistics.cs
- UnauthorizedAccessException.cs
- GeometryValueSerializer.cs
- FunctionCommandText.cs
- BitmapCodecInfo.cs
- VirtualDirectoryMapping.cs
- SecurityRuntime.cs
- DataServices.cs
- Logging.cs
- XsltFunctions.cs
- InertiaTranslationBehavior.cs
- ReturnType.cs
- CalendarSelectionChangedEventArgs.cs
- StringInfo.cs
- IdentifierCreationService.cs
- StringToken.cs
- CompilerGeneratedAttribute.cs
- OutputCacheProfile.cs
- MessageSecurityException.cs