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 / 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. // //----------------------------------------------------------------------------- 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InputChannelBinder.cs
- RemotingException.cs
- BitmapFrameEncode.cs
- LinqDataSourceContextEventArgs.cs
- XComponentModel.cs
- HostedNamedPipeTransportManager.cs
- Array.cs
- TraceSection.cs
- SecurityPermission.cs
- VectorConverter.cs
- CodeChecksumPragma.cs
- TripleDES.cs
- StringBuilder.cs
- SuppressMessageAttribute.cs
- XpsException.cs
- RequestCachePolicy.cs
- CallbackException.cs
- GridViewRow.cs
- FixedPageStructure.cs
- ImageMapEventArgs.cs
- ellipse.cs
- EventMemberCodeDomSerializer.cs
- OperationParameterInfoCollection.cs
- ElementNotAvailableException.cs
- XmlBaseWriter.cs
- SamlSubject.cs
- DataGridViewSelectedCellCollection.cs
- OverflowException.cs
- DesignRelationCollection.cs
- _NegoStream.cs
- ErrorHandler.cs
- GetWinFXPath.cs
- OpenFileDialog.cs
- Queue.cs
- ValidationError.cs
- HtmlInputText.cs
- XmlReflectionMember.cs
- AuthenticationConfig.cs
- EventSourceCreationData.cs
- XmlNavigatorStack.cs
- XmlComplianceUtil.cs
- ExceptionCollection.cs
- MemoryRecordBuffer.cs
- EdmConstants.cs
- HeaderCollection.cs
- BrowserTree.cs
- PermissionRequestEvidence.cs
- RewritingPass.cs
- Int32Rect.cs
- InputScopeConverter.cs
- SystemPens.cs
- PermissionListSet.cs
- ProjectionPathSegment.cs
- Control.cs
- WSSecurityXXX2005.cs
- RijndaelManagedTransform.cs
- QuadTree.cs
- EventLogPermissionEntryCollection.cs
- PathFigureCollectionConverter.cs
- TypeGeneratedEventArgs.cs
- X509Utils.cs
- ColorConvertedBitmap.cs
- ClientSettings.cs
- PreProcessInputEventArgs.cs
- Models.cs
- WinEventHandler.cs
- UdpTransportSettingsElement.cs
- TraceContext.cs
- ScriptingRoleServiceSection.cs
- VectorValueSerializer.cs
- ByteAnimation.cs
- DataMemberListEditor.cs
- ColorBlend.cs
- PrivilegeNotHeldException.cs
- SafeRightsManagementPubHandle.cs
- ProfileGroupSettings.cs
- WebCategoryAttribute.cs
- SignedXml.cs
- EntityTemplateUserControl.cs
- BookmarkUndoUnit.cs
- QilXmlReader.cs
- TrackingStringDictionary.cs
- Hashtable.cs
- MetadataItemEmitter.cs
- ServiceReference.cs
- TrackBarDesigner.cs
- DialogResultConverter.cs
- HttpContext.cs
- ExecutionProperties.cs
- ToolStripMenuItem.cs
- IODescriptionAttribute.cs
- ByteStorage.cs
- QilList.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- SizeLimitedCache.cs
- ConsumerConnectionPoint.cs
- InternalConfigRoot.cs
- XmlDocumentType.cs
- InputScope.cs
- ThemeableAttribute.cs