Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- RandomNumberGenerator.cs
- HtmlProps.cs
- DataBoundLiteralControl.cs
- CqlWriter.cs
- SponsorHelper.cs
- EntityDataSourceQueryBuilder.cs
- StringCollection.cs
- ExpressionVisitor.cs
- LambdaCompiler.Expressions.cs
- XamlFrame.cs
- Semaphore.cs
- TrackingWorkflowEventArgs.cs
- _ListenerResponseStream.cs
- SoapObjectInfo.cs
- XmlParser.cs
- InputBinder.cs
- MemoryRecordBuffer.cs
- RelationshipConverter.cs
- IIS7UserPrincipal.cs
- XhtmlTextWriter.cs
- BufferAllocator.cs
- Mapping.cs
- DataGridViewColumnCollectionEditor.cs
- CSharpCodeProvider.cs
- LogSwitch.cs
- ObjectHandle.cs
- XmlSchemaSet.cs
- RegexMatch.cs
- AuthenticationService.cs
- ResourceSet.cs
- DataSourceControl.cs
- Point3D.cs
- GeneralTransform2DTo3D.cs
- InputDevice.cs
- PassportPrincipal.cs
- GridViewCancelEditEventArgs.cs
- Operators.cs
- CheckableControlBaseAdapter.cs
- ArrayHelper.cs
- ClockGroup.cs
- SqlUserDefinedAggregateAttribute.cs
- __Error.cs
- dbdatarecord.cs
- Input.cs
- ClientType.cs
- WebSysDescriptionAttribute.cs
- RootProfilePropertySettingsCollection.cs
- GatewayIPAddressInformationCollection.cs
- Adorner.cs
- FixedSOMPage.cs
- ProcessHostFactoryHelper.cs
- SystemUnicastIPAddressInformation.cs
- TypeDescriptor.cs
- OleDbDataAdapter.cs
- OpCopier.cs
- BufferAllocator.cs
- ResolvedKeyFrameEntry.cs
- selecteditemcollection.cs
- EditorAttribute.cs
- TableLayoutPanelCellPosition.cs
- DrawListViewColumnHeaderEventArgs.cs
- XslAstAnalyzer.cs
- LayoutUtils.cs
- ActivitySurrogate.cs
- DynamicMethod.cs
- ResourceExpressionEditor.cs
- AspCompat.cs
- ToolStripScrollButton.cs
- DocumentViewerBase.cs
- ComplexType.cs
- NativeMethodsOther.cs
- AssemblyCollection.cs
- CommandHelpers.cs
- Message.cs
- DesignerDataSourceView.cs
- WebCodeGenerator.cs
- FixedDocument.cs
- ResourceDescriptionAttribute.cs
- DataGridViewCellValidatingEventArgs.cs
- FlowLayoutPanel.cs
- EncoderBestFitFallback.cs
- OrderedDictionaryStateHelper.cs
- MenuItemCollectionEditorDialog.cs
- ToolStripScrollButton.cs
- WsatServiceAddress.cs
- FaultException.cs
- DataExpression.cs
- OleDbPropertySetGuid.cs
- MessageSecurityOverMsmqElement.cs
- UIElement3D.cs
- FlowchartStart.xaml.cs
- SolidColorBrush.cs
- AssemblyResolver.cs
- SizeConverter.cs
- ControlPropertyNameConverter.cs
- WindowsFormsSectionHandler.cs
- GeneralTransform2DTo3D.cs
- SecurityRuntime.cs
- InternalTransaction.cs
- ArgumentException.cs