private void btnComputers_Click(object sender, RoutedEventArgs e) { ComputersList computersList = new ComputersList(); computersList.Owner = this; computersList.ShowDialog(); }
private void GoToComputersList(object sender, RoutedEventArgs e) { var computersList = new ComputersList(); NavigationService.Navigate(computersList); }