Hi all,
I want to show a little panel with a loading... text on it while opening a dilaog form on the main form. For example; there is a MainForm on my application and a DialogForm used for editing a record. When clicking Edit button on the MainForm, I load the data to the DialogForm (dialog window). So, there is 1-2 second to loading this DialogForm's data. For this reason I have tried to do this process orderly;
1st > I want to disable the MainForm,
2nd > I want to show a little panel with a sample text like "Loading..." until the DialogForm opens.
3rd > When DialogForm opens, the panel should be invisible and the MainForm is still disabled until the DialogForm closed.
Now, there is some way to do this (by simply changing the panel's visible-invisible property, BackgroundWorker, etc.). However, I want to apply the most appropriate and logical method to achieve that. How should I do this? Could you give an example please?
BR