public MainForm() { InitializeComponent(); backgroundWorker1.RunWorkerAsync(); InitializeData.InitWelders(dtWelder); InitializeData.InitJoints(dtJoints); }
private void button3_Click(object sender, EventArgs e) { backgroundWorker1.RunWorkerAsync(); clearComponents(); dtWelder.Rows.Clear(); InitializeData.InitWelders(dtWelder); dtJoints.Rows.Clear(); InitializeData.InitJoints(dtJoints); }
private void backgroundWorker2_DoWork(object sender, DoWorkEventArgs e) { dtJoints.Rows.Clear(); InitializeData.InitJoints(dtJoints); }