I made some call in the Form_Load and terminate like this.
ImageAcquireProc wait for some triggering by user.
Therefore, Form should be displayed.
However program terminate after triggering without Form display.
How to make Form is displayed?
C#:
private void Form1_Load(object sender, EventArgs e)
{
Label1.Text = "Prepareing...";
SetGain("3");
SetIntegrationTime("500");
SetThresholdLevel("50");
SetTimeOut("20");
Label1.Text = "Ready!";
ImageAcquireProc();//wait for user triggering
this.Close();
}
Therefore, Form should be displayed.
However program terminate after triggering without Form display.
How to make Form is displayed?