protected override string uc_Update()
        {
            string str;

            if (MyRule.Get(MyLogin.RoleId, "bbiSubsidiary") != "OK")
            {
                str = "";
            }
            else if (MyRule.AllowEdit)
            {
                //  SYS_LOG.Insert("Danh Sách Công Ty Con", "Cập Nhật", this.txtID.Text);
                base.SetWaitDialogCaption("Đang cập nhật dữ liệu...");
                HRM_SUBSIDIARY hRMSUBSIDIARY = this.InitClass();
                string         str1          = hRMSUBSIDIARY.Update();
                if (str1 == "OK")
                {
                    this.RaiseSuccessEventHander(hRMSUBSIDIARY);
                }
                if (str1 != "OK")
                {
                    XtraMessageBox.Show(str1, "Cảnh Báo", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
                }
                // str1 = hRMSUBSIDIARY.Update(this.txtID.Text, this.imgPhoto.Image);
                if (str1 != "OK")
                {
                    this.DoHide();
                }
                this.DoHide();
                str = str1;
            }
            else
            {
                MyRule.Notify();
                str = "";
            }
            return(str);
        }