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
- ErrorTableItemStyle.cs
- SwitchLevelAttribute.cs
- RawTextInputReport.cs
- TextTreeInsertElementUndoUnit.cs
- GZipUtils.cs
- HighlightVisual.cs
- ValueTypeFixupInfo.cs
- EventHandlerList.cs
- SoapHeaderException.cs
- TemplateColumn.cs
- MissingManifestResourceException.cs
- SelectionEditingBehavior.cs
- InternalConfigConfigurationFactory.cs
- BadImageFormatException.cs
- WebScriptMetadataFormatter.cs
- RenderOptions.cs
- IntegrationExceptionEventArgs.cs
- CellTreeNodeVisitors.cs
- DataKeyCollection.cs
- X509Certificate2Collection.cs
- Double.cs
- ShutDownListener.cs
- BaseServiceProvider.cs
- UriTemplateTrieLocation.cs
- MaterializeFromAtom.cs
- WpfWebRequestHelper.cs
- ItemsPresenter.cs
- EUCJPEncoding.cs
- AffineTransform3D.cs
- GridViewRowEventArgs.cs
- StateManagedCollection.cs
- OpenTypeLayout.cs
- ImageAutomationPeer.cs
- DataGridHeaderBorder.cs
- PrintDialogException.cs
- PropertyGridEditorPart.cs
- NumberFormatInfo.cs
- Canvas.cs
- DataSvcMapFileSerializer.cs
- TypeDescriptor.cs
- NamespaceExpr.cs
- ScriptingScriptResourceHandlerSection.cs
- DesignTimeHTMLTextWriter.cs
- MemberInfoSerializationHolder.cs
- TextFormatterImp.cs
- precedingquery.cs
- SqlExpander.cs
- StrokeRenderer.cs
- XmlProcessingInstruction.cs
- ActiveXHelper.cs
- CmsUtils.cs
- ScrollChangedEventArgs.cs
- TreeViewHitTestInfo.cs
- SymbolMethod.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- ClientProtocol.cs
- TypeAccessException.cs
- DataObjectPastingEventArgs.cs
- DesignTimeVisibleAttribute.cs
- HtmlInputImage.cs
- ToolStripSystemRenderer.cs
- PhonemeEventArgs.cs
- DesignerDataTableBase.cs
- ListContractAdapter.cs
- Nodes.cs
- ExceptionTrace.cs
- PartitionResolver.cs
- SignatureHelper.cs
- ApplicationFileParser.cs
- TemplateBindingExpressionConverter.cs
- HeaderedContentControl.cs
- ReachDocumentSequenceSerializer.cs
- ToolStripTextBox.cs
- FileDialogCustomPlace.cs
- ToolStripCodeDomSerializer.cs
- Operand.cs
- CustomValidator.cs
- ComplexBindingPropertiesAttribute.cs
- EntityDataSourceChangingEventArgs.cs
- TemplateApplicationHelper.cs
- BamlStream.cs
- SynchronousChannelMergeEnumerator.cs
- SapiInterop.cs
- xml.cs
- MimeObjectFactory.cs
- NotificationContext.cs
- SerializerWriterEventHandlers.cs
- BrowserCapabilitiesCodeGenerator.cs
- XmlNamespaceMapping.cs
- ResourceDescriptionAttribute.cs
- AssemblyNameProxy.cs
- PrinterResolution.cs
- PreservationFileWriter.cs
- PrintDialogException.cs
- MappingItemCollection.cs
- BaseTransportHeaders.cs
- MatrixTransform3D.cs
- SelectionProviderWrapper.cs
- GZipDecoder.cs
- ErrorRuntimeConfig.cs