示例#1
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            frmIssued frm = new frmIssued();

            frm.Edit_Flage = false;
            frm.ShowDialog();

            dgvList.Rows.Clear();
            this.LoadIssued();
        }
示例#2
0
        private void btnView_Click(object sender, EventArgs e)
        {
            if (rowIndex >= 0)
            {
                frmIssued frm = new frmIssued();
                frm.Edit_Flage = true;
                frm.Id         = this.id;
                frm.ShowDialog();

                dgvList.Rows.Clear();
                LoadIssued();
                rowIndex = -1;
            }
        }