private void button2_Click(object sender, EventArgs e) { SweepRast wnd = new SweepRast(); wnd.ShowDialog(); }