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
- ToggleProviderWrapper.cs
- ComboBox.cs
- DriveNotFoundException.cs
- SafeFileMappingHandle.cs
- Vars.cs
- SqlCacheDependencySection.cs
- Underline.cs
- HtmlElementErrorEventArgs.cs
- MethodExpr.cs
- ConcurrentBag.cs
- MediaSystem.cs
- ChannelProtectionRequirements.cs
- ConfigurationElementCollection.cs
- XmlChildNodes.cs
- Trigger.cs
- GroupBoxAutomationPeer.cs
- DataSourceXmlClassAttribute.cs
- ListComponentEditor.cs
- PixelShader.cs
- AdornedElementPlaceholder.cs
- StructuredProperty.cs
- ResXResourceWriter.cs
- VisualProxy.cs
- SoapMessage.cs
- UriSection.cs
- Sql8ConformanceChecker.cs
- LoginCancelEventArgs.cs
- DataSourceSelectArguments.cs
- ByeOperationCD1AsyncResult.cs
- RuntimeIdentifierPropertyAttribute.cs
- CodeTypeParameter.cs
- RecordBuilder.cs
- DependencyObjectPropertyDescriptor.cs
- RoleService.cs
- InheritanceRules.cs
- EntityClassGenerator.cs
- DataGridViewCellParsingEventArgs.cs
- DataSourceXmlSubItemAttribute.cs
- Stroke.cs
- InstancePersistenceCommandException.cs
- TabPanel.cs
- ContentOperations.cs
- OrthographicCamera.cs
- DataBoundLiteralControl.cs
- TokenizerHelper.cs
- ChtmlLinkAdapter.cs
- URLMembershipCondition.cs
- DetailsViewUpdateEventArgs.cs
- CodeDirectoryCompiler.cs
- CompilerError.cs
- WasNotInstalledException.cs
- CounterCreationDataConverter.cs
- PageEventArgs.cs
- externdll.cs
- Mapping.cs
- TableItemStyle.cs
- PropertyDescriptor.cs
- DbConnectionPool.cs
- DropShadowEffect.cs
- TypeDescriptorFilterService.cs
- OdbcTransaction.cs
- StreamGeometry.cs
- Point3D.cs
- EmptyQuery.cs
- Helpers.cs
- DropSource.cs
- HtmlEmptyTagControlBuilder.cs
- externdll.cs
- ZipIOExtraFieldPaddingElement.cs
- ContentTextAutomationPeer.cs
- PeerInvitationResponse.cs
- XmlSiteMapProvider.cs
- SiteMapNodeItemEventArgs.cs
- XmlIlTypeHelper.cs
- WebPartChrome.cs
- IncrementalReadDecoders.cs
- DataBindingCollectionEditor.cs
- HttpHeaderCollection.cs
- DocumentViewerBase.cs
- ProcessStartInfo.cs
- UnauthorizedAccessException.cs
- SortedList.cs
- SiteMapNodeItem.cs
- PropertyGeneratedEventArgs.cs
- FixedSOMTableCell.cs
- MetadataPropertyAttribute.cs
- ClientSettingsStore.cs
- RelationshipConverter.cs
- UserMapPath.cs
- RegisteredDisposeScript.cs
- MultipleViewPattern.cs
- SqlSelectStatement.cs
- _OSSOCK.cs
- MessageSmuggler.cs
- NullableDecimalSumAggregationOperator.cs
- SystemResourceHost.cs
- ClientSideQueueItem.cs
- ScrollChrome.cs
- ValidationEventArgs.cs
- ToolStripPanelRow.cs