protected override string uc_Save() { // SYS_LOG.Insert("Danh Mục Mối Quan Hệ Gia Đình", "Thêm", this.txtID.Text); base.SetWaitDialogCaption("Đang lưu dữ liệu..."); Cursor.Current = Cursors.WaitCursor; DIC_RELATIVE dICRELATIVE = new DIC_RELATIVE(this.txtID.Text, this.txtNAME.Text, this.txtDescription.Text, this.chxUse.Checked); string str = dICRELATIVE.Insert(); if (str == "OK") { this.RaiseSuccessEventHander(dICRELATIVE); } Cursor.Current = Cursors.Default; this.DoHide(); if (str != "OK") { XtraMessageBox.Show(str, "Cảnh Báo", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); } return(str); }