Feature: User List Sorted.
Fix: Checkes were not being removed from Listbox
This commit is contained in:
@ -41,7 +41,10 @@ namespace Tanshu.Accounts.PointOfSale
|
||||
{
|
||||
var roles = bi.RoleList();
|
||||
clbRoles.DataSource = roles;
|
||||
|
||||
for (int i = 0; i < clbRoles.Items.Count; i++)
|
||||
{
|
||||
clbRoles.SetItemChecked(i, false);
|
||||
}
|
||||
if (groupID.HasValue)
|
||||
{
|
||||
var group = bi.Get(x => x.GroupID == groupID.Value);
|
||||
|
||||
@ -47,7 +47,10 @@ namespace Tanshu.Accounts.PointOfSale
|
||||
{
|
||||
var groups = bi.GroupList();
|
||||
clbGroups.DataSource = groups;
|
||||
|
||||
for (int i = 0; i < clbGroups.Items.Count; i++)
|
||||
{
|
||||
clbGroups.SetItemChecked(i, false);
|
||||
}
|
||||
if (userID.HasValue)
|
||||
{
|
||||
var user = bi.Get(x => x.UserID == userID.Value);
|
||||
|
||||
Reference in New Issue
Block a user