Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- TableRow.cs
- DragEventArgs.cs
- Button.cs
- SafeProcessHandle.cs
- AnnotationHelper.cs
- DataControlLinkButton.cs
- RelationshipEndCollection.cs
- ContentDisposition.cs
- RegisteredExpandoAttribute.cs
- ConstNode.cs
- SqlMethods.cs
- Rule.cs
- KoreanCalendar.cs
- FusionWrap.cs
- HebrewNumber.cs
- FormattedText.cs
- RepeaterItemCollection.cs
- Ref.cs
- GrammarBuilder.cs
- NegationPusher.cs
- UnmanagedMemoryStreamWrapper.cs
- cryptoapiTransform.cs
- StringAnimationUsingKeyFrames.cs
- StylusPointPropertyInfo.cs
- ApplyImportsAction.cs
- DirectoryObjectSecurity.cs
- CacheRequest.cs
- XmlFormatExtensionPointAttribute.cs
- SamlSecurityToken.cs
- XamlParser.cs
- EventHandlerList.cs
- VisualBasicReference.cs
- RSAPKCS1SignatureFormatter.cs
- AuthenticationModuleElement.cs
- LicenseException.cs
- ExpressionList.cs
- FileChangesMonitor.cs
- SQLRoleProvider.cs
- ToolStripContainer.cs
- DynamicObjectAccessor.cs
- CompilerResults.cs
- RootBrowserWindowProxy.cs
- StrokeNodeEnumerator.cs
- WebControlAdapter.cs
- WebPartEditorApplyVerb.cs
- WebDescriptionAttribute.cs
- DateTime.cs
- BezierSegment.cs
- DesignerDataTableBase.cs
- ChangePassword.cs
- DateTimeValueSerializerContext.cs
- XmlCharType.cs
- Translator.cs
- KeyEventArgs.cs
- HtmlMeta.cs
- CultureSpecificCharacterBufferRange.cs
- ToolStripItemRenderEventArgs.cs
- SiteMapPath.cs
- Point3DCollection.cs
- Interlocked.cs
- DoubleAnimationUsingPath.cs
- ValueTypePropertyReference.cs
- EncoderBestFitFallback.cs
- PackagePart.cs
- TriggerAction.cs
- VScrollProperties.cs
- NumberSubstitution.cs
- GridToolTip.cs
- BitmapEffectInput.cs
- CharEnumerator.cs
- KerberosSecurityTokenParameters.cs
- XmlSchemaAnyAttribute.cs
- SqlConnectionString.cs
- KeyInfo.cs
- ExpressionHelper.cs
- ActiveXSite.cs
- ContentElementAutomationPeer.cs
- RectangleHotSpot.cs
- CalendarDayButton.cs
- SqlGenerator.cs
- ImportStoreException.cs
- TdsParserSessionPool.cs
- ChangeTracker.cs
- EntityDataSourceState.cs
- PlatformNotSupportedException.cs
- PropertyTab.cs
- ListCommandEventArgs.cs
- sqlinternaltransaction.cs
- PrimaryKeyTypeConverter.cs
- UITypeEditor.cs
- MouseWheelEventArgs.cs
- MobileComponentEditorPage.cs
- ConfigurationElementCollection.cs
- TextDecorations.cs
- sqlinternaltransaction.cs
- HttpCacheVaryByContentEncodings.cs
- PointLightBase.cs
- GeneratedView.cs
- PersonalizablePropertyEntry.cs
- XmlDsigSep2000.cs