Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsConfigureVerb.cs / 1305376 / 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
- GZipStream.cs
- GlobalEventManager.cs
- Positioning.cs
- DataGridViewTopRowAccessibleObject.cs
- ScriptControlDescriptor.cs
- ToolConsole.cs
- ParameterBuilder.cs
- InternalCache.cs
- TrustManagerPromptUI.cs
- MembershipUser.cs
- OperationPerformanceCounters.cs
- ItemCollection.cs
- TreeViewImageIndexConverter.cs
- TableParaClient.cs
- WebBrowserNavigatingEventHandler.cs
- RunInstallerAttribute.cs
- ObjectListCommandEventArgs.cs
- ExceptionUtil.cs
- DeferredElementTreeState.cs
- HostSecurityManager.cs
- WebPartDisplayModeCancelEventArgs.cs
- UrlAuthorizationModule.cs
- DisplayInformation.cs
- Clock.cs
- XPathChildIterator.cs
- TemplateParser.cs
- EndEvent.cs
- WindowsToolbarItemAsMenuItem.cs
- ScriptingAuthenticationServiceSection.cs
- StorageEntityContainerMapping.cs
- DbException.cs
- RequestSecurityTokenResponseCollection.cs
- LineGeometry.cs
- Latin1Encoding.cs
- AnnotationHighlightLayer.cs
- OutputScope.cs
- RewritingProcessor.cs
- SynthesizerStateChangedEventArgs.cs
- ContentPlaceHolderDesigner.cs
- PropertyEmitter.cs
- ExpressionDumper.cs
- Renderer.cs
- ReferentialConstraint.cs
- SafeRegistryKey.cs
- Wizard.cs
- PageAsyncTask.cs
- SymmetricAlgorithm.cs
- ToolboxService.cs
- BulletChrome.cs
- SqlDataSourceEnumerator.cs
- ItemsPresenter.cs
- HashHelper.cs
- Function.cs
- CodeTypeDeclaration.cs
- XmlSecureResolver.cs
- WindowsStatusBar.cs
- VisualStyleTypesAndProperties.cs
- RadioButton.cs
- HttpPostedFile.cs
- ExpressionBuilderCollection.cs
- RadialGradientBrush.cs
- ScrollItemPattern.cs
- Slider.cs
- WorkflowServiceNamespace.cs
- LiteralControl.cs
- GridViewSortEventArgs.cs
- ConfigurationLocation.cs
- OleDbInfoMessageEvent.cs
- ToolStripDropDownItem.cs
- PersonalizationStateInfoCollection.cs
- FrameSecurityDescriptor.cs
- PolyLineSegment.cs
- AssemblyBuilder.cs
- CodeDirectoryCompiler.cs
- IpcPort.cs
- LoadRetryHandler.cs
- StreamGeometryContext.cs
- UnsafeNativeMethods.cs
- Registration.cs
- Token.cs
- MenuTracker.cs
- SelectionRangeConverter.cs
- TextEditorLists.cs
- SourceItem.cs
- XsltLibrary.cs
- OrthographicCamera.cs
- WhileDesigner.cs
- EventSinkActivityDesigner.cs
- JsonEncodingStreamWrapper.cs
- FixedDSBuilder.cs
- ObjectStateEntry.cs
- Metadata.cs
- DecoderReplacementFallback.cs
- ResourceExpression.cs
- SoapIgnoreAttribute.cs
- HyperLinkDesigner.cs
- IisTraceListener.cs
- entitydatasourceentitysetnameconverter.cs
- IListConverters.cs
- PhonemeEventArgs.cs