예제 #1
0
        private void Row_MouseDoubleClick_Prostorije(object sender, MouseButtonEventArgs e)
        {
            var data = (DataGrid)sender;

            var OpenPage = new RenovationPage((ViewModel.RoomView)data.SelectedValue);

            frame.Navigate(OpenPage);
        }
예제 #2
0
 private void renoviranjeClick(object sender, RoutedEventArgs e)
 {
     if (dataGrid.SelectedItem != null)
     {
         var OpenPage = new RenovationPage((ViewModel.RoomView)dataGrid.SelectedItem);
         frame.Navigate(OpenPage);
     }
 }