Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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.
//
//-----------------------------------------------------------------------------
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
- TransformDescriptor.cs
- DocumentPageViewAutomationPeer.cs
- StartUpEventArgs.cs
- ResponseBodyWriter.cs
- ReflectionPermission.cs
- RequestQueryProcessor.cs
- SemaphoreSecurity.cs
- ScrollPattern.cs
- NavigatorInvalidBodyAccessException.cs
- PrincipalPermissionMode.cs
- CompilerInfo.cs
- Rectangle.cs
- DetailsViewDeleteEventArgs.cs
- AbsoluteQuery.cs
- CodeCastExpression.cs
- GifBitmapDecoder.cs
- TableLayoutPanelCellPosition.cs
- TraceLevelHelper.cs
- DataRowComparer.cs
- DbReferenceCollection.cs
- ColorPalette.cs
- _ListenerAsyncResult.cs
- XomlCompilerError.cs
- WindowsScrollBar.cs
- Input.cs
- WebService.cs
- DecimalAverageAggregationOperator.cs
- Hashtable.cs
- MessageEncodingBindingElement.cs
- CodeDOMUtility.cs
- ApplicationServicesHostFactory.cs
- LinqDataSourceValidationException.cs
- OleDbCommandBuilder.cs
- Stream.cs
- precedingsibling.cs
- TimeSpanMinutesConverter.cs
- ArrangedElementCollection.cs
- IndividualDeviceConfig.cs
- RijndaelManaged.cs
- Misc.cs
- TableProviderWrapper.cs
- BaseParser.cs
- FileVersionInfo.cs
- ObjectPropertyMapping.cs
- ExceptionRoutedEventArgs.cs
- OciEnlistContext.cs
- ProjectionPruner.cs
- Visual3D.cs
- SqlCrossApplyToCrossJoin.cs
- HitTestResult.cs
- FilterableData.cs
- ComponentRenameEvent.cs
- CustomPopupPlacement.cs
- WorkflowOperationErrorHandler.cs
- UrlMappingsSection.cs
- WindowsListView.cs
- SystemResourceHost.cs
- BindingContext.cs
- WebPartCatalogAddVerb.cs
- UpdatePanelControlTrigger.cs
- HtmlEncodedRawTextWriter.cs
- webbrowsersite.cs
- TagPrefixInfo.cs
- Validator.cs
- EntityProviderFactory.cs
- ColumnMapVisitor.cs
- ListView.cs
- RawStylusInputCustomDataList.cs
- FastPropertyAccessor.cs
- Column.cs
- TypeExtensionSerializer.cs
- Evidence.cs
- ListView.cs
- ClientType.cs
- MdiWindowListItemConverter.cs
- ListBox.cs
- InputManager.cs
- SQLStringStorage.cs
- FramingDecoders.cs
- WebPartConnectionCollection.cs
- EarlyBoundInfo.cs
- HierarchicalDataSourceIDConverter.cs
- EpmAttributeNameBuilder.cs
- WindowsFont.cs
- XmlnsDictionary.cs
- RSACryptoServiceProvider.cs
- NetPipeSectionData.cs
- ServiceDurableInstance.cs
- PrimarySelectionGlyph.cs
- SizeAnimationUsingKeyFrames.cs
- DataTableNewRowEvent.cs
- TextLineResult.cs
- EntityDataSourceMemberPath.cs
- VisualBasic.cs
- TextTreeNode.cs
- BuildProviderAppliesToAttribute.cs
- DefaultValidator.cs
- ParagraphVisual.cs
- ContentType.cs
- Point3D.cs