A
Assaf
hi all
i have a main form and it displays a modelss dialog.
when the user brings the dialog into focus,
the main form is left in the back.
how can i bring the main form into the front,
when its modeless dialog is selected into focus?
my code:
class MyMainForm
{
MyModelessDalog _MyModelessDalog = new MyModelessDalog();
MyMainForm()
{
this._MyModelessDalog.Owner = this;
}
void ShowDialog()
{
this._MyModelessDalog.Show();
}
}
class MyModelessDalog
{
}
Assaf
i have a main form and it displays a modelss dialog.
when the user brings the dialog into focus,
the main form is left in the back.
how can i bring the main form into the front,
when its modeless dialog is selected into focus?
my code:
class MyMainForm
{
MyModelessDalog _MyModelessDalog = new MyModelessDalog();
MyMainForm()
{
this._MyModelessDalog.Owner = this;
}
void ShowDialog()
{
this._MyModelessDalog.Show();
}
}
class MyModelessDalog
{
}
Assaf