Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsDisconnectVerb.cs / 1 / WebPartConnectionsDisconnectVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsDisconnectVerb : 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.WebPartConnectionsDisconnectVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsDisconnectVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsDisconnectVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsDisconnectVerb_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 WebPartConnectionsDisconnectVerb : 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.WebPartConnectionsDisconnectVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsDisconnectVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsDisconnectVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsDisconnectVerb_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
- XmlTypeMapping.cs
- FullTrustAssemblyCollection.cs
- ObjectListDataBindEventArgs.cs
- TaiwanCalendar.cs
- IdentityValidationException.cs
- Light.cs
- HandlerFactoryCache.cs
- ToolStripDropDownClosingEventArgs.cs
- ContentPlaceHolderDesigner.cs
- MessageQueueException.cs
- ExtendedTransformFactory.cs
- OracleInfoMessageEventArgs.cs
- HttpCookiesSection.cs
- WebPartDeleteVerb.cs
- AncestorChangedEventArgs.cs
- HtmlDocument.cs
- TreeChangeInfo.cs
- EventProviderWriter.cs
- KeyboardEventArgs.cs
- ButtonChrome.cs
- QuadraticBezierSegment.cs
- EtwTrace.cs
- SerializerDescriptor.cs
- JsonReader.cs
- FullTextLine.cs
- AutomationElementCollection.cs
- QueueProcessor.cs
- DataColumnChangeEvent.cs
- EdgeProfileValidation.cs
- AuthenticationModulesSection.cs
- __ComObject.cs
- CreateParams.cs
- DescriptionAttribute.cs
- SqlInternalConnectionSmi.cs
- COM2IDispatchConverter.cs
- SafeRightsManagementPubHandle.cs
- SyndicationItemFormatter.cs
- MetadataItemEmitter.cs
- EdmItemCollection.cs
- GridViewColumnHeader.cs
- WinEventQueueItem.cs
- VisualTreeUtils.cs
- CompilerParameters.cs
- RootNamespaceAttribute.cs
- EntityCommandExecutionException.cs
- CodeObject.cs
- StorageRoot.cs
- UntypedNullExpression.cs
- ChangeInterceptorAttribute.cs
- RadioButtonRenderer.cs
- SplineKeyFrames.cs
- ManagementObjectCollection.cs
- PageThemeCodeDomTreeGenerator.cs
- DesignerGeometryHelper.cs
- DataSetMappper.cs
- IDReferencePropertyAttribute.cs
- DataListItem.cs
- LogExtentCollection.cs
- CompressStream.cs
- ScaleTransform3D.cs
- MenuItemBindingCollection.cs
- MailDefinition.cs
- OutputCacheModule.cs
- DataGridViewSelectedColumnCollection.cs
- DataKeyArray.cs
- CodeConditionStatement.cs
- EntityDataSource.cs
- DSACryptoServiceProvider.cs
- StringValueSerializer.cs
- CollectionDataContract.cs
- DataGridViewCellValidatingEventArgs.cs
- ImpersonateTokenRef.cs
- _emptywebproxy.cs
- Evaluator.cs
- CFGGrammar.cs
- backend.cs
- ChtmlPhoneCallAdapter.cs
- CLSCompliantAttribute.cs
- TypeDescriptionProviderAttribute.cs
- ConnectionStringSettingsCollection.cs
- TextLine.cs
- DataView.cs
- TailCallAnalyzer.cs
- MemberMaps.cs
- MimeObjectFactory.cs
- NotSupportedException.cs
- GeneralTransform3DTo2DTo3D.cs
- CacheOutputQuery.cs
- CombinedGeometry.cs
- XPathDocumentBuilder.cs
- ObjectToken.cs
- TdsParserStateObject.cs
- GcHandle.cs
- DataGridTablesFactory.cs
- TableParagraph.cs
- ConfigViewGenerator.cs
- OracleParameterCollection.cs
- ApplicationSecurityInfo.cs
- HostDesigntimeLicenseContext.cs
- ArithmeticException.cs