Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsConfigureVerb.cs / 1305376 / 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
- RSACryptoServiceProvider.cs
- XmlReflectionMember.cs
- OrCondition.cs
- InternalBufferManager.cs
- ToolZone.cs
- MetaData.cs
- HTTPAPI_VERSION.cs
- CultureSpecificStringDictionary.cs
- _BufferOffsetSize.cs
- ActiveXSite.cs
- InlineCollection.cs
- GridViewItemAutomationPeer.cs
- DataGridViewCellLinkedList.cs
- Normalization.cs
- DetailsViewDeletedEventArgs.cs
- MgmtConfigurationRecord.cs
- Polygon.cs
- AssociationTypeEmitter.cs
- DataGrid.cs
- DbConnectionPoolCounters.cs
- MeshGeometry3D.cs
- EntityDesignerUtils.cs
- Stroke.cs
- WebServicesInteroperability.cs
- IntSecurity.cs
- ToolStripContentPanelRenderEventArgs.cs
- Separator.cs
- InkCanvasAutomationPeer.cs
- HostedTcpTransportManager.cs
- LogicalTreeHelper.cs
- Assert.cs
- RegisteredScript.cs
- Tracking.cs
- DetailsViewPagerRow.cs
- RemoteWebConfigurationHostStream.cs
- PropertyConverter.cs
- ToolstripProfessionalRenderer.cs
- __Filters.cs
- WinEventHandler.cs
- Decoder.cs
- FirstMatchCodeGroup.cs
- ColorInterpolationModeValidation.cs
- HttpModule.cs
- sortedlist.cs
- PieceNameHelper.cs
- StringAnimationUsingKeyFrames.cs
- SoapHeader.cs
- IgnoreFileBuildProvider.cs
- PaginationProgressEventArgs.cs
- WindowCollection.cs
- ApplicationServiceHelper.cs
- ObjectStateManager.cs
- StorageMappingItemCollection.cs
- RootAction.cs
- BaseResourcesBuildProvider.cs
- ControlDesignerState.cs
- FormatException.cs
- DataColumnMapping.cs
- LinqMaximalSubtreeNominator.cs
- Vector.cs
- ConsoleTraceListener.cs
- ExceptionRoutedEventArgs.cs
- TreeNodeClickEventArgs.cs
- InputBinder.cs
- XPathMultyIterator.cs
- HttpDebugHandler.cs
- elementinformation.cs
- TypeValidationEventArgs.cs
- Visitors.cs
- TimeSpanSecondsConverter.cs
- XmlSchemaObjectCollection.cs
- CopyAttributesAction.cs
- WebProxyScriptElement.cs
- MatrixAnimationBase.cs
- SqlDataSourceTableQuery.cs
- StrokeNodeEnumerator.cs
- ConcurrentQueue.cs
- PrinterResolution.cs
- FieldNameLookup.cs
- SafeNativeMethodsCLR.cs
- XmlSchemaValidationException.cs
- RefExpr.cs
- XmlRawWriterWrapper.cs
- HttpFormatExtensions.cs
- FileDialog_Vista.cs
- SharedConnectionWorkflowTransactionService.cs
- IERequestCache.cs
- XmlBindingWorker.cs
- ObjectDisposedException.cs
- TransportListener.cs
- VisualBrush.cs
- RegisteredArrayDeclaration.cs
- DataGridViewRowStateChangedEventArgs.cs
- basemetadatamappingvisitor.cs
- SimpleWebHandlerParser.cs
- DataGridViewCellEventArgs.cs
- SqlRemoveConstantOrderBy.cs
- NavigateEvent.cs
- PackagePartCollection.cs
- StringAnimationUsingKeyFrames.cs