using System; using System.Collections.Generic; using System.Text; namespace IndianHealthService.BMXNet.Ado { /// /// The event args for all DataTableFuture events. /// /// /// The DataTableFuture events are trigger in the non-UI thread and will break any application that is not managing it's /// UI calls properly. If implementing a basic GUI-based application, it's recommended to set the InvokedControl on /// every DataTableFuture you created. /// This EventArgs provides the future, which is the same instance created when the Async call was made. /// public class DataTableFutureEventArgs:EventArgs { private DataTableFuture _future = null; /// /// The future object that can be used to determine the state of the future, cancel the future, and perform /// some post future processing. /// public DataTableFuture Future { get { return _future; } set { _future = value; } } } }