Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsConfigureVerb.cs / 1 / WebPartConnectionsConfigureVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsConfigureVerb : 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.WebPartConnectionsConfigureVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConfigureVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsConfigureVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConfigureVerb_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. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsConfigureVerb : 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.WebPartConnectionsConfigureVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConfigureVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsConfigureVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConfigureVerb_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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ByteAnimation.cs
- WindowsSlider.cs
- SynchronizationContext.cs
- Int64AnimationBase.cs
- LoginCancelEventArgs.cs
- DataGridClipboardCellContent.cs
- XmlEntityReference.cs
- HierarchicalDataSourceControl.cs
- bidPrivateBase.cs
- DocumentGridContextMenu.cs
- SelectQueryOperator.cs
- DateTimeOffset.cs
- TableStyle.cs
- TheQuery.cs
- SubclassTypeValidatorAttribute.cs
- HelloMessageCD1.cs
- SqlLiftWhereClauses.cs
- PartialTrustHelpers.cs
- ListView.cs
- NetworkAddressChange.cs
- SmtpException.cs
- BitmapEffectRenderDataResource.cs
- SmtpException.cs
- XsdBuildProvider.cs
- AspNetHostingPermission.cs
- InputScope.cs
- WorkflowQueueInfo.cs
- ObfuscationAttribute.cs
- DecimalSumAggregationOperator.cs
- ActivityCodeDomSerializer.cs
- PasswordRecoveryAutoFormat.cs
- NamedElement.cs
- NativeMethods.cs
- WebPartConnection.cs
- RenderingEventArgs.cs
- HttpRuntimeSection.cs
- OleDbConnectionFactory.cs
- TraceSection.cs
- CodeDOMUtility.cs
- PolyLineSegment.cs
- TrackingDataItem.cs
- TableCellCollection.cs
- DesignTimeParseData.cs
- ToolTipAutomationPeer.cs
- safex509handles.cs
- MappableObjectManager.cs
- QueryCursorEventArgs.cs
- CqlWriter.cs
- VisualTreeUtils.cs
- State.cs
- WebPartTransformerAttribute.cs
- Convert.cs
- Rss20FeedFormatter.cs
- ColorIndependentAnimationStorage.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- XmlHierarchicalDataSourceView.cs
- StructuredTypeEmitter.cs
- DataGridColumnCollection.cs
- MemberPath.cs
- ValueChangedEventManager.cs
- SmiEventSink_Default.cs
- SettingsPropertyIsReadOnlyException.cs
- CacheMemory.cs
- Point3DAnimation.cs
- GPPOINTF.cs
- ColorContext.cs
- TextEditorSpelling.cs
- Point3DKeyFrameCollection.cs
- CodeTypeOfExpression.cs
- TargetPerspective.cs
- CodeCompileUnit.cs
- StringResourceManager.cs
- SettingsPropertyWrongTypeException.cs
- AmbientLight.cs
- PrintDialog.cs
- SqlClientPermission.cs
- WebPartMinimizeVerb.cs
- GridViewSortEventArgs.cs
- MouseButtonEventArgs.cs
- Activity.cs
- HtmlWindowCollection.cs
- XmlTextWriter.cs
- _Win32.cs
- PasswordRecovery.cs
- AssertUtility.cs
- ListItemParagraph.cs
- TabItem.cs
- SqlRowUpdatedEvent.cs
- dsa.cs
- Viewport2DVisual3D.cs
- XmlWriter.cs
- MediaCommands.cs
- PenLineJoinValidation.cs
- SettingsProperty.cs
- SubclassTypeValidatorAttribute.cs
- DomNameTable.cs
- EpmSourceTree.cs
- SelectorAutomationPeer.cs
- DesignerActionMethodItem.cs
- SqlDataReader.cs