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