aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/MainWindow.xaml
blob: df98cc903fc5e1fcc37a6b58a178475ddd5e43e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<Window x:Class="Tango.PPC.UI.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        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="800" WindowStyle="SingleBorderWindow" ResizeMode="CanResize" WindowStartupLocation="CenterScreen" 
        FontFamily="{StaticResource TangoFlexoFontFamily}"
        FontSize="{StaticResource TangoDefaultFontSize}"
        Foreground="{StaticResource TangoDarkForegroundBrush}"
        FontWeight="Medium" RenderOptions.BitmapScalingMode="LowQuality" SnapsToDevicePixels="True" UseLayoutRounding="True">
    <Grid>
        <views:MainView/>
    </Grid>
</Window>
ss="p">; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Tango.PPC.Common.OS { /// <summary> /// Represents a windows license activation manager. /// </summary> public interface IOperationSystemManager { /// <summary> /// Determines whether the OS is activated. /// </summary> /// <returns></returns> Task<bool> IsActivated(); /// <summary> /// Activates the OS using the specified activation key. /// </summary> /// <param name="activationKey">The activation key.</param> /// <returns></returns> Task Activate(String activationKey); /// <summary> /// Deactivates the OS license. /// </summary> /// <returns></returns> Task Deactivate(); /// <summary> /// Gets the available time zones. /// </summary> /// <returns></returns> ReadOnlyCollection<TimeZoneInfo> GetAvailableTimeZones(); /// <summary> /// Changes the operation system time zone. /// </summary> /// <param name="timeZone">The time zone.</param> /// <returns></returns> Task ChangeTimeZone(TimeZoneInfo timeZone); } }