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 / WebPartConnectionsCloseVerb.cs / 1 / WebPartConnectionsCloseVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsCloseVerb : 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.WebPartConnectionsCloseVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCloseVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsCloseVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCloseVerb_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 WebPartConnectionsCloseVerb : 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.WebPartConnectionsCloseVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCloseVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsCloseVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCloseVerb_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
- TypeForwardedFromAttribute.cs
- TextElementCollection.cs
- HtmlButton.cs
- ActivityScheduledRecord.cs
- ListenerElementsCollection.cs
- StringHandle.cs
- SmiXetterAccessMap.cs
- PathGradientBrush.cs
- HttpDictionary.cs
- HexParser.cs
- Metafile.cs
- HuffModule.cs
- TrackingMemoryStream.cs
- ConfigurationValidatorBase.cs
- BinaryParser.cs
- CodePageUtils.cs
- PropertyTabChangedEvent.cs
- IpcChannel.cs
- XsltCompileContext.cs
- FontDriver.cs
- DesignerActionHeaderItem.cs
- ObjectDataSourceSelectingEventArgs.cs
- XmlWrappingReader.cs
- SqlNodeAnnotations.cs
- DrawingContextDrawingContextWalker.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- SpeechEvent.cs
- GroupJoinQueryOperator.cs
- GiveFeedbackEvent.cs
- Line.cs
- DefaultBinder.cs
- HtmlElementEventArgs.cs
- SingleResultAttribute.cs
- ServicePointManagerElement.cs
- InternalUserCancelledException.cs
- DateTimeSerializationSection.cs
- GeneratedContractType.cs
- IPAddress.cs
- Helpers.cs
- ListControl.cs
- ThreadAttributes.cs
- JapaneseCalendar.cs
- ProfileSection.cs
- SqlNodeAnnotations.cs
- ThreadExceptionDialog.cs
- SqlSupersetValidator.cs
- Triplet.cs
- ParsedAttributeCollection.cs
- SecureUICommand.cs
- PropertyBuilder.cs
- PropertyGrid.cs
- StaticFileHandler.cs
- FormViewDeletedEventArgs.cs
- XmlChildNodes.cs
- DBBindings.cs
- CharAnimationBase.cs
- RecordsAffectedEventArgs.cs
- ConfigurationStrings.cs
- FixedSOMGroup.cs
- Paragraph.cs
- ConfigurationPropertyCollection.cs
- AttributeEmitter.cs
- PerformanceCounterLib.cs
- CodeTypeDeclarationCollection.cs
- EventEntry.cs
- WindowsNonControl.cs
- StringFreezingAttribute.cs
- ExpressionBindingsDialog.cs
- Size3DValueSerializer.cs
- GridViewUpdatedEventArgs.cs
- SiblingIterators.cs
- JumpItem.cs
- Control.cs
- DataGridCell.cs
- StringUtil.cs
- DirectoryNotFoundException.cs
- ZipFileInfoCollection.cs
- ToolboxItemAttribute.cs
- Pointer.cs
- FixedSOMContainer.cs
- reliableinputsessionchannel.cs
- Button.cs
- QilList.cs
- HandledMouseEvent.cs
- HtmlForm.cs
- CapacityStreamGeometryContext.cs
- CLSCompliantAttribute.cs
- FunctionDescription.cs
- DefaultBinder.cs
- ProcessingInstructionAction.cs
- DecimalAnimationUsingKeyFrames.cs
- GlyphCollection.cs
- DateTimeParse.cs
- WmiEventSink.cs
- SingleObjectCollection.cs
- TemplateXamlTreeBuilder.cs
- SqlDataSourceConnectionPanel.cs
- AnonymousIdentificationModule.cs
- Convert.cs
- InheritedPropertyChangedEventArgs.cs