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 / 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
- MapPathBasedVirtualPathProvider.cs
- CodeIdentifiers.cs
- LoadGrammarCompletedEventArgs.cs
- InsufficientMemoryException.cs
- DbMetaDataCollectionNames.cs
- StrictAndMessageFilter.cs
- Point3DKeyFrameCollection.cs
- ToolStripContentPanel.cs
- MaskDesignerDialog.cs
- DependencyObjectPropertyDescriptor.cs
- ArrayWithOffset.cs
- HttpListenerException.cs
- PrimarySelectionAdorner.cs
- HttpInputStream.cs
- WindowsProgressbar.cs
- TaskFormBase.cs
- ValueUnavailableException.cs
- RepeatInfo.cs
- XmlArrayItemAttributes.cs
- BitmapEffectInputConnector.cs
- BitmapEffectOutputConnector.cs
- DesignerCategoryAttribute.cs
- UrlUtility.cs
- LocatorBase.cs
- HtmlWindowCollection.cs
- BaseCAMarshaler.cs
- SmuggledIUnknown.cs
- UnknownBitmapDecoder.cs
- MobileComponentEditorPage.cs
- MarginsConverter.cs
- ResourceAttributes.cs
- CreateParams.cs
- ArithmeticException.cs
- NavigationProperty.cs
- ConfigXmlAttribute.cs
- XmlSchemaValidator.cs
- ProtocolImporter.cs
- DesignerView.Commands.cs
- CodeTypeParameterCollection.cs
- DetailsViewDeleteEventArgs.cs
- XmlUrlResolver.cs
- CodeSnippetCompileUnit.cs
- MailWebEventProvider.cs
- WebBrowser.cs
- EventManager.cs
- ActivityBindForm.cs
- SafeTimerHandle.cs
- PerspectiveCamera.cs
- MenuTracker.cs
- DataTableReader.cs
- Scanner.cs
- TableColumn.cs
- XMLDiffLoader.cs
- CompositeControl.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- HtmlControl.cs
- CredentialCache.cs
- SynchronizedMessageSource.cs
- WindowShowOrOpenTracker.cs
- Restrictions.cs
- BookmarkScopeHandle.cs
- ProtocolImporter.cs
- GacUtil.cs
- DriveNotFoundException.cs
- NotificationContext.cs
- GroupQuery.cs
- DocumentOrderQuery.cs
- NumericUpDown.cs
- InkCanvasSelectionAdorner.cs
- CompilationSection.cs
- processwaithandle.cs
- FormView.cs
- NameNode.cs
- PasswordRecoveryAutoFormat.cs
- Help.cs
- SqlMetaData.cs
- RequestCachePolicy.cs
- HtmlFormWrapper.cs
- ListViewGroup.cs
- ValidationError.cs
- FontFamilyIdentifier.cs
- StylusButtonEventArgs.cs
- MaskInputRejectedEventArgs.cs
- HTMLTagNameToTypeMapper.cs
- StylusPlugInCollection.cs
- BaseDataBoundControl.cs
- ObjectSet.cs
- MatrixAnimationUsingPath.cs
- CheckBoxRenderer.cs
- UIInitializationException.cs
- AnnotationHelper.cs
- EpmCustomContentSerializer.cs
- Switch.cs
- DataRowView.cs
- HttpContext.cs
- MultiPropertyDescriptorGridEntry.cs
- MDIControlStrip.cs
- Animatable.cs
- ActiveXHelper.cs
- ColumnResizeUndoUnit.cs