using System; using System.Collections.Generic; using System.Text; using System.ComponentModel; namespace IndianHealthService.BMXNet.WinForm { /// /// The LoginProcess provides the AttemptingLoginEvent to allow changes in workflow with /// this Cancelable event args class /// public class AttemptingLoginEventArgs : CancelEventArgs { /// /// The LoginProcess can be modified (e.g. ConnectionSpec) after the user has OK'd the dialog /// but before the login attempt is made. /// public LoginProcess Process { get; set; } /// /// The receiver of the event can perform the login differently or not allow /// the login. If Handled is set the True the LoginProcess assumes the login was attempted. /// public bool Handled { get; set; } /// /// Set HandledSucccessfully is the Handled logging was successful. /// public bool HandledSucccessfully { get; set; } } }