예제 #1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            FrmDetailSV detail = new FrmDetailSV();

            detail.profile = new FrmDetailSV.MyDelegate(Add);
            detail.Show();
        }
예제 #2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            FrmDetailSV     detail = new FrmDetailSV();
            DataGridViewRow row    = dtgvSV.CurrentRow;

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