private void btn_OK_Click(object sender, EventArgs e) { PutAwayDetail pad = new PutAwayDetail(PutAway.DataSource); pad.Show(); pad.Closed += new EventHandler(pad_Closed); this.Hide(); }