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
- SafeNativeMethods.cs
- odbcmetadatacolumnnames.cs
- XmlSerializerAssemblyAttribute.cs
- WebBrowserBase.cs
- TemplateContentLoader.cs
- CounterSetInstance.cs
- ControlCollection.cs
- FixedSOMTable.cs
- XmlName.cs
- SqlRowUpdatingEvent.cs
- DesignerTransactionCloseEvent.cs
- HtmlControlDesigner.cs
- linebase.cs
- TypeResolvingOptionsAttribute.cs
- LocalizableAttribute.cs
- MouseOverProperty.cs
- CacheManager.cs
- ReflectionServiceProvider.cs
- SmtpFailedRecipientException.cs
- DashStyle.cs
- XmlRootAttribute.cs
- XmlAnyElementAttribute.cs
- ConfigurationManager.cs
- ObjectManager.cs
- ResXResourceReader.cs
- FormatConvertedBitmap.cs
- PrintingPermission.cs
- CancellableEnumerable.cs
- RuntimeDelegateArgument.cs
- TrustLevelCollection.cs
- FixedPosition.cs
- AstTree.cs
- RenderTargetBitmap.cs
- ThreadPool.cs
- ContentDisposition.cs
- SrgsItemList.cs
- WebHttpDispatchOperationSelector.cs
- MD5.cs
- SmiGettersStream.cs
- ProjectionPlan.cs
- XslAstAnalyzer.cs
- DocumentScope.cs
- GeometryCombineModeValidation.cs
- StringHandle.cs
- UnsafeNativeMethods.cs
- OdbcConnectionPoolProviderInfo.cs
- ExpressionConverter.cs
- PhonemeEventArgs.cs
- GridViewDeleteEventArgs.cs
- DbConnectionClosed.cs
- CookielessHelper.cs
- PropertyRef.cs
- SystemIPv6InterfaceProperties.cs
- ReachSerializableProperties.cs
- CodeCatchClauseCollection.cs
- QilInvoke.cs
- XmlUTF8TextWriter.cs
- OracleFactory.cs
- StringStorage.cs
- SymLanguageVendor.cs
- ProfileSection.cs
- MediaTimeline.cs
- FormatSettings.cs
- AccessDataSource.cs
- ToolStripInSituService.cs
- _FtpControlStream.cs
- Internal.cs
- DataGridAutoFormatDialog.cs
- CommandValueSerializer.cs
- RecognizerInfo.cs
- OdbcCommand.cs
- SchemaCompiler.cs
- ArgumentOutOfRangeException.cs
- TraceSection.cs
- RawTextInputReport.cs
- RenderData.cs
- XmlFormatExtensionPointAttribute.cs
- UInt16.cs
- ThreadExceptionDialog.cs
- EndpointInfo.cs
- MediaCommands.cs
- PartEditor.cs
- CompoundFileStreamReference.cs
- ProxyWebPart.cs
- RowToFieldTransformer.cs
- TransformerConfigurationWizardBase.cs
- AliasGenerator.cs
- EventMappingSettingsCollection.cs
- SpellerStatusTable.cs
- ToolStripScrollButton.cs
- HtmlInputSubmit.cs
- DSASignatureFormatter.cs
- UTF7Encoding.cs
- WebProxyScriptElement.cs
- AliasGenerator.cs
- BuildProvidersCompiler.cs
- EncoderExceptionFallback.cs
- TransformerInfoCollection.cs
- Claim.cs
- HtmlEmptyTagControlBuilder.cs