Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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. // //----------------------------------------------------------------------------- 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ToolStripProfessionalLowResolutionRenderer.cs
- SimpleType.cs
- BaseCollection.cs
- StreamReader.cs
- DictionaryContent.cs
- XmlQualifiedNameTest.cs
- StylusOverProperty.cs
- MD5.cs
- DesignerSerializationOptionsAttribute.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- Stroke.cs
- SqlRetyper.cs
- DbUpdateCommandTree.cs
- BevelBitmapEffect.cs
- ObjectView.cs
- DeviceSpecific.cs
- ValueType.cs
- InfoCardTrace.cs
- ClientScriptManager.cs
- ParentQuery.cs
- TypeCollectionPropertyEditor.cs
- VisualCollection.cs
- Event.cs
- RestHandler.cs
- DbFunctionCommandTree.cs
- DecimalStorage.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- ClientSettingsProvider.cs
- HwndSubclass.cs
- QueryContinueDragEvent.cs
- HandlerFactoryCache.cs
- Task.cs
- Model3DGroup.cs
- AnimationStorage.cs
- FlowDecision.cs
- ChannelDemuxer.cs
- StrokeCollectionConverter.cs
- TimelineClockCollection.cs
- Clipboard.cs
- ToolStripDropDownClosedEventArgs.cs
- WMIGenerator.cs
- TableParagraph.cs
- ProjectionPathSegment.cs
- ConnectionsZone.cs
- Enum.cs
- Style.cs
- COSERVERINFO.cs
- Nullable.cs
- ColorConverter.cs
- RegexCompilationInfo.cs
- CultureNotFoundException.cs
- BuildProviderCollection.cs
- CatalogZone.cs
- OneToOneMappingSerializer.cs
- PlainXmlDeserializer.cs
- WmiEventSink.cs
- CachedCompositeFamily.cs
- DiffuseMaterial.cs
- RemotingServices.cs
- WindowsFormsHost.cs
- PixelFormat.cs
- OrthographicCamera.cs
- WrapperEqualityComparer.cs
- ToolboxDataAttribute.cs
- XmlSchemaSimpleContentRestriction.cs
- mediapermission.cs
- FormViewModeEventArgs.cs
- MenuItemAutomationPeer.cs
- PartialTrustVisibleAssembliesSection.cs
- FloatUtil.cs
- HotSpot.cs
- TextDecorationUnitValidation.cs
- ExpandableObjectConverter.cs
- ModifierKeysConverter.cs
- DeviceContexts.cs
- Border.cs
- MissingFieldException.cs
- TrackingDataItemValue.cs
- DataChangedEventManager.cs
- CompilerErrorCollection.cs
- ToolStripSystemRenderer.cs
- Italic.cs
- UserControlBuildProvider.cs
- ContextStack.cs
- RowSpanVector.cs
- CfgArc.cs
- XPathParser.cs
- DebugViewWriter.cs
- RequiredFieldValidator.cs
- CanonicalFontFamilyReference.cs
- Vector3D.cs
- ScrollPatternIdentifiers.cs
- TdsParserStaticMethods.cs
- ModelPropertyImpl.cs
- dtdvalidator.cs
- MemoryRecordBuffer.cs
- Utils.cs
- BitmapEffectGroup.cs
- NetPeerTcpBindingCollectionElement.cs
- handlecollector.cs