Esempio n. 1
0
        private void Row_MouseDoubleClick_Supply(object sender, MouseButtonEventArgs e)
        {
            var data = (DataGrid)sender;

            var openPage = new SupplyProfilePage((SupplyView)data.SelectedValue);

            frame.Navigate(openPage);
        }
Esempio n. 2
0
 private void urediMaterijal(object sender, RoutedEventArgs e)
 {
     if (supplyDataGrid.SelectedItem != null)
     {
         var openPage = new SupplyProfilePage((SupplyView)supplyDataGrid.SelectedItem);
         frame.Navigate(openPage);
     }
 }
Esempio n. 3
0
        private void addSupply_Click(object sender, RoutedEventArgs e)
        {
            SupplyView supply = new SupplyView();
            //SupplyList.Add(supply);

            var openPage = new SupplyProfilePage(supply, true);

            frame.Navigate(openPage);
        }