void EventHandlerForItemLoaded(object sender, LcxLoaderEventData e) { this.InvokeAsynchronouslyOnUIThread(() => { OutputList.Items.Add(new LcxFile { Data = e.Data, Type = MessageType.File, WorkingSet = Process.GetCurrentProcess().WorkingSet64, Content = e.FileName }); }); }
void EventHandlerForoadingFinished(object sender, LcxLoaderEventData e) { this.InvokeAsynchronouslyOnUIThread(() => { OutputList.Items.Add(new LcxFile { Type = MessageType.Finished, WorkingSet = Process.GetCurrentProcess().WorkingSet64 }); }); }
void EventHandlerForLoadingStarted(object sender, LcxLoaderEventData e) { this.InvokeOnUIThread(() => { OutputList.Items.Clear(); OutputList.Items.Add(new LcxFile { Type = MessageType.Started, WorkingSet = Process.GetCurrentProcess().WorkingSet64 }); }); }