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
- DescendentsWalkerBase.cs
- MessageBox.cs
- DataGridViewRowsAddedEventArgs.cs
- RenderContext.cs
- WinFormsUtils.cs
- PermissionRequestEvidence.cs
- SendKeys.cs
- ExceptionUtility.cs
- MediaEntryAttribute.cs
- DynamicScriptObject.cs
- FormattedTextSymbols.cs
- NonClientArea.cs
- XmlSchemaCompilationSettings.cs
- XmlSchemaAll.cs
- StringHelper.cs
- WebPartEditVerb.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- AlphabeticalEnumConverter.cs
- StyleCollection.cs
- ZeroOpNode.cs
- SqlRowUpdatedEvent.cs
- ScrollPatternIdentifiers.cs
- SuppressMergeCheckAttribute.cs
- PropertyGridView.cs
- SimpleRecyclingCache.cs
- XmlConvert.cs
- AuthenticatedStream.cs
- MarshalByRefObject.cs
- ClientBuildManager.cs
- LocalValueEnumerator.cs
- ServiceNameElement.cs
- XmlSchemaDatatype.cs
- TemplatedAdorner.cs
- MenuStrip.cs
- BaseCodePageEncoding.cs
- SqlDeflator.cs
- PagerSettings.cs
- DataGridPagerStyle.cs
- TemplateBindingExtension.cs
- QfeChecker.cs
- WorkerRequest.cs
- InputProcessorProfiles.cs
- StorageMappingItemLoader.cs
- DataGridViewRowConverter.cs
- ConfigurationStrings.cs
- ResourceProperty.cs
- ResourceDescriptionAttribute.cs
- DetailsViewUpdateEventArgs.cs
- MetaDataInfo.cs
- ParsedAttributeCollection.cs
- InputDevice.cs
- BufferBuilder.cs
- SqlReorderer.cs
- RuleSettings.cs
- ControlCommandSet.cs
- ControlPropertyNameConverter.cs
- AnnotationMap.cs
- RichTextBox.cs
- PointUtil.cs
- DataStreams.cs
- EventLogLink.cs
- codemethodreferenceexpression.cs
- RowSpanVector.cs
- MouseCaptureWithinProperty.cs
- FullTextLine.cs
- DiscoveryUtility.cs
- sqlcontext.cs
- IntermediatePolicyValidator.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- ProxyElement.cs
- ColumnClickEvent.cs
- DoubleAnimationUsingKeyFrames.cs
- CSharpCodeProvider.cs
- WebBrowserPermission.cs
- Odbc32.cs
- XPathPatternBuilder.cs
- smtppermission.cs
- DataSpaceManager.cs
- TypeName.cs
- TrackingMemoryStreamFactory.cs
- MenuItem.cs
- Compiler.cs
- ButtonColumn.cs
- UserNameSecurityToken.cs
- ExpressionBuilderCollection.cs
- PageStatePersister.cs
- StringPropertyBuilder.cs
- Pair.cs
- dbdatarecord.cs
- DbDataSourceEnumerator.cs
- DataGridCommandEventArgs.cs
- ContextMarshalException.cs
- SQLGuidStorage.cs
- HTMLTextWriter.cs
- EventLogPermissionEntryCollection.cs
- login.cs
- PropertyTabChangedEvent.cs
- Style.cs
- ColorMatrix.cs
- SelectionProviderWrapper.cs