Пример #1
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     foreach (User s in sc.GetAllUser())
     {
         i = s.UID;
     }
     addUser.UID     = i + 1;
     idlabel.Content = (i + 1).ToString();
 }