Example #1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            FrmDetailGV detail = new FrmDetailGV();

            detail.profile = new FrmDetailGV.MyDelegate(Add);
            detail.Show();
        }
Example #2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            FrmDetailGV     detail = new FrmDetailGV();
            DataGridViewRow row    = dtgvGV.CurrentRow;

            if (row != null)
            {
                detail.BindingDataSV(row);
                detail.profile = new FrmDetailGV.MyDelegate(Edit);
                detail.Show();
            }
        }