Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartConnectionsCancelVerb.cs / 1 / WebPartConnectionsCancelVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsCancelVerb : 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.WebPartConnectionsCancelVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCancelVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsCancelVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCancelVerb_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 WebPartConnectionsCancelVerb : 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.WebPartConnectionsCancelVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCancelVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsCancelVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsCancelVerb_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
- MemberAssignmentAnalysis.cs
- DataSysAttribute.cs
- View.cs
- DashStyle.cs
- _HelperAsyncResults.cs
- DataGridHelper.cs
- TransferRequestHandler.cs
- tabpagecollectioneditor.cs
- Number.cs
- InfoCardServiceInstallComponent.cs
- GridViewUpdatedEventArgs.cs
- XmlFormatExtensionPointAttribute.cs
- NamedPipeActivation.cs
- BindingNavigator.cs
- FixedHyperLink.cs
- ObjectViewFactory.cs
- DataGridTable.cs
- DateTimeFormatInfo.cs
- BuildProviderAppliesToAttribute.cs
- SqlTrackingService.cs
- RSAPKCS1SignatureDeformatter.cs
- XmlSchemaValidationException.cs
- DataListItemCollection.cs
- WebPartDisplayModeCancelEventArgs.cs
- SID.cs
- RuntimeResourceSet.cs
- CurrentTimeZone.cs
- XmlNamespaceDeclarationsAttribute.cs
- DataExpression.cs
- MasterPageBuildProvider.cs
- TypeReference.cs
- FastEncoderStatics.cs
- CapabilitiesAssignment.cs
- UnsettableComboBox.cs
- DataSetUtil.cs
- ListItemCollection.cs
- dbenumerator.cs
- OdbcParameter.cs
- HttpCacheVaryByContentEncodings.cs
- KeyInterop.cs
- HashHelper.cs
- Currency.cs
- ToolStripItem.cs
- ToolStripContainerActionList.cs
- TextElement.cs
- WebPartCloseVerb.cs
- RowVisual.cs
- TemplateBindingExpression.cs
- Int32RectValueSerializer.cs
- PerfCounters.cs
- TraceSection.cs
- RoutingSection.cs
- XmlValidatingReaderImpl.cs
- PolicyException.cs
- RoutedEventConverter.cs
- _IPv4Address.cs
- PagePropertiesChangingEventArgs.cs
- PeerInputChannelListener.cs
- CheckedListBox.cs
- HttpPostedFile.cs
- HtmlHistory.cs
- TrackingMemoryStreamFactory.cs
- Point.cs
- updatecommandorderer.cs
- SessionStateSection.cs
- PngBitmapDecoder.cs
- HtmlElementErrorEventArgs.cs
- SessionIDManager.cs
- DBPropSet.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- ExceptionHandlers.cs
- ContentPresenter.cs
- Margins.cs
- CompoundFileIOPermission.cs
- BamlCollectionHolder.cs
- RuleSettingsCollection.cs
- MemberDescriptor.cs
- BuildResult.cs
- UpdateExpressionVisitor.cs
- CharacterMetrics.cs
- Convert.cs
- BamlRecordWriter.cs
- GetWinFXPath.cs
- CachedTypeface.cs
- UserControlBuildProvider.cs
- FixedPageAutomationPeer.cs
- ListViewUpdatedEventArgs.cs
- TogglePatternIdentifiers.cs
- AsyncResult.cs
- ToReply.cs
- Help.cs
- FixedBufferAttribute.cs
- MULTI_QI.cs
- ErrorWebPart.cs
- NamedPipeWorkerProcess.cs
- GenericsInstances.cs
- DesignerActionItem.cs
- DateRangeEvent.cs
- updatecommandorderer.cs
- ServiceChannel.cs