public CloverExamplePOSForm() { InitializeComponent(); uiThread = WindowsFormsSynchronizationContext.Current; uiThread.Send(delegate (object state) { new StartupForm(this).Show(); }, null); }