Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsConfigureVerb.cs / 1 / 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
- DbParameterCollection.cs
- EndEvent.cs
- InputBindingCollection.cs
- XmlSchemaProviderAttribute.cs
- PageOutputColor.cs
- ProviderCommandInfoUtils.cs
- ValidatingReaderNodeData.cs
- CustomErrorCollection.cs
- DataGridState.cs
- DataContractFormatAttribute.cs
- MetafileHeader.cs
- HtmlAnchor.cs
- mactripleDES.cs
- XsltException.cs
- OpenFileDialog.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- MailMessageEventArgs.cs
- ViewBox.cs
- CheckBoxDesigner.cs
- ProjectionAnalyzer.cs
- NumericUpDownAccelerationCollection.cs
- Int64Storage.cs
- TraceLevelStore.cs
- MessageHeaders.cs
- externdll.cs
- PlatformCulture.cs
- ArithmeticLiteral.cs
- ManifestResourceInfo.cs
- CombinedGeometry.cs
- DefaultPrintController.cs
- ComponentRenameEvent.cs
- SqlRecordBuffer.cs
- CheckBoxBaseAdapter.cs
- ProfileSection.cs
- localization.cs
- TableSectionStyle.cs
- HttpDebugHandler.cs
- TreeViewEvent.cs
- FileSystemWatcher.cs
- SpotLight.cs
- ClassValidator.cs
- Tokenizer.cs
- PanelDesigner.cs
- EntityDataSourceMemberPath.cs
- MultipleViewPattern.cs
- ViewGenResults.cs
- TextRangeEditLists.cs
- TextBoxView.cs
- ConnectionProviderAttribute.cs
- TimeZoneInfo.cs
- CustomCredentialPolicy.cs
- AssociationTypeEmitter.cs
- AnimationException.cs
- Vector3D.cs
- ExpandCollapseProviderWrapper.cs
- UrlPath.cs
- SafeRightsManagementSessionHandle.cs
- GridViewUpdatedEventArgs.cs
- PrimitiveType.cs
- MessageQueue.cs
- Base64Stream.cs
- ReflectionHelper.cs
- Point3DIndependentAnimationStorage.cs
- Byte.cs
- InstalledFontCollection.cs
- AnnotationAuthorChangedEventArgs.cs
- ExpressionPrinter.cs
- DeadLetterQueue.cs
- ContextStaticAttribute.cs
- CompiledQueryCacheKey.cs
- Line.cs
- TagMapCollection.cs
- ListViewGroup.cs
- shaperfactory.cs
- SHA256Managed.cs
- Rotation3DAnimationUsingKeyFrames.cs
- ExcludePathInfo.cs
- CodeTypeParameterCollection.cs
- ExtractedStateEntry.cs
- Rotation3DKeyFrameCollection.cs
- TraceSource.cs
- ProfileInfo.cs
- TcpStreams.cs
- SequenceDesigner.cs
- WebFormDesignerActionService.cs
- PopupControlService.cs
- BamlWriter.cs
- BStrWrapper.cs
- DataGridViewCellParsingEventArgs.cs
- FilteredXmlReader.cs
- EntityClassGenerator.cs
- Accessible.cs
- Itemizer.cs
- XamlTemplateSerializer.cs
- ProxyGenerator.cs
- DateTimeUtil.cs
- ListViewUpdatedEventArgs.cs
- ConfigurationStrings.cs
- MailDefinition.cs
- XamlSerializerUtil.cs