예제 #1
0
 private void button4_Click(object sender, EventArgs e)
 {
     PassParametersByObject threadObj = new PassParametersByObject("李运崇", "26", "男");
     System.Threading.Thread tt = new Thread(() => threadObj.run());
     tt.IsBackground = true;
     tt.Start();
 }
예제 #2
0
        private void button4_Click(object sender, EventArgs e)
        {
            PassParametersByObject threadObj = new PassParametersByObject("李运崇", "26", "男");

            System.Threading.Thread tt = new Thread(() => threadObj.run());
            tt.IsBackground = true;
            tt.Start();
        }