private void button2_Click(object sender, EventArgs e) { if (ss == null) { ss = new screenshot(); } ss.loadData(); }
private void button1_Click(object sender, EventArgs e) { if (ss == null) { ss = new screenshot(); } pictureBox1.Image = ss.train(); ss.createfile(); ss.closeChrome(); }