diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2018-06-15 15:22:11 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2018-06-15 15:22:11 +0300 |
| commit | 84700eb44cffe4b503a9ad22b1dfa8c703f356d2 (patch) | |
| tree | 53b152ffd2e2ac09d4e30e72c26cb9441049ce9b /Software/Visual_Studio/PPC/Tango.PPC.UI | |
| parent | 52da473c1a7bf1f3e1c3d7690f980d5afdc3f960 (diff) | |
| download | Tango-84700eb44cffe4b503a9ad22b1dfa8c703f356d2.tar.gz Tango-84700eb44cffe4b503a9ad22b1dfa8c703f356d2.zip | |
Improved LightTouchDataGrid Selection.
Diffstat (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI')
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml | 8 | ||||
| -rw-r--r-- | Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs | 12 |
2 files changed, 8 insertions, 12 deletions
diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml b/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml index 289d0cdf2..cabd05265 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml @@ -6,15 +6,11 @@ xmlns:local="clr-namespace:Tango.PPC.UI" xmlns:views="clr-namespace:Tango.PPC.UI.Views" mc:Ignorable="d" - Title="MainWindow" Height="1000" Stylus.IsTapFeedbackEnabled="False" Stylus.IsPressAndHoldEnabled="False" Stylus.IsTouchFeedbackEnabled="False" Width="625" WindowStyle="None" ResizeMode="NoResize" + Title="MainWindow" Height="1000" Stylus.IsTapFeedbackEnabled="False" Stylus.IsPressAndHoldEnabled="False" Stylus.IsTouchFeedbackEnabled="False" Width="800" WindowStyle="SingleBorderWindow" ResizeMode="CanResize" WindowStartupLocation="CenterScreen" FontFamily="{StaticResource TangoFlexoFontFamily}" FontSize="{StaticResource TangoDefaultFontSize}" Foreground="{StaticResource TangoDarkForegroundBrush}"> <Grid> - <Viewbox Stretch="Fill"> - <Grid Height="1280" Width="800"> - <views:MainView/> - </Grid> - </Viewbox> + <views:MainView/> </Grid> </Window> diff --git a/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs b/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs index 42ea21123..26fe06c5f 100644 --- a/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs +++ b/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs @@ -29,12 +29,12 @@ namespace Tango.PPC.UI InitializeComponent(); - WindowStartupLocation = WindowStartupLocation.Manual; - var lastMonitor = Screen.AllScreens.LastOrDefault(); - Left = lastMonitor.Bounds.Left; - Top = lastMonitor.Bounds.Top; - Width = lastMonitor.Bounds.Width; - Height = lastMonitor.Bounds.Height; + //WindowStartupLocation = WindowStartupLocation.Manual; + //var lastMonitor = Screen.AllScreens.LastOrDefault(); + //Left = lastMonitor.Bounds.Left; + //Top = lastMonitor.Bounds.Top; + //Width = lastMonitor.Bounds.Width; + //Height = lastMonitor.Bounds.Height; } } } |
