hi,
i am new to .net.

i wrote the program for getting information from database.
when i click the ok button, the above action is called. and its take few seconds to fill into datagridview..

that time i like to show the busy curser in my windows form. (ie after click the ok button i like to show the busy mouse curser as busy....)
i have an no idea about it.

if u know please share ur idea...

Recommended Answers

All 3 Replies

Cursor.Current = Cursors.WaitCursor;
Cursor.Current = Cursors.Default;

i use this code its ok for the above problem ?

Does it work or not?

i used that one if i chage the curser type still not changed that type its shows like 'I' only .....

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.