private void ShowLoadingWindow() { frmLoading obj = new frmLoading (); obj.Show(); } private void button1_Click(object sender, EventArgs e) { Task t1 = new Task(new Action(ShowLoadingWindow)); t1.Start(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)