private void toolStripButton_EmptyOut_Click(object sender, EventArgs e) { frmPalletOutTask f = new frmPalletOutTask(); if (f.ShowDialog() == System.Windows.Forms.DialogResult.OK) { this.BindData(); } }