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
- UiaCoreProviderApi.cs
- WizardSideBarListControlItemEventArgs.cs
- ExpressionConverter.cs
- TemplateBuilder.cs
- ListViewGroup.cs
- XmlSchemaComplexContent.cs
- DatagridviewDisplayedBandsData.cs
- PeerNameRegistration.cs
- XmlILModule.cs
- IFlowDocumentViewer.cs
- SecurityKeyType.cs
- WebPartConnectionsCancelVerb.cs
- SqlFileStream.cs
- OracleConnection.cs
- ExpressionWriter.cs
- WindowsGrip.cs
- OdbcEnvironment.cs
- ChannelServices.cs
- Cursor.cs
- SelectionWordBreaker.cs
- PagedDataSource.cs
- PropertyEmitter.cs
- UnsafeNativeMethodsPenimc.cs
- CellParagraph.cs
- BlurBitmapEffect.cs
- DiscoveryClient.cs
- AddingNewEventArgs.cs
- HwndSourceKeyboardInputSite.cs
- WebPartHelpVerb.cs
- DockingAttribute.cs
- TransformerConfigurationWizardBase.cs
- SqlTransaction.cs
- Rectangle.cs
- FunctionGenerator.cs
- WebPartDeleteVerb.cs
- InvalidEnumArgumentException.cs
- EnumValidator.cs
- RoleManagerModule.cs
- WSDualHttpBindingElement.cs
- SmtpNetworkElement.cs
- DCSafeHandle.cs
- SourceFileBuildProvider.cs
- InvalidCommandTreeException.cs
- XmlUtf8RawTextWriter.cs
- ConnectionPointCookie.cs
- BaseTemplateCodeDomTreeGenerator.cs
- StringSorter.cs
- ActivityTypeDesigner.xaml.cs
- WorkingDirectoryEditor.cs
- IIS7UserPrincipal.cs
- IndexedString.cs
- SessionParameter.cs
- SizeAnimationClockResource.cs
- InsufficientMemoryException.cs
- ProfileSettings.cs
- SiteMapSection.cs
- BufferModesCollection.cs
- SqlDataSourceStatusEventArgs.cs
- Rect3DValueSerializer.cs
- AssociationSetEnd.cs
- NotifyParentPropertyAttribute.cs
- SqlServices.cs
- UnmanagedBitmapWrapper.cs
- SvcMapFileSerializer.cs
- ApplicationBuildProvider.cs
- columnmapfactory.cs
- SafeNativeMethods.cs
- WebBrowserContainer.cs
- WebBrowsableAttribute.cs
- ConfigXmlSignificantWhitespace.cs
- ParserExtension.cs
- DPAPIProtectedConfigurationProvider.cs
- ScrollBarAutomationPeer.cs
- ComplexLine.cs
- externdll.cs
- TextSimpleMarkerProperties.cs
- DataGridTextBoxColumn.cs
- Typography.cs
- ByteFacetDescriptionElement.cs
- CryptoProvider.cs
- TabItemWrapperAutomationPeer.cs
- BitmapDownload.cs
- EventWaitHandleSecurity.cs
- FormViewInsertedEventArgs.cs
- QilNode.cs
- DragDropManager.cs
- Matrix3D.cs
- BrowserInteropHelper.cs
- FormViewModeEventArgs.cs
- AppDomainInstanceProvider.cs
- UserControlBuildProvider.cs
- TypeUnloadedException.cs
- GroupBox.cs
- TemplateComponentConnector.cs
- DoubleStorage.cs
- TextDpi.cs
- ProcessManager.cs
- ErrorFormatter.cs
- PageParser.cs
- RepeaterItem.cs