private void button4_Click(object sender, EventArgs e) { button4.Enabled = false; pictureBox4.Show(); progressBar4.Value = 0; BusinessLayer.PrepareLaunchSequenceForData(new object(), (message, hidePicture) => UpdateProgressBar4(message, hidePicture)); }
private void button2_Click(object sender, EventArgs e) { button2.Enabled = false; pictureBox2.Show(); progressBar2.Value = 20; BusinessLayer.PerformInternalValidationsOnData(new object(), (message, hidePicture) => UpdateProgressBar2(message, hidePicture)); }
private void button3_Click(object sender, EventArgs e) { button3.Enabled = false; pictureBox3.Show(); progressBar3.Value = 0; BusinessLayer.PrepareTransformationsForProcessing(new object(), (message, hidePicture) => UpdateProgressBar3(message, hidePicture)); }
private void button1_Click(object sender, EventArgs e) { button1.Enabled = false; pictureBox1.Show(); BusinessLayer.ProcessData(count, (message) => UpdateProgressBar1(message)); ++count; }