private void button2_Click(object sender, EventArgs e) { List <Company> companies = getinformations.Set_CompanyJobCount(informations); pictureBox1.BackgroundImage = pictures.Get_BarGraph(companies); }