private void tsbtnNew_Click(object sender, EventArgs e)
        {
            MasterMouldCodeInput input = new MasterMouldCodeInput("new", "", "", "", "", "", "");

            if (input.ShowDialog() == DialogResult.OK)
            {
                this.LoadData(txtSearch.Text);
            }
        }
        private void dgvMouldCode_DoubleClick(object sender, EventArgs e)
        {
            if (dgvMouldCode.SelectedRows == null)
            {
                return;
            }

            string mouldCode = dgvMouldCode.SelectedRows[0].Cells[0].Value.ToString();
            string type      = dgvMouldCode.SelectedRows[0].Cells[1].Value.ToString();
            string jp        = dgvMouldCode.SelectedRows[0].Cells[2].Value.ToString();
            string eng       = dgvMouldCode.SelectedRows[0].Cells[3].Value.ToString();
            string chin      = dgvMouldCode.SelectedRows[0].Cells[4].Value.ToString();
            string itemGroup = dgvMouldCode.SelectedRows[0].Cells[5].Value.ToString();

            MasterMouldCodeInput input = new MasterMouldCodeInput("edit", mouldCode, type, jp, eng, chin, itemGroup);

            if (input.ShowDialog() == DialogResult.OK)
            {
                this.LoadData(txtSearch.Text);
            }
        }