Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsDisconnectVerb.cs / 1305376 / WebPartConnectionsDisconnectVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsDisconnectVerb : 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.WebPartConnectionsDisconnectVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsDisconnectVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsDisconnectVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsDisconnectVerb_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 WebPartConnectionsDisconnectVerb : 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.WebPartConnectionsDisconnectVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsDisconnectVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsDisconnectVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsDisconnectVerb_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
- RuntimeResourceSet.cs
- SelectiveScrollingGrid.cs
- OleDbDataAdapter.cs
- DbConnectionPoolCounters.cs
- OracleCommandBuilder.cs
- XmlFormatWriterGenerator.cs
- sapiproxy.cs
- RenderData.cs
- InstalledVoice.cs
- SystemPens.cs
- SvcMapFileSerializer.cs
- ProviderSettingsCollection.cs
- IPPacketInformation.cs
- ModelVisual3D.cs
- TextBox.cs
- Identity.cs
- StringResourceManager.cs
- DesignerSerializerAttribute.cs
- PropertyDescriptors.cs
- CookieParameter.cs
- TextAdaptor.cs
- RotateTransform3D.cs
- FormViewAutoFormat.cs
- EncoderParameter.cs
- ProjectionPruner.cs
- CustomGrammar.cs
- RecognizerInfo.cs
- RequestCacheManager.cs
- Relationship.cs
- Vector3DIndependentAnimationStorage.cs
- SourceLineInfo.cs
- BitmapFrameEncode.cs
- WsrmFault.cs
- RoutedEventArgs.cs
- FirewallWrapper.cs
- DataPagerFieldItem.cs
- CriticalExceptions.cs
- ServiceBusyException.cs
- WindowsTooltip.cs
- LayoutEngine.cs
- XamlSerializer.cs
- TargetControlTypeAttribute.cs
- ExceptionDetail.cs
- ExternalCalls.cs
- cookiecontainer.cs
- PerfCounters.cs
- WpfSharedBamlSchemaContext.cs
- MinimizableAttributeTypeConverter.cs
- HttpModuleAction.cs
- ListControlActionList.cs
- PathTooLongException.cs
- TreeView.cs
- BindingCompleteEventArgs.cs
- CaseStatementProjectedSlot.cs
- FixedSOMTableRow.cs
- CodePropertyReferenceExpression.cs
- OracleException.cs
- AnnotationStore.cs
- Stylus.cs
- New.cs
- ItemContainerPattern.cs
- Ray3DHitTestResult.cs
- StringReader.cs
- ConnectionInterfaceCollection.cs
- _ConnectOverlappedAsyncResult.cs
- SchemaImporterExtensionsSection.cs
- ParameterModifier.cs
- KeyboardNavigation.cs
- GlobalItem.cs
- HtmlTable.cs
- ValueCollectionParameterReader.cs
- DataTableReader.cs
- XmlHierarchicalDataSourceView.cs
- XamlRtfConverter.cs
- ServiceDesigner.cs
- DataGridViewDataErrorEventArgs.cs
- Mapping.cs
- DrawingGroupDrawingContext.cs
- XPathAxisIterator.cs
- EntityTypeEmitter.cs
- Baml2006ReaderFrame.cs
- XmlObjectSerializerWriteContext.cs
- XXXInfos.cs
- SoundPlayerAction.cs
- TaiwanCalendar.cs
- Rijndael.cs
- UnknownBitmapDecoder.cs
- ProfileModule.cs
- FtpRequestCacheValidator.cs
- FileAuthorizationModule.cs
- WithParamAction.cs
- ViewgenContext.cs
- ValidatorCompatibilityHelper.cs
- NodeLabelEditEvent.cs
- DocobjHost.cs
- PeerInputChannel.cs
- TreeViewImageIndexConverter.cs
- TokenBasedSetEnumerator.cs
- XhtmlBasicValidatorAdapter.cs
- JulianCalendar.cs