|
@@ -16,9 +16,7 @@ using System.Windows.Shapes;
|
|
|
|
|
|
namespace sistema_othenki
|
|
|
{
|
|
|
- /// <summary>
|
|
|
- /// Логика взаимодействия для reiting.xaml
|
|
|
- /// </summary>
|
|
|
+
|
|
|
public partial class reiting : Page
|
|
|
{
|
|
|
public reiting()
|
|
@@ -27,11 +25,12 @@ namespace sistema_othenki
|
|
|
list.ItemsSource=Podkluchenie.bd.users.ToList();
|
|
|
}
|
|
|
|
|
|
+ //Возврат на главную страницу
|
|
|
private void glav_Click(object sender, RoutedEventArgs e)
|
|
|
{
|
|
|
NavigationService.GoBack();
|
|
|
}
|
|
|
-
|
|
|
+ //Вывод ФИО сотрудника
|
|
|
private void fio_Loaded(object sender, RoutedEventArgs e)
|
|
|
{
|
|
|
TextBlock tb = (TextBlock)sender;
|
|
@@ -40,6 +39,7 @@ namespace sistema_othenki
|
|
|
tb.Text = u.surname + " " + u.firstname + " " + u.patronymic;
|
|
|
}
|
|
|
|
|
|
+ //Подсчет общего балла
|
|
|
private void oball_Loaded(object sender, RoutedEventArgs e)
|
|
|
{
|
|
|
TextBlock tb = (TextBlock)sender;
|