Enumerates the states of the FinDocketForm.
[Flags] public enum FinDocketState
The states are defined as disjoint bit flags. Thus a set of states can be easily checked by a binary AND operation.
The user did click on the Cancel button while the Docket was Running. The Docket is now waiting for the Online Banking activity to be aborted and the Docket to be closed by the user.
The Docket was closed and is disposed and cannot be made visible again.
The Finish(String) method was called and the Docket now waits for the user to click the FINISH button. In this state the Docket will automatically close itself an switch to the Closed state as soon as the user clicks the FINISH button.
The initial state of the Docket after it was created. In this state the Docket must be iniatialised by calling InitDocket(String) before any other method may be called. Successfully initialising the Docket switches it into the Ready state.
The Docket was initialised and is now ready to be shown. In this state it is still invisible. The method ShowDocket(IWin32Window) may now be called in order to show the Docket and switch it into the Running state.
The Docket is visible and the Online Banking activity is running in the background appending to the Docket by calling Append(String, Int32, String). If the Online Banking activity completes, then the Finish(String) method must be called in order to switch to Finished. If the Online Banking activity is cancelled by the user, then the Docket switches into the Cancelled state.