diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-02-01 16:40:13 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-02-01 16:40:13 +0200 |
| commit | eb2c264422b98458979bc96504ce8830a527d48c (patch) | |
| tree | 2c2e0bcb908867759e7bea31dad0e21bd82f9cff /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml.cs | |
| parent | a89c18abf7175f76f8673c12dac35d1658209d4e (diff) | |
| download | Tango-eb2c264422b98458979bc96504ce8830a527d48c.tar.gz Tango-eb2c264422b98458979bc96504ce8830a527d48c.zip | |
Added Tango.Video project.
Implemented USB video device capture for developer module.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Developer/Views/MainView.xaml.cs | 14 |
1 files changed, 12 insertions, 2 deletions
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 cdf2248a6..16427c42b 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 @@ -54,8 +54,18 @@ namespace Tango.MachineStudio.Developer.Views ViewAttached?.Invoke(this, this); }; - chkGraphs.Checked += (x, y) => { graphRowDefinition.Height = new GridLength(440, GridUnitType.Pixel); }; - chkGraphs.Unchecked += (x, y) => { graphRowDefinition.Height = new GridLength(80, GridUnitType.Pixel); }; + chkGraphs.Checked += (x, y) => + { + graphRowDefinition.Height = new GridLength(440, GridUnitType.Pixel); + //dockCameras.Width = 270; + //dockCameras.Height = 600; + }; + chkGraphs.Unchecked += (x, y) => + { + graphRowDefinition.Height = new GridLength(80, GridUnitType.Pixel); + //dockCameras.Width = 330; + //dockCameras.Height = 850; + }; _jobBrushTimer = new DispatcherTimer(); _jobBrushTimer.Interval = TimeSpan.FromSeconds(1); |
