Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ZoneIdentityPermission.cs
- CalendarDay.cs
- ObjectParameter.cs
- TransformGroup.cs
- COMException.cs
- PropertyNames.cs
- XDRSchema.cs
- X509Utils.cs
- DataBoundControlAdapter.cs
- Automation.cs
- X509CertificateInitiatorClientCredential.cs
- BehaviorService.cs
- XmlNodeReader.cs
- Rect3D.cs
- BinaryFormatterWriter.cs
- RenamedEventArgs.cs
- HashHelper.cs
- SimpleHandlerFactory.cs
- ClientData.cs
- MsmqChannelFactoryBase.cs
- AutomationElementIdentifiers.cs
- TabletCollection.cs
- CharEntityEncoderFallback.cs
- ImageFormat.cs
- WeakEventTable.cs
- CustomErrorsSection.cs
- PolicyManager.cs
- CompositeFontFamily.cs
- EntityDataSourceValidationException.cs
- CodeCatchClause.cs
- PrimaryKeyTypeConverter.cs
- ControlCachePolicy.cs
- TextElementAutomationPeer.cs
- OracleRowUpdatingEventArgs.cs
- WindowsUpDown.cs
- ActivityLocationReferenceEnvironment.cs
- ObjectStateEntry.cs
- Application.cs
- ChangePassword.cs
- Axis.cs
- ParseElement.cs
- DebugViewWriter.cs
- DataListCommandEventArgs.cs
- TextTreeRootNode.cs
- Publisher.cs
- GridSplitterAutomationPeer.cs
- RMEnrollmentPage3.cs
- ThrowHelper.cs
- AnnotationHighlightLayer.cs
- TreeViewItemAutomationPeer.cs
- AsnEncodedData.cs
- TargetPerspective.cs
- Repeater.cs
- MessageBox.cs
- ByteStreamMessageEncoder.cs
- NotifyParentPropertyAttribute.cs
- Parsers.cs
- EmptyStringExpandableObjectConverter.cs
- StrokeSerializer.cs
- OutputWindow.cs
- TripleDESCryptoServiceProvider.cs
- PrincipalPermission.cs
- CounterCreationDataCollection.cs
- EventMetadata.cs
- FixedNode.cs
- DataSourceXmlSerializationAttribute.cs
- VoiceObjectToken.cs
- BooleanAnimationUsingKeyFrames.cs
- MonthChangedEventArgs.cs
- TabControlAutomationPeer.cs
- designeractionbehavior.cs
- TemplateXamlParser.cs
- PriorityQueue.cs
- SessionIDManager.cs
- PropertyEmitterBase.cs
- TabItemAutomationPeer.cs
- GatewayIPAddressInformationCollection.cs
- DiscoveryClientReferences.cs
- NullableConverter.cs
- DbConnectionStringBuilder.cs
- ToolStripControlHost.cs
- CompositeCollection.cs
- WindowsFormsHostPropertyMap.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- XmlQueryStaticData.cs
- ConfigurationValidatorAttribute.cs
- DataControlCommands.cs
- SmtpLoginAuthenticationModule.cs
- PagerSettings.cs
- DataGridViewRowPostPaintEventArgs.cs
- SpnegoTokenProvider.cs
- ContainsRowNumberChecker.cs
- ServiceElement.cs
- DataTableTypeConverter.cs
- ellipse.cs
- TraceSection.cs
- BoundPropertyEntry.cs
- StoreContentChangedEventArgs.cs
- StatusBarAutomationPeer.cs
- CompositeFontParser.cs