Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsConnectVerb.cs / 1305376 / 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
- PagedDataSource.cs
- ViewEventArgs.cs
- UpdateRecord.cs
- Renderer.cs
- BitmapEffectInput.cs
- CompiledQueryCacheKey.cs
- CodeTypeParameterCollection.cs
- EncoderExceptionFallback.cs
- FlowDocumentReader.cs
- BuildProviderAppliesToAttribute.cs
- DatatypeImplementation.cs
- SqlInternalConnectionTds.cs
- ToolStripSeparator.cs
- TemplateControlCodeDomTreeGenerator.cs
- DoWhile.cs
- D3DImage.cs
- DSASignatureFormatter.cs
- ComponentChangingEvent.cs
- securitymgrsite.cs
- PropertyPath.cs
- LocalFileSettingsProvider.cs
- SamlAuthorizationDecisionClaimResource.cs
- PositiveTimeSpanValidator.cs
- HandleTable.cs
- AlternateViewCollection.cs
- UserControlFileEditor.cs
- TrustSection.cs
- TransformCryptoHandle.cs
- NotifyCollectionChangedEventArgs.cs
- XmlObjectSerializerContext.cs
- AppDomain.cs
- VoiceSynthesis.cs
- WorkItem.cs
- HistoryEventArgs.cs
- counter.cs
- OdbcEnvironmentHandle.cs
- HtmlInputSubmit.cs
- MenuBindingsEditorForm.cs
- DelegateSerializationHolder.cs
- PasswordTextNavigator.cs
- SchemaType.cs
- SqlCrossApplyToCrossJoin.cs
- HebrewCalendar.cs
- MobileUITypeEditor.cs
- _Semaphore.cs
- LogSwitch.cs
- WebPartCatalogAddVerb.cs
- RegistrySecurity.cs
- EntityDataSourceUtil.cs
- ImpersonateTokenRef.cs
- DbgUtil.cs
- RegexBoyerMoore.cs
- AutoCompleteStringCollection.cs
- DataBinding.cs
- ConstraintConverter.cs
- PostBackOptions.cs
- ImageResources.Designer.cs
- StringBuilder.cs
- CustomAttributeFormatException.cs
- GACIdentityPermission.cs
- InternalDispatchObject.cs
- BezierSegment.cs
- ReferencedAssemblyResolver.cs
- RenderOptions.cs
- CharacterMetrics.cs
- HandoffBehavior.cs
- UnsafeNativeMethods.cs
- HtmlMeta.cs
- ObjectIDGenerator.cs
- DataGridState.cs
- SecurityState.cs
- CroppedBitmap.cs
- WindowsListViewGroup.cs
- IdnMapping.cs
- SamlSecurityToken.cs
- PageSetupDialog.cs
- BooleanExpr.cs
- ObjectListCommandEventArgs.cs
- CompilationSection.cs
- SourceLocationProvider.cs
- TextParagraphView.cs
- DataGridViewRowEventArgs.cs
- IdnMapping.cs
- AtomEntry.cs
- InstancePersistenceCommandException.cs
- NotSupportedException.cs
- BitmapEffect.cs
- DataObject.cs
- MarkerProperties.cs
- OwnerDrawPropertyBag.cs
- ColumnMapCopier.cs
- SqlClientFactory.cs
- DEREncoding.cs
- CachedPathData.cs
- ContentFilePart.cs
- TraceHwndHost.cs
- NumberFormatInfo.cs
- ApplicationFileParser.cs
- XmlMessageFormatter.cs
- Mappings.cs