<t:NTWindow
	x:Class="FlowBots.Util.ProductUpdateWindow"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:t="clr-namespace:NinjaTrader.Gui.Tools;assembly=NinjaTrader.Gui"
	xmlns:local="clr-namespace:FlowBots.Util"
	Window.WindowStartupLocation="CenterOwner"
	t:NTWindow.IsMinimizeEnabled="False"
	Window.SizeToContent="WidthAndHeight"
	t:NTWindow.IsModal="False"
	t:NTWindow.IsMaximizeEnabled="False"
	t:NTWindow.Topmost="True">
	<t:NTWindow.Caption>
		<wpf:ResxExtension
			xmlns:wpf="clr-namespace:Infralution.Localization.Wpf;assembly=Infralution.Localization.Wpf"
			wpf:ResxExtension.ResxName="FlowBotsLibrary.Properties.Resources"
			wpf:ResxExtension.Key="ProductUpdateCaption" />
	</t:NTWindow.Caption>
	<StackPanel>
		<TextBlock
			x:Name="txtText"
			HorizontalAlignment="Left"
			VerticalAlignment="Center"
			Margin="0"
			Style="{StaticResource FontControl}"
			TextWrapping="Wrap"
			MaxWidth="{Binding ActualWidth, ElementName=buttonsPanel}">
			<TextBlock.Text>
				<ResxExtension
					p11:ResxExtension.ResxName="NinjaTrader.Gui.Resource"
					p11:ResxExtension.Key="GuiEmptyString"
					xmlns:p11="clr-namespace:Infralution.Localization.Wpf;assembly=Infralution.Localization.Wpf"
					xmlns="clr-namespace:Infralution.Localization.Wpf;assembly=Infralution.Localization.Wpf" />
			</TextBlock.Text>
		</TextBlock>
		<StackPanel
			x:Name="buttonsPanel"
			Orientation="Horizontal"
			HorizontalAlignment="Right">
			<FrameworkElement.Margin>
				<Thickness
					Top="{StaticResource MarginButtonTop}" />
			</FrameworkElement.Margin>
			<CheckBox
				x:Name="cbDontShowAgain">
				<ContentControl.Content>
					<ResxExtension
						p13:ResxExtension.ResxName="NinjaTrader.Gui.Resource"
						p13:ResxExtension.Key="GuiDoNotShowMsgAgain"
						xmlns:p13="clr-namespace:Infralution.Localization.Wpf;assembly=Infralution.Localization.Wpf"
						xmlns="clr-namespace:Infralution.Localization.Wpf;assembly=Infralution.Localization.Wpf" />
				</ContentControl.Content>
				<FrameworkElement.Margin>
					<Thickness
						Left="{StaticResource MarginButtonLeft}" />
				</FrameworkElement.Margin>
			</CheckBox>
			<Button
				x:Name="btnProduct">
				<ContentControl.Content>
					<ResxExtension
						p13:ResxExtension.ResxName="NinjaTrader.Gui.Resource"
						p13:ResxExtension.Key="GuiProduct"
						xmlns:p13="clr-namespace:Infralution.Localization.Wpf;assembly=Infralution.Localization.Wpf"
						xmlns="clr-namespace:Infralution.Localization.Wpf;assembly=Infralution.Localization.Wpf" />
				</ContentControl.Content>
				<FrameworkElement.Margin>
					<Thickness
						Left="{StaticResource MarginButtonLeft}" />
				</FrameworkElement.Margin>
			</Button>
			<Button
				x:Name="btnDownload">
				<ContentControl.Content>
					<ResxExtension
						p13:ResxExtension.ResxName="NinjaTrader.Gui.Resource"
						p13:ResxExtension.Key="GuiDownload"
						xmlns:p13="clr-namespace:Infralution.Localization.Wpf;assembly=Infralution.Localization.Wpf"
						xmlns="clr-namespace:Infralution.Localization.Wpf;assembly=Infralution.Localization.Wpf" />
				</ContentControl.Content>
				<FrameworkElement.Margin>
					<Thickness
						Left="{StaticResource MarginButtonLeft}" />
				</FrameworkElement.Margin>
			</Button>
			<Button
				x:Name="btnLater"
				IsDefault="True">
				<ContentControl.Content>
					<ResxExtension
						p13:ResxExtension.ResxName="FlowBotsLibrary.Properties.Resources"
						p13:ResxExtension.Key="LaterButton"
						xmlns:p13="clr-namespace:Infralution.Localization.Wpf;assembly=Infralution.Localization.Wpf"
						xmlns="clr-namespace:Infralution.Localization.Wpf;assembly=Infralution.Localization.Wpf" />
				</ContentControl.Content>
				<FrameworkElement.Margin>
					<Thickness
						Left="{StaticResource MarginButtonLeft}" />
				</FrameworkElement.Margin>
			</Button>
		</StackPanel>
	</StackPanel>
</t:NTWindow>
