61 lines
3.6 KiB
XML
61 lines
3.6 KiB
XML
<Application x:Class="Plane.FormationCreator.App"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:local="clr-namespace:Plane.FormationCreator"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
d1p1:Ignorable="d"
|
|
xmlns:d1p1="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:cnv="clr-namespace:Plane.Windows.Converters;assembly=Plane.Windows"
|
|
xmlns:lcnv="clr-namespace:Plane.FormationCreator.Converters"
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
|
ShutdownMode="OnMainWindowClose">
|
|
|
|
<Application.Resources>
|
|
<materialDesign:PackIcon x:Key="CheckIcon"
|
|
x:Shared="False"
|
|
Kind="Check"
|
|
Foreground="#2196F3" />
|
|
<materialDesign:PackIcon x:Key="CloseIcon"
|
|
x:Shared="False"
|
|
Kind="Close"
|
|
Foreground="White" />
|
|
<cnv:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
|
|
<cnv:BooleanToVisibilityConverter x:Key="InversiveBooleanToVisibilityConverter"
|
|
False="Visible"
|
|
True="Collapsed" />
|
|
<cnv:NullableBooleanToVisibilityConverter x:Key="IsPausedToRunButtonVisibilityConverter"
|
|
False="Collapsed"
|
|
Null="Visible"
|
|
True="Visible" />
|
|
<cnv:NullableBooleanToVisibilityConverter x:Key="IsPausedToPauseButtonVisibilityConverter"
|
|
False="Visible"
|
|
Null="Collapsed"
|
|
True="Collapsed" />
|
|
<cnv:InverseBooleanConverter x:Key="InverseBooleanConverter" />
|
|
<cnv:BooleanToStringConverter x:Key="ShowModifyTaskViewButtonContentConverter"
|
|
False="【飞行模式】"
|
|
True="【编辑模式】" />
|
|
|
|
<cnv:BooleanToStringConverter x:Key="Show2d3dButtonContentConverter"
|
|
False="平面地图"
|
|
True="三维地图" />
|
|
|
|
|
|
<cnv:BooleanToResourceConverter x:Key="CheckSignConverter"
|
|
FalseKey="CloseIcon"
|
|
TrueKey="CheckIcon" />
|
|
<cnv:BooleanToResourceConverter x:Key="CheckSignConverter2"
|
|
FalseKey="CloseIcon"
|
|
TrueKey="CheckIcon" />
|
|
<cnv:BooleanToStringConverter x:Key="ColorConverter"
|
|
False="Red"
|
|
True="Green" />
|
|
<cnv:BooleanToStringConverter x:Key="SendConverter"
|
|
False="发送"
|
|
True="关闭" />
|
|
<lcnv:HeartbeatCountToBrushConverter x:Key="HeartbeatCountToBrushConverter" />
|
|
<lcnv:AppModeToVisibilityConverter x:Key="AppModeToVisibilityConverter" />
|
|
<lcnv:FlightTaskStatusToFillConverter x:Key="FlightTaskStatusToFillConverter" />
|
|
<lcnv:FlightTaskIsSelectedToEffectConverter x:Key="FlightTaskIsSelectedToEffectConverter" />
|
|
</Application.Resources>
|
|
</Application> |