Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsConfigureVerb.cs / 1 / WebPartConnectionsConfigureVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsConfigureVerb : 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.WebPartConnectionsConfigureVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConfigureVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsConfigureVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConfigureVerb_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 WebPartConnectionsConfigureVerb : 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.WebPartConnectionsConfigureVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConfigureVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsConfigureVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConfigureVerb_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
- CharEntityEncoderFallback.cs
- ApplicationManager.cs
- ManualResetEvent.cs
- TextClipboardData.cs
- ProcessThread.cs
- AlternationConverter.cs
- WebPartConnectionsEventArgs.cs
- XmlTextReader.cs
- GraphicsContext.cs
- ServiceSettingsResponseInfo.cs
- StyleXamlTreeBuilder.cs
- ApplicationServiceHelper.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- CryptoProvider.cs
- Unit.cs
- LineInfo.cs
- DiscreteKeyFrames.cs
- EUCJPEncoding.cs
- DecoderBestFitFallback.cs
- SplitterEvent.cs
- EastAsianLunisolarCalendar.cs
- ToolStripGrip.cs
- RefType.cs
- XmlSerializationReader.cs
- DiscreteKeyFrames.cs
- URLIdentityPermission.cs
- ShaderEffect.cs
- AnnotationComponentChooser.cs
- GcSettings.cs
- HMAC.cs
- HtmlString.cs
- InvalidEnumArgumentException.cs
- ScalarConstant.cs
- QueryCacheKey.cs
- DataObjectFieldAttribute.cs
- Transform.cs
- HtmlWindow.cs
- FacetDescription.cs
- HwndHost.cs
- PeerContact.cs
- Point.cs
- DbMetaDataCollectionNames.cs
- ellipse.cs
- Freezable.cs
- HorizontalAlignConverter.cs
- DataGridViewCell.cs
- CodeLabeledStatement.cs
- DataSourceHelper.cs
- BaseHashHelper.cs
- SqlAliasesReferenced.cs
- _BufferOffsetSize.cs
- EventListenerClientSide.cs
- SettingsPropertyWrongTypeException.cs
- ProtocolsSection.cs
- TagNameToTypeMapper.cs
- TextEditorTables.cs
- BatchWriter.cs
- OleDbError.cs
- DatagramAdapter.cs
- TypeSystemHelpers.cs
- ScriptComponentDescriptor.cs
- QuerySettings.cs
- Geometry3D.cs
- ToolStripSplitStackLayout.cs
- ThreadInterruptedException.cs
- DataGridViewCellFormattingEventArgs.cs
- StateDesigner.CommentLayoutGlyph.cs
- ImageKeyConverter.cs
- AsyncResult.cs
- SafePointer.cs
- FlowDocumentReaderAutomationPeer.cs
- PolicyDesigner.cs
- DBCommand.cs
- PointCollection.cs
- BamlRecords.cs
- XmlSerializerSection.cs
- EmptyElement.cs
- InternalTypeHelper.cs
- ComponentResourceManager.cs
- ApplicationServicesHostFactory.cs
- DataGridViewSelectedCellCollection.cs
- RegexReplacement.cs
- shaperfactoryquerycacheentry.cs
- HtmlImage.cs
- LogAppendAsyncResult.cs
- CodeAttachEventStatement.cs
- SafeNativeMethodsMilCoreApi.cs
- HtmlPhoneCallAdapter.cs
- MimeTypePropertyAttribute.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- _SecureChannel.cs
- DictionaryManager.cs
- BoundColumn.cs
- TraceContextRecord.cs
- EntityRecordInfo.cs
- KeyEventArgs.cs
- MsmqAppDomainProtocolHandler.cs
- ChangeDirector.cs
- ModifierKeysConverter.cs
- MaskInputRejectedEventArgs.cs