public MainWindow() { InitializeComponent(); m1 = new MyDownLoad(); m2 = new MyDownLoad(); show1 = new ShowData(m1); show2 = new ShowData(m2); dustbin1 = new dustbin(m1); dustbin2 = new dustbin(m2); readhistory = new Readhistory(); updateshow = new Thread(new ThreadStart(updatedata)); updateshow.Start(); }
public MainWindow() { InitializeComponent(); m1= new MyDownLoad(); m2 = new MyDownLoad(); show1 = new ShowData(m1); show2 = new ShowData(m2); dustbin1=new dustbin(m1); dustbin2=new dustbin(m2); readhistory = new Readhistory(); updateshow = new Thread(new ThreadStart(updatedata)); updateshow.Start(); }