示例#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);
     }
 }