// ----------------------------------------------------------------------// #region >> Action Control/Button << /// <summary> /// Enable / disable buttons pada form sesuai dengan data di tabel role_detail /// </summary> /// <param name="formTarget">Form target</param> public void EnableButtons(Control form) { // Ambil data sesuai Role kode dan Form name var actionButtons = _roleServices.GetAllMenuNameByTagAction(RoleKode, form.Name).ToList(); EnableButtons(form, actionButtons); }