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
- xml.cs
- NavigationPropertyEmitter.cs
- ContextQuery.cs
- dtdvalidator.cs
- FormViewUpdatedEventArgs.cs
- AddingNewEventArgs.cs
- MappingModelBuildProvider.cs
- ContractMapping.cs
- EntityContainer.cs
- RectAnimation.cs
- BuildProvider.cs
- SystemWebCachingSectionGroup.cs
- NameTable.cs
- BindingValueChangedEventArgs.cs
- AutomationPropertyInfo.cs
- CaseStatementSlot.cs
- MetaDataInfo.cs
- ModelFunction.cs
- DeflateStream.cs
- HijriCalendar.cs
- MissingMethodException.cs
- EditingCoordinator.cs
- SynchronizedInputPattern.cs
- QueryAsyncResult.cs
- ObjectTag.cs
- TrackBar.cs
- ChangesetResponse.cs
- WpfMemberInvoker.cs
- DurableDispatcherAddressingFault.cs
- AuthenticateEventArgs.cs
- Matrix.cs
- FullTextState.cs
- TypeGeneratedEventArgs.cs
- Wizard.cs
- Qualifier.cs
- MemoryResponseElement.cs
- GeneratedCodeAttribute.cs
- InvalidChannelBindingException.cs
- SqlDataSource.cs
- PasswordTextContainer.cs
- ADMembershipProvider.cs
- Attributes.cs
- EventLogTraceListener.cs
- HttpCookiesSection.cs
- TreeViewEvent.cs
- DictionaryBase.cs
- SafeMemoryMappedViewHandle.cs
- ModuleBuilderData.cs
- SecurityResources.cs
- DocumentViewerConstants.cs
- FlowDecisionDesigner.xaml.cs
- MemberMemberBinding.cs
- EntityDataSourceDesigner.cs
- DetailsViewDeletedEventArgs.cs
- IsolationInterop.cs
- RemoteWebConfigurationHostStream.cs
- EventLogQuery.cs
- FrameworkElementFactory.cs
- SafeRightsManagementHandle.cs
- MemberDescriptor.cs
- Site.cs
- NumberFunctions.cs
- activationcontext.cs
- RectAnimationClockResource.cs
- WindowsEditBox.cs
- DataRecord.cs
- SqlTopReducer.cs
- ToolBarButton.cs
- MD5HashHelper.cs
- BinaryWriter.cs
- XmlEncodedRawTextWriter.cs
- HttpPostProtocolImporter.cs
- FontResourceCache.cs
- DynamicILGenerator.cs
- _Win32.cs
- AssemblyResourceLoader.cs
- GC.cs
- WebPartVerb.cs
- CompatibleComparer.cs
- FormatVersion.cs
- DispatcherProcessingDisabled.cs
- SmtpReplyReaderFactory.cs
- CodeBinaryOperatorExpression.cs
- LineGeometry.cs
- ReadOnlyAttribute.cs
- OdbcParameter.cs
- WhiteSpaceTrimStringConverter.cs
- SqlMethods.cs
- ProfileManager.cs
- XPathAxisIterator.cs
- EncoderNLS.cs
- OleDbConnectionInternal.cs
- TextEditorCharacters.cs
- GACIdentityPermission.cs
- ListView.cs
- InfocardExtendedInformationEntry.cs
- WindowHideOrCloseTracker.cs
- ScriptControlManager.cs
- CodeParameterDeclarationExpression.cs
- XPathExpr.cs