|
@ -37,7 +37,7 @@ namespace eCompanies |
|
|
switch (App.saveResultsMsgBox()) |
|
|
switch (App.saveResultsMsgBox()) |
|
|
{ |
|
|
{ |
|
|
case MessageBoxResult.No: return; |
|
|
case MessageBoxResult.No: return; |
|
|
case MessageBoxResult.Cancel: e.Cancel = true; break; |
|
|
case MessageBoxResult.Cancel: e.Cancel = true; return; |
|
|
} |
|
|
} |
|
|
currentCompany.Users.Clear(); |
|
|
currentCompany.Users.Clear(); |
|
|
foreach (Users u in (ObservableCollection<Users>)usersGrid.DataContext) |
|
|
foreach (Users u in (ObservableCollection<Users>)usersGrid.DataContext) |
|
|