Hi I am trying to open a window by using methodinvoker but its giving "cannot call invoker or invokeasync on a control until the window handle has been created"
////////////////////////
this.Invoke(new MethodInvoker(Details));
private void Details()
{
DialogDetails dlg=new DialogDetails ();
DialogResult result = dlg.ShowDialog();
}
/////////////////////
Please can anyone help me in this
Thanks
Tann1
////////////////////////
this.Invoke(new MethodInvoker(Details));
private void Details()
{
DialogDetails dlg=new DialogDetails ();
DialogResult result = dlg.ShowDialog();
}
/////////////////////
Please can anyone help me in this
Thanks
Tann1