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 / WebPartConnectionsConnectVerb.cs / 1 / WebPartConnectionsConnectVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartConnectionsConnectVerb : 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.WebPartConnectionsConnectVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConnectVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsConnectVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConnectVerb_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 WebPartConnectionsConnectVerb : 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.WebPartConnectionsConnectVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConnectVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartConnectionsConnectVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartConnectionsConnectVerb_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
- ChildTable.cs
- InfoCardProofToken.cs
- DataListCommandEventArgs.cs
- BinHexDecoder.cs
- PropertyChangedEventArgs.cs
- Track.cs
- SqlDependencyUtils.cs
- DataTableCollection.cs
- Char.cs
- GreenMethods.cs
- FactoryMaker.cs
- BamlBinaryWriter.cs
- DependencyPropertyChangedEventArgs.cs
- FileSystemWatcher.cs
- SchemaTableOptionalColumn.cs
- InkPresenter.cs
- ParentUndoUnit.cs
- VirtualPath.cs
- TypeUsageBuilder.cs
- PagePropertiesChangingEventArgs.cs
- InvokeWebService.cs
- UpdateProgress.cs
- ForeignKeyConstraint.cs
- ClientScriptManager.cs
- Point3DValueSerializer.cs
- XpsSerializationManagerAsync.cs
- WriteableOnDemandPackagePart.cs
- WorkflowApplicationUnloadedException.cs
- ImageListStreamer.cs
- GridViewColumnHeaderAutomationPeer.cs
- WindowsContainer.cs
- SspiSafeHandles.cs
- DocumentEventArgs.cs
- AdRotatorDesigner.cs
- Selector.cs
- EntryIndex.cs
- TreeNode.cs
- SourceFileBuildProvider.cs
- ListViewItem.cs
- StorageSetMapping.cs
- UInt32Converter.cs
- ControlValuePropertyAttribute.cs
- SchemaSetCompiler.cs
- FileStream.cs
- ReadOnlyDictionary.cs
- PrimitiveDataContract.cs
- Boolean.cs
- XmlArrayItemAttribute.cs
- TemplateField.cs
- Config.cs
- ConnectionsZoneAutoFormat.cs
- MimeMultiPart.cs
- FormClosedEvent.cs
- ValueExpressions.cs
- OrderedDictionary.cs
- BitStream.cs
- DataSysAttribute.cs
- SamlAuthorizationDecisionClaimResource.cs
- FullTextBreakpoint.cs
- DefaultValueAttribute.cs
- TaiwanLunisolarCalendar.cs
- SemanticValue.cs
- ListSourceHelper.cs
- ReflectTypeDescriptionProvider.cs
- RegistrationServices.cs
- ColorAnimation.cs
- WsiProfilesElementCollection.cs
- StreamGeometryContext.cs
- DesignerOptionService.cs
- IndexOutOfRangeException.cs
- RegistryConfigurationProvider.cs
- ConnectionConsumerAttribute.cs
- ApplyTemplatesAction.cs
- AlphabetConverter.cs
- ApplicationTrust.cs
- COM2Properties.cs
- NavigationHelper.cs
- IODescriptionAttribute.cs
- WindowProviderWrapper.cs
- IxmlLineInfo.cs
- COAUTHIDENTITY.cs
- MSG.cs
- WorkflowEnvironment.cs
- ComponentResourceKey.cs
- GraphicsState.cs
- SQLStringStorage.cs
- Sql8ConformanceChecker.cs
- VisualState.cs
- TracedNativeMethods.cs
- ParallelEnumerableWrapper.cs
- ConstantCheck.cs
- CalendarDay.cs
- SqlXml.cs
- XmlSchemaProviderAttribute.cs
- ColumnResizeUndoUnit.cs
- HtmlInputRadioButton.cs
- RenderOptions.cs
- PointIndependentAnimationStorage.cs
- AssemblyNameProxy.cs
- ValidatedControlConverter.cs