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
- ListBox.cs
- ADRole.cs
- MdiWindowListItemConverter.cs
- DbDataAdapter.cs
- DelegateHelpers.cs
- storagemappingitemcollection.viewdictionary.cs
- Facet.cs
- propertyentry.cs
- ActivationServices.cs
- SyncMethodInvoker.cs
- Point4DConverter.cs
- OrderByBuilder.cs
- UniqueID.cs
- Convert.cs
- SocketAddress.cs
- ToolBarTray.cs
- AdornerPresentationContext.cs
- ZipIOModeEnforcingStream.cs
- PagedControl.cs
- RecognizerStateChangedEventArgs.cs
- OdbcErrorCollection.cs
- SystemNetworkInterface.cs
- ConnectionPointCookie.cs
- TemplateInstanceAttribute.cs
- PrintDialogException.cs
- Pen.cs
- TextSelection.cs
- _LoggingObject.cs
- UpdateRecord.cs
- XmlTextReader.cs
- UInt32.cs
- WebControlParameterProxy.cs
- XmlUtil.cs
- ButtonBaseAdapter.cs
- SuppressMessageAttribute.cs
- Byte.cs
- Document.cs
- PartialArray.cs
- TextRangeEditLists.cs
- FileStream.cs
- Config.cs
- StartUpEventArgs.cs
- DataGridViewTextBoxCell.cs
- StaticTextPointer.cs
- Object.cs
- OleDbRowUpdatedEvent.cs
- CollectionBuilder.cs
- ScrollChrome.cs
- XmlSchemaSimpleContentExtension.cs
- CompressionTransform.cs
- StrokeNodeEnumerator.cs
- DesignerDataConnection.cs
- RepeatInfo.cs
- AttachedPropertyMethodSelector.cs
- DateTimeFormatInfo.cs
- SqlRowUpdatedEvent.cs
- DetailsViewUpdatedEventArgs.cs
- XmlSerializerNamespaces.cs
- COM2EnumConverter.cs
- ManipulationLogic.cs
- WebMessageEncoderFactory.cs
- TableSectionStyle.cs
- mactripleDES.cs
- DelegatedStream.cs
- DbParameterHelper.cs
- Literal.cs
- JoinGraph.cs
- ScriptDescriptor.cs
- IntPtr.cs
- DragStartedEventArgs.cs
- CompensatableSequenceActivity.cs
- AggregateNode.cs
- EmissiveMaterial.cs
- DataStorage.cs
- XmlParserContext.cs
- SqlMethodCallConverter.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- SessionState.cs
- JoinTreeNode.cs
- IndependentlyAnimatedPropertyMetadata.cs
- DelegatedStream.cs
- ListItemCollection.cs
- FormViewInsertEventArgs.cs
- MethodBody.cs
- IisTraceWebEventProvider.cs
- DetailsViewInsertedEventArgs.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- SmtpTransport.cs
- XslTransformFileEditor.cs
- CompilerLocalReference.cs
- KeyEvent.cs
- PackageRelationshipCollection.cs
- CheckBoxRenderer.cs
- WindowVisualStateTracker.cs
- XNodeNavigator.cs
- Action.cs
- DynamicRendererThreadManager.cs
- ExecutedRoutedEventArgs.cs
- ServicePointManagerElement.cs
- SemaphoreFullException.cs