Ejemplo n.º 1
0
        private void btnAddItem_Click(object sender, EventArgs e)
        {
            DialogBojDetail d = new DialogBojDetail(this.main_form);

            d.ShowDialog();
            this.GetBojData();
            this.FillForm(this.boj5_header, this.boj5_detail);
        }
Ejemplo n.º 2
0
        private void btnEditItem_Click(object sender, EventArgs e)
        {
            if (this.dgv.CurrentCell == null)
            {
                return;
            }

            boj5_detail     detail = (boj5_detail)this.dgv.Rows[this.dgv.CurrentCell.RowIndex].Cells[this.col_boj5_detail.Name].Value;
            DialogBojDetail d      = new DialogBojDetail(this.main_form, detail);

            d.ShowDialog();
            this.GetBojData();
            this.FillForm(this.boj5_header, this.boj5_detail);
        }