namespace pop { using Application = System.Windows.Forms.Application; using Console = System.Console; using String = System.String; using Thread = System.Threading.Thread; public class Test { public static void Main() { Pop tPop = new PopImpl(); PopMenu tPopMenu = new PopMenu(tPop); Application.Run(tPopMenu); //tPopMenu.ShowDialog(); //Thread.Sleep(3000); } private static void iOutputPop(String pTitleString, Pop pPop) { Console.WriteLine(pTitleString); Person tLoopPerson = pPop.GetFirst(); while(tLoopPerson!=null) { Console.WriteLine(tLoopPerson); tLoopPerson = pPop.Next(); } Console.WriteLine(pPop.Size); // Thread.Sleep(3000); } } }