Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Framework / System / Windows / Navigation / ReturnEventArgs.cs / 1 / ReturnEventArgs.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // ReturnEventArgs is a generic flavor of EventArgs, // that enable setting, getting a typed value that's // passed between Pagefunctions. // // History: // 05/09/03: marka Created. // 07/08/04: weibz Rename and make it compliant with guideline. // //--------------------------------------------------------------------------- using System; namespace System.Windows.Navigation { ////// ReturnEventArgs is a generic flavor of EventArgs, /// that enable setting, getting a typed value that's /// passed between Pagefunctions. /// public class ReturnEventArgs: System.EventArgs { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors /// /// ReturnEventArgs constructor /// public ReturnEventArgs() { } ////// ReturnEventArgs constructor. Supplied value is assigned to Result value /// ///Assigned to Result property public ReturnEventArgs( T result) { _result = result; } #endregion Constructors //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- #region Public Properties ////// The Result property indicates the result that a PageFunction is /// returning to it's caller, at the end of a Structured Navigation. /// public T Result { get { return _result; } set { _result = value; } } #endregion Public Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private T _result; #endregion Private Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // ReturnEventArgs is a generic flavor of EventArgs, // that enable setting, getting a typed value that's // passed between Pagefunctions. // // History: // 05/09/03: marka Created. // 07/08/04: weibz Rename and make it compliant with guideline. // //--------------------------------------------------------------------------- using System; namespace System.Windows.Navigation { ////// ReturnEventArgs is a generic flavor of EventArgs, /// that enable setting, getting a typed value that's /// passed between Pagefunctions. /// public class ReturnEventArgs: System.EventArgs { //----------------------------------------------------- // // Constructors // //----------------------------------------------------- #region Constructors /// /// ReturnEventArgs constructor /// public ReturnEventArgs() { } ////// ReturnEventArgs constructor. Supplied value is assigned to Result value /// ///Assigned to Result property public ReturnEventArgs( T result) { _result = result; } #endregion Constructors //------------------------------------------------------ // // Public Properties // //----------------------------------------------------- #region Public Properties ////// The Result property indicates the result that a PageFunction is /// returning to it's caller, at the end of a Structured Navigation. /// public T Result { get { return _result; } set { _result = value; } } #endregion Public Properties //------------------------------------------------------ // // Private Fields // //------------------------------------------------------ #region Private Fields private T _result; #endregion Private Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LateBoundBitmapDecoder.cs
- InstalledFontCollection.cs
- LateBoundBitmapDecoder.cs
- UriSection.cs
- ConnectionsZoneDesigner.cs
- UserPreferenceChangingEventArgs.cs
- RectAnimationClockResource.cs
- NegotiateStream.cs
- ToolStripLabel.cs
- NetNamedPipeBindingElement.cs
- ToolbarAUtomationPeer.cs
- FixedSOMPage.cs
- IconConverter.cs
- HtmlGenericControl.cs
- ValidationResult.cs
- PropertyPushdownHelper.cs
- TemplateControlCodeDomTreeGenerator.cs
- UTF8Encoding.cs
- ResourceDescriptionAttribute.cs
- BrowserCapabilitiesCodeGenerator.cs
- ChildDocumentBlock.cs
- ListBoxChrome.cs
- RootDesignerSerializerAttribute.cs
- ConnectionPoint.cs
- CalendarButtonAutomationPeer.cs
- LinqDataSource.cs
- ZoneLinkButton.cs
- SecurityManager.cs
- ScriptHandlerFactory.cs
- DataErrorValidationRule.cs
- ObjectView.cs
- ArraySubsetEnumerator.cs
- XmlSchemaGroupRef.cs
- DesignerVerbCollection.cs
- NetSectionGroup.cs
- SessionStateUtil.cs
- PeerApplication.cs
- RtfToken.cs
- _Events.cs
- ArgumentDesigner.xaml.cs
- Subtree.cs
- XmlSerializer.cs
- InheritanceContextHelper.cs
- errorpatternmatcher.cs
- SelectionListDesigner.cs
- RegexReplacement.cs
- RulePatternOps.cs
- SqlAliaser.cs
- ToolStripPanel.cs
- FormViewCommandEventArgs.cs
- ImageSourceValueSerializer.cs
- Color.cs
- LogReservationCollection.cs
- OleAutBinder.cs
- TypeLoadException.cs
- XmlText.cs
- ConnectionProviderAttribute.cs
- DataGridViewMethods.cs
- CharUnicodeInfo.cs
- Item.cs
- ExtensionQuery.cs
- ThousandthOfEmRealPoints.cs
- DesignerCategoryAttribute.cs
- RoleManagerModule.cs
- XmlNavigatorFilter.cs
- InternalBufferOverflowException.cs
- ExpressionVisitor.cs
- RegexRunner.cs
- MediaScriptCommandRoutedEventArgs.cs
- WindowsScroll.cs
- ServerValidateEventArgs.cs
- DescriptionAttribute.cs
- OdbcPermission.cs
- HostProtectionException.cs
- RegexGroup.cs
- WorkflowTransactionService.cs
- NavigationWindow.cs
- XmlReflectionImporter.cs
- StrongNamePublicKeyBlob.cs
- NativeMethods.cs
- HttpCapabilitiesSectionHandler.cs
- DoubleUtil.cs
- AnalyzedTree.cs
- QueryableDataSourceHelper.cs
- TdsParserStaticMethods.cs
- CqlWriter.cs
- InternalReceiveMessage.cs
- XmlSchemaParticle.cs
- ListItemCollection.cs
- WithParamAction.cs
- PageAdapter.cs
- OdbcDataAdapter.cs
- XsltLoader.cs
- RouteCollection.cs
- COM2EnumConverter.cs
- ISCIIEncoding.cs
- RuntimeArgumentHandle.cs
- SynchronizedCollection.cs
- OdbcEnvironmentHandle.cs
- AutoGeneratedField.cs