diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-07-17 20:21:16 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-07-17 20:21:16 +0300 |
| commit | 0f5d23b3a4d38e5a68436acf3a96822d59249f46 (patch) | |
| tree | b5d56df08bdcfa3651dc5dd893f474d40e4a9171 /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MachineJobSelectionView.xaml.cs | |
| parent | c5a54597a0a02da5b3cf942fff95586a9dfe836d (diff) | |
| download | Tango-0f5d23b3a4d38e5a68436acf3a96822d59249f46.tar.gz Tango-0f5d23b3a4d38e5a68436acf3a96822d59249f46.zip | |
*1. Implement Real Progress on Machine Emulator.
*2. Add ParameterIgnore to Observable Entity validation props.
*3. Block logging of similar continous job status events from embedded. (Add counter for embedded logs).
*6. Make font size larger on Research module.
*7. Open jobs on double click.
*9. Add default sorting to job events. (NOT WORKING)
*10. Add tool tips for job progress.
*12. Test PPC Job Progress
*13. Fix issue with inversed color conversion.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MachineJobSelectionView.xaml.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MachineJobSelectionView.xaml.cs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MachineJobSelectionView.xaml.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MachineJobSelectionView.xaml.cs index 52786a59f..d21342d01 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MachineJobSelectionView.xaml.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MachineJobSelectionView.xaml.cs @@ -12,6 +12,8 @@ using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; +using Tango.BL.Entities; +using Tango.MachineStudio.Developer.ViewModels; namespace Tango.MachineStudio.Developer.Views { @@ -20,9 +22,29 @@ namespace Tango.MachineStudio.Developer.Views /// </summary> public partial class MachineJobSelectionView : UserControl { + private MainViewVM _vm; + public MachineJobSelectionView() { InitializeComponent(); + + this.Loaded += (_, __) => + { + _vm = DataContext as MainViewVM; + }; + } + + private void MultiSelectDataGrid_MouseDoubleClick(object sender, MouseButtonEventArgs e) + { + DataGrid row = sender as DataGrid; + + + + + if (row != null && row.SelectedItem is Job) + { + _vm.LoadJobCommand.Execute(null); + } } } } |
