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