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 / 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
- ConfigurationLocation.cs
- DoubleSumAggregationOperator.cs
- AxHost.cs
- ObjectDataSourceView.cs
- X509Utils.cs
- EventQueueState.cs
- SchemaMapping.cs
- Delegate.cs
- SerialPort.cs
- WebPartTransformerAttribute.cs
- PerformanceCounterPermission.cs
- OutOfMemoryException.cs
- xsdvalidator.cs
- TextTreeObjectNode.cs
- InitializerFacet.cs
- RouteItem.cs
- FileFormatException.cs
- ADMembershipProvider.cs
- GenericArgumentsUpdater.cs
- PasswordTextNavigator.cs
- compensatingcollection.cs
- OleDbParameterCollection.cs
- RequiredAttributeAttribute.cs
- ReadOnlyCollection.cs
- Subtree.cs
- NotImplementedException.cs
- CustomAttributeFormatException.cs
- CompositeTypefaceMetrics.cs
- ToolStripPanelSelectionGlyph.cs
- TemplateComponentConnector.cs
- MinimizableAttributeTypeConverter.cs
- SByte.cs
- PropertySegmentSerializer.cs
- ToolStripGripRenderEventArgs.cs
- DependencyObjectPropertyDescriptor.cs
- JpegBitmapEncoder.cs
- CatalogUtil.cs
- FormViewRow.cs
- XmlSchemas.cs
- PostBackOptions.cs
- OutputCacheModule.cs
- CachedPathData.cs
- IDQuery.cs
- XmlSchemaType.cs
- DataBindingHandlerAttribute.cs
- CodeDOMProvider.cs
- storepermission.cs
- ContentFilePart.cs
- AssociationTypeEmitter.cs
- WebPartConnectionsDisconnectVerb.cs
- ScriptResourceHandler.cs
- ScriptIgnoreAttribute.cs
- DataGridViewHeaderCell.cs
- GridViewCommandEventArgs.cs
- WebEventCodes.cs
- HwndHostAutomationPeer.cs
- AdjustableArrowCap.cs
- GradientStop.cs
- TraversalRequest.cs
- GeneralTransform3DCollection.cs
- DrawingBrush.cs
- DelegateBodyWriter.cs
- ExpressionBinding.cs
- DiscoveryRequestHandler.cs
- RequestSecurityTokenForGetBrowserToken.cs
- HtmlMeta.cs
- BlobPersonalizationState.cs
- Crc32Helper.cs
- XComponentModel.cs
- ResourcePermissionBaseEntry.cs
- CompilerWrapper.cs
- OAVariantLib.cs
- PriorityQueue.cs
- ComponentCollection.cs
- Rotation3D.cs
- ConfigurationSectionHelper.cs
- basevalidator.cs
- OleDbCommandBuilder.cs
- RowParagraph.cs
- sortedlist.cs
- SystemTcpStatistics.cs
- FunctionUpdateCommand.cs
- DataServiceRequestArgs.cs
- ToolCreatedEventArgs.cs
- GeneralTransform3DTo2D.cs
- DataServiceSaveChangesEventArgs.cs
- Section.cs
- CodeDomSerializerBase.cs
- BrowserCapabilitiesCodeGenerator.cs
- ServicePoint.cs
- XmlEnumAttribute.cs
- BevelBitmapEffect.cs
- JoinGraph.cs
- DataGridViewColumnCollection.cs
- ConnectionStringsExpressionBuilder.cs
- HWStack.cs
- BitmapImage.cs
- ProcessHost.cs
- ImageIndexConverter.cs
- ConfigurationPropertyCollection.cs