diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-01-07 12:53:01 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-01-07 12:53:01 +0200 |
| commit | 8d2dc68fdddc51bc24ac6f41feb97460a7d27372 (patch) | |
| tree | 32876416b128d93a47d5b0a228fc405aca0479e9 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/Views/MainView.xaml.cs | |
| parent | 3d97a759dc712eca6750443b2367c8f755ebb11b (diff) | |
| download | Tango-8d2dc68fdddc51bc24ac6f41feb97460a7d27372.tar.gz Tango-8d2dc68fdddc51bc24ac6f41feb97460a7d27372.zip | |
Implemented validation on machine designer.
Machine Designer seems to be working properly...
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/Views/MainView.xaml.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/Views/MainView.xaml.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/Views/MainView.xaml.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/Views/MainView.xaml.cs index 7c2a38401..f38c8f8d6 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/Views/MainView.xaml.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.MachineDesigner/Views/MainView.xaml.cs @@ -102,6 +102,10 @@ namespace Tango.MachineStudio.MachineDesigner.Views { _vm.DropMidTankType(e.Draggable.DataContext as MidTankType, e.Droppable.DataContext as IdsPack); } + else if (e.Draggable.DataContext is IdsPack) + { + _vm.DropIdsPack(e.Draggable.DataContext as IdsPack, e.Droppable.DataContext as IdsPack); + } } private void OnTabletDrop(object sender, DropEventArgs e) |
