Ejemplo n.º 1
0
        private void AddDevice(object sender, RoutedEventArgs e)
        {
            AddDeviceView adv = new AddDeviceView(this);

            if (adv.ShowDialog() == true)
            {
                DatabaseController.AddDevice(adv.NewDevice);
                UpdateDeviceListView();
                UpdateLogbookView();
            }
        }