Index
Getting Time Elapsed
Developers can check how long it takes to load an EDI file using the Milliseconds property of the FileLoadingEventArgs event. The Milliseconds property will give the number of milliseconds it took to load the file.
Subscribe to the FileLoadingComplete event. It contains the Milliseconds property in its eventargs object.
Example
loader. FileLoadingCompleted += new EDIFileLoader.EDIFileLoadingCompletedEvent(loader_loadingCompleted);
private void loader_loadingCompleted (object sender, FileLoadingEventArgs e)
{
MessageBox.Show(e.Milliseconds);
}
private void loader_loadingCompleted (object sender, FileLoadingEventArgs e)
{
MessageBox.Show(e.Milliseconds);
}