Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartEditorOkVerb.cs / 1 / WebPartEditorOkVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartEditorOKVerb : 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.WebPartEditorOKVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartEditorOKVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartEditorOKVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartEditorOKVerb_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 WebPartEditorOKVerb : 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.WebPartEditorOKVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartEditorOKVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartEditorOKVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartEditorOKVerb_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
- WebPartDescriptionCollection.cs
- _NetRes.cs
- MsmqChannelFactoryBase.cs
- PeerNameResolver.cs
- MultilineStringConverter.cs
- MetadataCollection.cs
- QueueProcessor.cs
- XhtmlBasicTextBoxAdapter.cs
- ExceptionAggregator.cs
- WebBrowsableAttribute.cs
- CompositeKey.cs
- EntitySqlQueryState.cs
- Configuration.cs
- SourceFileInfo.cs
- ServiceDesigner.cs
- MasterPageBuildProvider.cs
- SqlHelper.cs
- Thumb.cs
- HandleCollector.cs
- TypeResolver.cs
- XmlAttributeCollection.cs
- RootCodeDomSerializer.cs
- StackOverflowException.cs
- Message.cs
- ProfileGroupSettingsCollection.cs
- XhtmlCssHandler.cs
- CapabilitiesAssignment.cs
- CursorConverter.cs
- KnownColorTable.cs
- ThreadStartException.cs
- ImageUrlEditor.cs
- Exceptions.cs
- SortedList.cs
- httpapplicationstate.cs
- SHA1.cs
- DisplayNameAttribute.cs
- Geometry3D.cs
- ProxyGenerator.cs
- BooleanAnimationUsingKeyFrames.cs
- OleDbRowUpdatingEvent.cs
- mongolianshape.cs
- DbProviderConfigurationHandler.cs
- PropertyCondition.cs
- TdsEnums.cs
- SrgsRulesCollection.cs
- TreePrinter.cs
- Membership.cs
- SemanticResultValue.cs
- WindowsTokenRoleProvider.cs
- OutputWindow.cs
- TimeIntervalCollection.cs
- StorageModelBuildProvider.cs
- Debug.cs
- TagMapInfo.cs
- Opcode.cs
- PartManifestEntry.cs
- CharAnimationBase.cs
- SectionInput.cs
- DataGridRowDetailsEventArgs.cs
- Deflater.cs
- DependentList.cs
- ExpressionList.cs
- PartialClassGenerationTask.cs
- WindowsHyperlink.cs
- EventSetter.cs
- StringResourceManager.cs
- ContainerFilterService.cs
- Config.cs
- SerializationSectionGroup.cs
- Mapping.cs
- CultureInfoConverter.cs
- ToolStripDropDown.cs
- MenuItemBinding.cs
- StrongNameKeyPair.cs
- StringFreezingAttribute.cs
- UIElement3DAutomationPeer.cs
- XmlChildNodes.cs
- CombinedGeometry.cs
- WinFormsComponentEditor.cs
- AuthenticatingEventArgs.cs
- AlternationConverter.cs
- HtmlPanelAdapter.cs
- Light.cs
- PolyLineSegmentFigureLogic.cs
- TextTreeUndo.cs
- Aggregates.cs
- WinFormsSpinner.cs
- PreviewPrintController.cs
- BrowsableAttribute.cs
- PeerObject.cs
- BindingSourceDesigner.cs
- SqlBulkCopyColumnMappingCollection.cs
- ContextBase.cs
- ScriptResourceInfo.cs
- ToolStripDropDownItem.cs
- mda.cs
- CompiledAction.cs
- WebPartDescriptionCollection.cs
- Subordinate.cs
- FileCodeGroup.cs