USING OF EVENT-BASED ASYNCHRONOUS PATTERN FOR THE
VISUALIZATION OF SELECTED SORTING ALGORITHMS EXECUTION IN
THE .NET FRAMEWORK
DOI:
https://doi.org/10.30970/vam.2015.23.8524Abstract
The article describes the process of the multithread application construction for the .Net
framework. The application main thread interacts with the graphic user interface and with several
other ones, which execute different sorting algorithms on arrays of integers. Every step of the
execution displays on the application window. The article focuses on efficient ways to organize the
threads interaction and on the application architecture. To execute and to control a sorting thread we
use the self-produced C# class that encapsulates the .Net component Backgroundworker – event-
based asynchronous pattern.
Key words: multithread application, programming language C#, Backgroundworker, program event,
sorting algorithm, graphic visualization.