I'm developing a console application using c#
. In this application i need to use dism
command to enable some windows features.
I noticed that in the older versions of dism (previous to the 10.0
version) dism
doesn't display a loading bar while performing his actions, so the process seems like strucked.
To better inform the user that the process isn't struck but it's working in backgorund, i thought to change the mouse pointer to the wait cursor.
I've tried both this code lines, from other SO questions:
Cursor.Current = Cursors.WaitCursor;
Application.DoEvents();
and
Application.UseWaitCursor = true;
but the pointer is not changing.
Is possible to change the mouse pointer in a console application?