# Conflicts: # .gitignore # App.xaml # App.xaml.cs # AudioWatcher.cs # Delcom/DeviceManagement.cs # Delcom/StoplightIndicator.cs # LICENSE.md # LightController.cs # Properties/AssemblyInfo.cs # Properties/Resources.Designer.cs # Properties/Resources.resx # Properties/Settings.Designer.cs # Properties/Settings.settings # README.md # UpdateCheck.cs # WorkIndicator.csproj # WorkIndicator.sln # WorkIndicator.sln.DotSettings
33 lines
2.2 KiB
XML
33 lines
2.2 KiB
XML
<windows:CategoryPanelBase x:Class="WorkIndicator.SettingsWindow.GeneralSettingsPanel"
|
|
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:properties="clr-namespace:WorkIndicator.Properties"
|
|
xmlns:windows="clr-namespace:ChrisKaczor.Wpf.Windows;assembly=ChrisKaczor.Wpf.Windows.CategoryWindow"
|
|
xmlns:mah="http://metro.mahapps.com/winfx/xaml/controls"
|
|
xmlns:workIndicator="clr-namespace:WorkIndicator"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="300"
|
|
d:DesignWidth="300">
|
|
<StackPanel windows:Spacing.Vertical="10">
|
|
<CheckBox Content="{x:Static properties:Resources.startWithWindowsCheckBox}"
|
|
IsChecked="{Binding Source={x:Static properties:Settings.Default}, Path=AutoStart}"
|
|
Click="OnSaveSettings" />
|
|
<ComboBox
|
|
mah:TextBoxHelper.UseFloatingWatermark="True"
|
|
mah:TextBoxHelper.Watermark="{x:Static properties:Resources.DefaultStatusLabel}"
|
|
SelectedValue="{Binding Source={x:Static properties:Settings.Default}, Path=DefaultStatus}"
|
|
SelectedValuePath="Tag"
|
|
SelectionChanged="OnSaveSettings">
|
|
<ComboBoxItem Content="{x:Static properties:Resources.StatusFree}"
|
|
Tag="{x:Static workIndicator:Status.Free}" />
|
|
<ComboBoxItem Content="{x:Static properties:Resources.StatusWorking}"
|
|
Tag="{x:Static workIndicator:Status.Working}" />
|
|
<ComboBoxItem Content="{x:Static properties:Resources.StatusOnPhone}"
|
|
Tag="{x:Static workIndicator:Status.OnPhone}" />
|
|
<ComboBoxItem Content="{x:Static properties:Resources.StatusTalking}"
|
|
Tag="{x:Static workIndicator:Status.Talking}" />
|
|
</ComboBox>
|
|
</StackPanel>
|
|
</windows:CategoryPanelBase> |