From 781e923508aafa6d39c3d38f1b1d4664dedbb83d Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Thu, 8 Feb 2018 11:35:59 +0200 Subject: Modified IO Table To Graphs. Starting to IO's to separate components... --- .../Modules/Tango.MachineStudio.Developer/Views/MainView.xaml | 2 +- .../Modules/Tango.MachineStudio.Developer/Views/MainView.xaml.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views') diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml index 1ef6928f5..9f0927c63 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml @@ -1796,7 +1796,7 @@ - + diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml.cs index e9111c86c..3922d80b2 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml.cs @@ -106,9 +106,9 @@ namespace Tango.MachineStudio.Developer.Views private void OnDropAvailableGraph(object sender, DropEventArgs e) { - if (e.Draggable.DataContext is Io) + if (e.Draggable.DataContext is Graph) { - _vm.OnDropAvailableGraph(e.Draggable.DataContext as Io); + _vm.OnDropAvailableGraph(e.Draggable.DataContext as Graph); } } -- cgit v1.3.1