Simple startup form

xiaoxiao2021-03-06  50

Simple startup form public static System.Threading.Thread thread; public static ce.About welcomefrm; [STAThread] static void Main () {System.Threading.ThreadStart start = new ThreadStart (ce.ceStart.splashForm); thread = new Thread (Start); thread.start (); // Do something you want to do // run the main program system.windows.Forms.Application.run (new ce.forms.coolmain);} static void splashform ()} Ce.cestart.welcomeFRM = new about (); ce.cestart.welcomeFrm.show (); Application.doevents (); ce.cestart.welcomeFrm.activate (); thread.join (2000); ce.cestart.welcomeFrm. CLOSE (); ce.cestart.thread.abort ();

转载请注明原文地址:https://www.9cbs.com/read-87900.html

New Post(0)