private void toolStripMenuItem1_Click(object sender, EventArgs e) { //Task.Factory.StartNew(() => _jadro.StiahniOnlineData(Config.ZaciatokVeku)); //Thread t = new Thread(() => _jadro.StiahniOnlineData(Config.ZaciatokVeku)); //t.SetApartmentState(ApartmentState.STA); //t.Start(); _jadro.StiahniOnlineData(Config.ZaciatokVeku); }