Exemplo n.º 1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmLanguageLibraryAddEdit frm = new frmLanguageLibraryAddEdit();

            frm.ShowDialog();
            Search();
        }
Exemplo n.º 2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            frmLanguageLibraryAddEdit frm = new frmLanguageLibraryAddEdit(viewDuLieu.GetRowCellValue(viewDuLieu.FocusedRowHandle, "Id").ToString());
            DialogResult dr = frm.ShowDialog();

            if (dr == DialogResult.OK)
            {
                Search();
            }
        }