void view_OninitMenu(object sender, Views.Backstage.CompetenceArgs e) { DataTable dtMenu = Model.QueryMenuTree(); DataTable dtMenuComptence = Model.QueryMenuCompetence(e.UserID); View.ExeBindMenu(dtMenu, dtMenuComptence); }
void view_OnInitColumn(object sender, Views.Backstage.CompetenceArgs e) { DataTable dtColumn = Model.QueryColumTree(); DataTable dtColumnComptence = Model.QueryColumnCompetence(e.UserID); View.ExeBindColumn(dtColumn, dtColumnComptence); }
void view_OnDepeteInsertCompetence(object sender, Views.Backstage.CompetenceArgs e) { bool isDeleteInsert = Model.DeleteInsertCompetence(e.obListDelete, e.obListInsert); View.ExeReturnInsertMsg(isDeleteInsert); }