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 / WebPartConnectionsConnectVerb.cs / 1 / WebPartConnectionsConnectVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsConnectVerb : 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.WebPartConnectionsConnectVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConnectVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsConnectVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConnectVerb_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 WebPartConnectionsConnectVerb : 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.WebPartConnectionsConnectVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConnectVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsConnectVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConnectVerb_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
- ConfigXmlComment.cs
- RequestBringIntoViewEventArgs.cs
- WindowPattern.cs
- BasicViewGenerator.cs
- SmiEventSink_Default.cs
- MachineKeySection.cs
- HttpDictionary.cs
- UnsafeNativeMethods.cs
- RijndaelManagedTransform.cs
- GenericsInstances.cs
- ImageSourceValueSerializer.cs
- DataGridViewToolTip.cs
- NameSpaceExtractor.cs
- Point4D.cs
- ImageConverter.cs
- LocalServiceSecuritySettings.cs
- XmlSchemaGroupRef.cs
- ConstraintConverter.cs
- Pair.cs
- XmlSchemaSimpleContentExtension.cs
- FormatterServices.cs
- DbParameterCollectionHelper.cs
- TextContainer.cs
- _ListenerRequestStream.cs
- OleDbSchemaGuid.cs
- RowCache.cs
- SchemaImporterExtensionElement.cs
- GlobalEventManager.cs
- RepeaterItemCollection.cs
- MarkedHighlightComponent.cs
- ParameterEditorUserControl.cs
- AccessViolationException.cs
- StatusBar.cs
- FontFamily.cs
- GacUtil.cs
- ResourceContainerWrapper.cs
- SectionRecord.cs
- ZipIOExtraFieldZip64Element.cs
- MemoryPressure.cs
- TimeSpanMinutesConverter.cs
- Size.cs
- ModuleBuilderData.cs
- ipaddressinformationcollection.cs
- OutputCacheSettings.cs
- SqlBulkCopyColumnMapping.cs
- DynamicILGenerator.cs
- TemplatePropertyEntry.cs
- WindowsListBox.cs
- CreateUserWizard.cs
- ScrollBarRenderer.cs
- ObjectSet.cs
- TextRunCache.cs
- DNS.cs
- CompilationRelaxations.cs
- PresentationTraceSources.cs
- Geometry.cs
- DateTimeConverter.cs
- DiscoveryUtility.cs
- DesignerHelpers.cs
- Certificate.cs
- _NegoState.cs
- WinInetCache.cs
- LogExtent.cs
- HMACSHA512.cs
- GeometryGroup.cs
- TreeNodeCollection.cs
- ScriptResourceAttribute.cs
- UnsafeCollabNativeMethods.cs
- RTLAwareMessageBox.cs
- StylusEventArgs.cs
- LinkConverter.cs
- GetWinFXPath.cs
- ISAPIWorkerRequest.cs
- BlobPersonalizationState.cs
- MetadataCache.cs
- ClientEventManager.cs
- TreeViewDataItemAutomationPeer.cs
- Variable.cs
- Padding.cs
- CryptoProvider.cs
- WrappedDispatcherException.cs
- WindowsRichEdit.cs
- TableCellsCollectionEditor.cs
- XmlDocumentType.cs
- PropertyGridEditorPart.cs
- ObjectTypeMapping.cs
- ObjectDataSourceStatusEventArgs.cs
- XmlQueryType.cs
- SqlTypesSchemaImporter.cs
- NamespaceEmitter.cs
- CodeIterationStatement.cs
- AnnotationAuthorChangedEventArgs.cs
- ExpressionsCollectionConverter.cs
- TabRenderer.cs
- PageHandlerFactory.cs
- ErrorRuntimeConfig.cs
- dataobject.cs
- UserMapPath.cs
- InternalRelationshipCollection.cs
- GridErrorDlg.cs