예제 #1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     using (ATSUI atsui = new ATSUI())
     {
         atsui.init();
         Application.Run(atsui);
     }
 }
예제 #2
0
파일: ATSUI.cs 프로젝트: lidbit/ATS
        private void GetTests(Object stateInfo)
        {
            ATSUI ui = (ATSUI)stateInfo;

            var tests = Remote.RemoteTestDAL.GetTests();

            if (tests != null)
            {
                this.Invoke((MethodInvoker) delegate
                {
                    foreach (Test t in tests)
                    {
                        listBox1.Items.Add(t);
                    }
                });
            }
        }