Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsCancelVerb.cs / 1 / 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. //------------------------------------------------------------------------------ //// 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FormsAuthenticationEventArgs.cs
- ConfigurationSectionGroupCollection.cs
- ProfileInfo.cs
- XamlTreeBuilder.cs
- LabelAutomationPeer.cs
- FormViewPagerRow.cs
- SizeLimitedCache.cs
- ExtenderProvidedPropertyAttribute.cs
- OleAutBinder.cs
- WbmpConverter.cs
- ControlAdapter.cs
- DataGridViewAdvancedBorderStyle.cs
- StubHelpers.cs
- DiscoveryClientOutputChannel.cs
- WebRequestModuleElement.cs
- LZCodec.cs
- ToolStripDesignerAvailabilityAttribute.cs
- RegionInfo.cs
- ToolStripItemImageRenderEventArgs.cs
- SR.cs
- CornerRadius.cs
- ServiceDescriptionSerializer.cs
- RootNamespaceAttribute.cs
- CodeBinaryOperatorExpression.cs
- LowerCaseStringConverter.cs
- DBBindings.cs
- NavigatingCancelEventArgs.cs
- DataGridViewComboBoxColumn.cs
- GlyphRunDrawing.cs
- ListBindingConverter.cs
- AutoScrollExpandMessageFilter.cs
- SqlException.cs
- RemoteCryptoDecryptRequest.cs
- XmlnsCompatibleWithAttribute.cs
- _LocalDataStore.cs
- IIS7WorkerRequest.cs
- DropDownList.cs
- HttpListenerContext.cs
- AppDomain.cs
- FontStyleConverter.cs
- BamlBinaryReader.cs
- PageParserFilter.cs
- DefaultValueAttribute.cs
- cookie.cs
- ConstructorNeedsTagAttribute.cs
- AssertFilter.cs
- Italic.cs
- SmiEventSink_DeferedProcessing.cs
- NewItemsContextMenuStrip.cs
- ASCIIEncoding.cs
- Utils.cs
- GeometryModel3D.cs
- KnownBoxes.cs
- ItemCollection.cs
- WorkItem.cs
- CapabilitiesRule.cs
- TailCallAnalyzer.cs
- AssemblyCache.cs
- SchemaSetCompiler.cs
- LoggedException.cs
- DesignerAutoFormat.cs
- ConfigurationLocationCollection.cs
- sqlstateclientmanager.cs
- BaseCodeDomTreeGenerator.cs
- DecimalConstantAttribute.cs
- Point4D.cs
- PerformanceCounterPermissionAttribute.cs
- ToolTipService.cs
- IisTraceWebEventProvider.cs
- HttpContextWrapper.cs
- Int64Animation.cs
- ViewValidator.cs
- ListBoxItem.cs
- MetadataProperty.cs
- ChangeBlockUndoRecord.cs
- ContentValidator.cs
- DataGridViewDataErrorEventArgs.cs
- XmlSerializer.cs
- MsmqTransportSecurity.cs
- NoClickablePointException.cs
- WarningException.cs
- Clock.cs
- CompositeControl.cs
- CompatibleComparer.cs
- IndexingContentUnit.cs
- Pkcs7Recipient.cs
- TrustManagerMoreInformation.cs
- PointLightBase.cs
- GlobalizationAssembly.cs
- SqlRecordBuffer.cs
- DataGridToolTip.cs
- Bidi.cs
- XmlSchemaSet.cs
- BlobPersonalizationState.cs
- AccessDataSource.cs
- GZipDecoder.cs
- SubclassTypeValidator.cs
- PreviewPageInfo.cs
- _Events.cs
- RangeValuePattern.cs