Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. //------------------------------------------------------------------------------ //// 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DrawingContextWalker.cs
- DateTimeOffset.cs
- BinaryMethodMessage.cs
- HtmlInputHidden.cs
- RadioButtonPopupAdapter.cs
- CheckBoxBaseAdapter.cs
- Propagator.cs
- ConstructorExpr.cs
- EventMappingSettingsCollection.cs
- PropertySegmentSerializationProvider.cs
- RoleGroupCollection.cs
- precedingquery.cs
- JapaneseCalendar.cs
- CodeIdentifier.cs
- CodeGenerator.cs
- SiteMapNodeItem.cs
- ToolStripPanelCell.cs
- OleDbWrapper.cs
- Convert.cs
- EntityType.cs
- MessageQueueException.cs
- LowerCaseStringConverter.cs
- XmlLinkedNode.cs
- BamlRecordReader.cs
- EntryPointNotFoundException.cs
- DirtyTextRange.cs
- DBAsyncResult.cs
- Int32CAMarshaler.cs
- TriggerCollection.cs
- JsonGlobals.cs
- TextSearch.cs
- AbsoluteQuery.cs
- RowToFieldTransformer.cs
- PrePrepareMethodAttribute.cs
- ObjectConverter.cs
- ResponseStream.cs
- PeerApplication.cs
- ComboBoxDesigner.cs
- LostFocusEventManager.cs
- SqlBuilder.cs
- DBAsyncResult.cs
- RotateTransform.cs
- ProtocolReflector.cs
- DesignBindingEditor.cs
- Predicate.cs
- NameSpaceExtractor.cs
- StringFormat.cs
- OAVariantLib.cs
- _NegoState.cs
- IIS7UserPrincipal.cs
- MenuItemAutomationPeer.cs
- filewebresponse.cs
- XmlSchemaSimpleContentExtension.cs
- SiteOfOriginPart.cs
- ListControlBoundActionList.cs
- Border.cs
- WorkflowServiceHost.cs
- MsmqTransportBindingElement.cs
- ClientApiGenerator.cs
- ReflectionServiceProvider.cs
- BrushValueSerializer.cs
- NameValuePermission.cs
- SystemIPGlobalStatistics.cs
- ColumnMapProcessor.cs
- XmlBinaryReader.cs
- ValueProviderWrapper.cs
- DataObjectAttribute.cs
- NavigationHelper.cs
- StickyNoteContentControl.cs
- VerticalAlignConverter.cs
- TaskFormBase.cs
- CmsInterop.cs
- FakeModelItemImpl.cs
- WasEndpointConfigContainer.cs
- RadioButton.cs
- ListControl.cs
- IOException.cs
- URL.cs
- FileLogRecord.cs
- RC2CryptoServiceProvider.cs
- OleDbInfoMessageEvent.cs
- HttpListenerException.cs
- FixedSchema.cs
- StylusEventArgs.cs
- SchemaImporter.cs
- WebBrowserNavigatingEventHandler.cs
- OSFeature.cs
- XmlDeclaration.cs
- BinarySerializer.cs
- RoutedCommand.cs
- X509Certificate.cs
- VoiceChangeEventArgs.cs
- Point3DAnimationUsingKeyFrames.cs
- StaticDataManager.cs
- FactoryMaker.cs
- GPPOINTF.cs
- Error.cs
- PointCollection.cs
- HitTestWithPointDrawingContextWalker.cs
- WebConfigurationHostFileChange.cs