Exemplo n.º 1
0
        private void Row_MouseDoubleClick_Resource(object sender, MouseButtonEventArgs e)
        {
            var data = (DataGrid)sender;

            var openPage = new ResourceProfilePage((ResourceView)data.SelectedValue);

            frame.Navigate(openPage);
        }
Exemplo n.º 2
0
 private void urediResurs(object sender, RoutedEventArgs e)
 {
     if (resourceDataGrid.SelectedItem != null)
     {
         var openPage = new ResourceProfilePage((ResourceView)resourceDataGrid.SelectedItem);
         frame.Navigate(openPage);
     }
 }
Exemplo n.º 3
0
        private void addResource_Click(object sender, RoutedEventArgs e)
        {
            ResourceView resource = new ResourceView();
            //ResourceList.Add(resource);

            var openPage = new ResourceProfilePage(resource, true);

            frame.Navigate(openPage);
        }