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
- HttpStreamMessage.cs
- SafeFileMappingHandle.cs
- DataRowView.cs
- CipherData.cs
- _AutoWebProxyScriptEngine.cs
- PrintingPermissionAttribute.cs
- DataGridColumnHeaderAutomationPeer.cs
- AutomationElementIdentifiers.cs
- SqlNodeAnnotations.cs
- __ConsoleStream.cs
- SupportsEventValidationAttribute.cs
- AssemblyBuilder.cs
- SettingsProviderCollection.cs
- RequestCacheValidator.cs
- DropAnimation.xaml.cs
- GridViewUpdateEventArgs.cs
- HandledEventArgs.cs
- CodeArrayIndexerExpression.cs
- PrintDialog.cs
- Rectangle.cs
- SignatureToken.cs
- WebPartsPersonalizationAuthorization.cs
- CompModSwitches.cs
- ToolStripPanelRow.cs
- SiteMapDataSourceView.cs
- TextAnchor.cs
- Rethrow.cs
- SapiRecognizer.cs
- OdbcConnectionFactory.cs
- PagerSettings.cs
- ConstructorBuilder.cs
- SharedPersonalizationStateInfo.cs
- FilteredXmlReader.cs
- ToolStripOverflow.cs
- AccessibleObject.cs
- MatcherBuilder.cs
- PageCodeDomTreeGenerator.cs
- SystemDiagnosticsSection.cs
- PersonalizationProviderCollection.cs
- ViewSimplifier.cs
- MessageBodyMemberAttribute.cs
- BulletedListDesigner.cs
- RootBrowserWindowAutomationPeer.cs
- _TimerThread.cs
- ImageField.cs
- CodeDomConfigurationHandler.cs
- MailMessageEventArgs.cs
- FormViewPageEventArgs.cs
- X509ThumbprintKeyIdentifierClause.cs
- ThemeableAttribute.cs
- BamlTreeUpdater.cs
- Random.cs
- Margins.cs
- NotCondition.cs
- PeerObject.cs
- SynchronizationLockException.cs
- XmlSchemaImport.cs
- PopOutPanel.cs
- QuadraticBezierSegment.cs
- TransformerConfigurationWizardBase.cs
- FileDetails.cs
- WebControlAdapter.cs
- TextBoxAutoCompleteSourceConverter.cs
- CallbackHandler.cs
- Adorner.cs
- DateTimeSerializationSection.cs
- RtfControls.cs
- RectAnimationClockResource.cs
- DashStyles.cs
- QilName.cs
- DirtyTextRange.cs
- TypeSystemProvider.cs
- ButtonFlatAdapter.cs
- StylusPointPropertyInfo.cs
- CollectionContainer.cs
- DataGridViewHitTestInfo.cs
- ObjectSelectorEditor.cs
- QueryableFilterUserControl.cs
- DefaultExpression.cs
- SignatureDescription.cs
- StrokeIntersection.cs
- Partitioner.cs
- EntityEntry.cs
- _ChunkParse.cs
- StringOutput.cs
- JsonFormatWriterGenerator.cs
- odbcmetadatafactory.cs
- DomainLiteralReader.cs
- LogReservationCollection.cs
- CustomTypeDescriptor.cs
- BitmapCodecInfo.cs
- PersonalizationAdministration.cs
- FontFaceLayoutInfo.cs
- Logging.cs
- ValidatingPropertiesEventArgs.cs
- ValidatorCompatibilityHelper.cs
- Axis.cs
- DrawingContextDrawingContextWalker.cs
- UnknownWrapper.cs
- RegisteredArrayDeclaration.cs