예제 #1
0
        private void OpenTeams(object obj)
        {
            TeamsWindow TeamsWindow = new TeamsWindow();

            TeamsWindow.Show();

            mediator.Send(new ActiveUserMessage {
                Id = User.Id
            });
        }
예제 #2
0
        private void TeamsButton_Click(object sender, RoutedEventArgs e)
        {
            TeamsWindow window = new TeamsWindow(new TeamsViewModel());

            window.Show();
        }