Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsCancelVerb.cs / 1305376 / WebPartConnectionsCancelVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsCancelVerb : 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.WebPartConnectionsCancelVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCancelVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsCancelVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCancelVerb_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 WebPartConnectionsCancelVerb : 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.WebPartConnectionsCancelVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCancelVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsCancelVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCancelVerb_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
- SoundPlayer.cs
- StandardOleMarshalObject.cs
- BufferAllocator.cs
- UserPreferenceChangedEventArgs.cs
- HttpBufferlessInputStream.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- LinkConverter.cs
- XmlNodeReader.cs
- ProviderUtil.cs
- CustomErrorsSectionWrapper.cs
- DetailsViewUpdatedEventArgs.cs
- AsyncPostBackTrigger.cs
- HttpRequest.cs
- ClientFormsAuthenticationCredentials.cs
- CommunicationObjectManager.cs
- SimpleTypeResolver.cs
- DoubleIndependentAnimationStorage.cs
- SimpleTextLine.cs
- Column.cs
- RandomDelayQueuedSendsAsyncResult.cs
- CorePropertiesFilter.cs
- ExpressionEditorAttribute.cs
- PerformanceCounterCategory.cs
- GPPOINTF.cs
- ServiceModelConfigurationElementCollection.cs
- PersistStreamTypeWrapper.cs
- PrePrepareMethodAttribute.cs
- DocumentCollection.cs
- CheckedPointers.cs
- RadioButtonRenderer.cs
- ObjectList.cs
- StorageMappingItemCollection.cs
- BufferAllocator.cs
- ModelItemCollectionImpl.cs
- _ConnectOverlappedAsyncResult.cs
- TcpAppDomainProtocolHandler.cs
- COM2PropertyPageUITypeConverter.cs
- PngBitmapDecoder.cs
- BinaryCommonClasses.cs
- DataContractJsonSerializer.cs
- storepermissionattribute.cs
- ReachDocumentReferenceSerializer.cs
- FileDataSourceCache.cs
- StateWorkerRequest.cs
- TextTreeTextElementNode.cs
- Model3DGroup.cs
- ButtonPopupAdapter.cs
- SiteMapDataSource.cs
- BitVector32.cs
- Baml2006ReaderSettings.cs
- SurrogateSelector.cs
- tooltip.cs
- PropertyEntry.cs
- Typeface.cs
- AnnotationService.cs
- FixedElement.cs
- ExpressionPrefixAttribute.cs
- DesignerCategoryAttribute.cs
- ResourceReferenceExpression.cs
- XmlUnspecifiedAttribute.cs
- TextHidden.cs
- panel.cs
- SmiEventSink_DeferedProcessing.cs
- HttpModuleCollection.cs
- Wow64ConfigurationLoader.cs
- WpfWebRequestHelper.cs
- SerializerDescriptor.cs
- WindowsProgressbar.cs
- Codec.cs
- PanelContainerDesigner.cs
- DoubleSumAggregationOperator.cs
- FormView.cs
- BamlVersionHeader.cs
- OLEDB_Util.cs
- SqlProviderManifest.cs
- ConsoleCancelEventArgs.cs
- TileBrush.cs
- AllMembershipCondition.cs
- SimpleBitVector32.cs
- ByteStreamGeometryContext.cs
- KeyValueSerializer.cs
- ToolboxItem.cs
- TemplateXamlTreeBuilder.cs
- DbExpressionVisitor.cs
- Control.cs
- ExecutionEngineException.cs
- ClientUrlResolverWrapper.cs
- PerformanceCounterManager.cs
- SharingService.cs
- BindingSource.cs
- InkCanvasAutomationPeer.cs
- ToolStripHighContrastRenderer.cs
- TreeNodeStyle.cs
- _TransmitFileOverlappedAsyncResult.cs
- CriticalHandle.cs
- keycontainerpermission.cs
- DefaultWorkflowTransactionService.cs
- Psha1DerivedKeyGenerator.cs
- ServerProtocol.cs
- DataGridViewToolTip.cs