A
AboutJAV
Hi,
I created a child dialog to tell the user that there is a loading of
data from the database. When the loading is done, the child dialog will
close. The child dialog contains a custom control and the child dialog
with the custom control show up fine if the dialog is called as a modal
state
dlgLoading.ShowDialog();
However, the process will stop unless the dialog is closed. I tried
using the modeless state
dlgLoading = new LoadingUI(); // in the class constructor
dlgLoading.Show(); // in another method
When the loading data is done, this is called
dlgLoading.Hide();
However the child dialog is not painted correctly. It is all black. I
can't see the custom control.
What call is missing. Any help is appreciated.
Thanks
I created a child dialog to tell the user that there is a loading of
data from the database. When the loading is done, the child dialog will
close. The child dialog contains a custom control and the child dialog
with the custom control show up fine if the dialog is called as a modal
state
dlgLoading.ShowDialog();
However, the process will stop unless the dialog is closed. I tried
using the modeless state
dlgLoading = new LoadingUI(); // in the class constructor
dlgLoading.Show(); // in another method
When the loading data is done, this is called
dlgLoading.Hide();
However the child dialog is not painted correctly. It is all black. I
can't see the custom control.
What call is missing. Any help is appreciated.
Thanks