static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); using (ProcessIcon pi = new ProcessIcon()) { pi.Display(); Starter starter = new Starter(); starter.InitStarter(pi); starter.Show(); //ProjectExplorer p = new ProjectExplorer(); //p.Show(); Application.Run(starter); } }
public void InitStarter(ProcessIcon pi) { this.pi = pi; }