소스 검색

Merge branch 'master' of http://gogs.ngknn.ru:3000/kot-senya/PM-02-programm-TeaTime

foxhis 1 년 전
부모
커밋
9b11f1a7df
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      TeaTime/page/wEventSee.xaml.cs

+ 4 - 2
TeaTime/page/wEventSee.xaml.cs

@@ -27,9 +27,11 @@ namespace teaTime
     /// </summary>
     public partial class wEventSee : Page
     {
-        public wEventSee(DataTimeEvent events)
+        Worker worker = new Worker();
+        public wEventSee(DataTimeEvent events, Worker user)
         {
             InitializeComponent();
+            worker = user;
             init(events);
             loadData();
         }
@@ -87,7 +89,7 @@ namespace teaTime
         }
         private void bClose_Click(object sender, RoutedEventArgs e)
         {
-            //NavigationService.Navigate(new wWorkerMain());
+            NavigationService.Navigate(new wWorkerMain(worker));
         }
     }
 }