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
- ProfileManager.cs
- JoinElimination.cs
- LayoutManager.cs
- ColumnProvider.cs
- ToolBar.cs
- RoleManagerSection.cs
- EditorPartChrome.cs
- PerfProviderCollection.cs
- LocationChangedEventArgs.cs
- LoginName.cs
- ReflectPropertyDescriptor.cs
- NativeMethods.cs
- TreeSet.cs
- FixedSOMTable.cs
- ReferenceList.cs
- ProcessProtocolHandler.cs
- StaticFileHandler.cs
- GenericWebPart.cs
- CaseExpr.cs
- TextBoxLine.cs
- XmlSyndicationContent.cs
- MouseBinding.cs
- DbConnectionPoolCounters.cs
- EventLogConfiguration.cs
- SqlProfileProvider.cs
- ObjectMemberMapping.cs
- WeakEventManager.cs
- CompositeCollectionView.cs
- RegularExpressionValidator.cs
- ImageBrush.cs
- CodeSnippetCompileUnit.cs
- TabPage.cs
- ProcessHostMapPath.cs
- Trace.cs
- SoapMessage.cs
- Pair.cs
- ChineseLunisolarCalendar.cs
- ToolBar.cs
- ImageField.cs
- CqlParserHelpers.cs
- UserControlFileEditor.cs
- CodeCatchClause.cs
- ScrollViewerAutomationPeer.cs
- TypeDescriptorFilterService.cs
- BoolExpressionVisitors.cs
- WebZone.cs
- ConfigXmlComment.cs
- ReferentialConstraintRoleElement.cs
- ScrollEvent.cs
- DefaultShape.cs
- RMEnrollmentPage2.cs
- HttpApplicationFactory.cs
- SHA1CryptoServiceProvider.cs
- HttpWebResponse.cs
- BoolExpr.cs
- RuleSettingsCollection.cs
- ConfigXmlCDataSection.cs
- FunctionCommandText.cs
- ConfigDefinitionUpdates.cs
- path.cs
- XmlQueryType.cs
- DataGridItemCollection.cs
- ExpandSegment.cs
- RadioButton.cs
- SimpleBitVector32.cs
- HtmlInputHidden.cs
- InsufficientMemoryException.cs
- SRGSCompiler.cs
- CurrentChangingEventArgs.cs
- DoubleAnimationClockResource.cs
- SqlDependencyListener.cs
- ImageCodecInfo.cs
- HashStream.cs
- MatrixTransform3D.cs
- CodeCatchClauseCollection.cs
- IgnoreSectionHandler.cs
- TextEditorSpelling.cs
- ListCollectionView.cs
- XPathNode.cs
- MimeFormReflector.cs
- returneventsaver.cs
- HtmlPanelAdapter.cs
- ConversionValidationRule.cs
- FormCollection.cs
- UInt64Converter.cs
- LiteralControl.cs
- BasicAsyncResult.cs
- Sql8ConformanceChecker.cs
- UnSafeCharBuffer.cs
- OutputCacheProfileCollection.cs
- IDispatchConstantAttribute.cs
- PenThreadPool.cs
- DataGridViewBindingCompleteEventArgs.cs
- SimpleRecyclingCache.cs
- Constants.cs
- CodeMemberMethod.cs
- KoreanLunisolarCalendar.cs
- EastAsianLunisolarCalendar.cs
- Light.cs
- WebPartHeaderCloseVerb.cs