From 84700eb44cffe4b503a9ad22b1dfa8c703f356d2 Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Fri, 15 Jun 2018 15:22:11 +0300 Subject: Improved LightTouchDataGrid Selection. --- Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml | 8 ++------ Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml.cs | 12 ++++++------ 2 files changed, 8 insertions(+), 12 deletions(-) (limited to 'Software/Visual_Studio/PPC/Tango.PPC.UI') 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}"> - - - - - + 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; } } } -- cgit v1.3.1