protected override string uc_Update() { // SYS_LOG.Insert("Danh Mục Mối Quan Hệ Gia Đình", "Cập Nhật", this.txtID.Text); base.SetWaitDialogCaption("Đang cập nhật dữ liệu..."); DIC_RELATIVE dICRELATIVE = new DIC_RELATIVE(this.txtID.Text, this.txtNAME.Text, this.txtDescription.Text, this.chxUse.Checked); string str = dICRELATIVE.Update(); if (str == "OK") { this.RaiseSuccessEventHander(dICRELATIVE); } if (str != "OK") { XtraMessageBox.Show(str, "Cảnh Báo", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } this.DoHide(); return(str); }