2014-03-26 17:34:19 +08:00
|
|
|
<Window
|
2014-05-21 12:53:32 +08:00
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:wox="clr-namespace:Wox"
|
2015-01-05 22:41:17 +08:00
|
|
|
x:Class="Wox.SettingWindow"
|
2014-05-21 12:53:32 +08:00
|
|
|
xmlns:woxPlugin="clr-namespace:Wox.Plugin;assembly=Wox.Plugin"
|
2014-05-24 16:07:03 +08:00
|
|
|
xmlns:converters="clr-namespace:Wox.Converters"
|
2015-01-05 22:41:17 +08:00
|
|
|
xmlns:userSettings="clr-namespace:Wox.Core.UserSettings;assembly=Wox.Core"
|
2014-05-21 12:53:32 +08:00
|
|
|
Icon="Images\app.png"
|
2015-01-23 21:52:46 +08:00
|
|
|
Title="{DynamicResource woxsettings}"
|
2014-05-21 12:53:32 +08:00
|
|
|
ResizeMode="NoResize"
|
|
|
|
WindowStartupLocation="CenterScreen"
|
|
|
|
Height="600" Width="800">
|
2014-07-04 15:12:22 +08:00
|
|
|
<Window.Resources>
|
|
|
|
<ListBoxItem HorizontalContentAlignment="Stretch"
|
2014-05-21 12:53:32 +08:00
|
|
|
IsEnabled="False"
|
|
|
|
IsHitTestVisible="False" x:Key="FeatureBoxSeperator">
|
2014-07-04 15:12:22 +08:00
|
|
|
<Separator Width="{Binding ElementName=lbPlugins, Path=ActualWidth}"/>
|
|
|
|
</ListBoxItem>
|
2014-07-16 20:17:51 +08:00
|
|
|
<converters:ImagePathConverter x:Key="ImageConverter" />
|
2014-07-04 15:12:22 +08:00
|
|
|
</Window.Resources>
|
|
|
|
<TabControl Height="auto" >
|
2015-01-02 23:07:49 +08:00
|
|
|
<TabItem Header="{DynamicResource general}">
|
2014-07-04 15:12:22 +08:00
|
|
|
<StackPanel Orientation="Vertical" Margin="10">
|
2015-01-02 16:16:09 +08:00
|
|
|
<CheckBox x:Name="cbStartWithWindows" Unchecked="CbStartWithWindows_OnUnchecked" Checked="CbStartWithWindows_OnChecked" Margin="10">
|
|
|
|
<TextBlock Text="{DynamicResource startWoxOnSystemStartup}" ></TextBlock>
|
2014-07-17 19:20:00 +08:00
|
|
|
</CheckBox>
|
|
|
|
<CheckBox x:Name="cbHideWhenDeactive" Margin="10">
|
2015-01-02 16:16:09 +08:00
|
|
|
<TextBlock Text="{DynamicResource hideWoxWhenLoseFocus}" ></TextBlock>
|
2014-07-17 19:20:00 +08:00
|
|
|
</CheckBox>
|
2014-12-14 23:16:29 +08:00
|
|
|
<CheckBox x:Name="cbDontPromptUpdateMsg" Margin="10">
|
2015-01-02 16:16:09 +08:00
|
|
|
<TextBlock Text="{DynamicResource dontPromptUpdateMsg}" ></TextBlock>
|
2014-12-14 23:16:29 +08:00
|
|
|
</CheckBox>
|
2015-01-02 16:16:09 +08:00
|
|
|
<StackPanel Margin="10" Orientation="Horizontal">
|
|
|
|
<TextBlock Text="{DynamicResource language}"></TextBlock>
|
2015-01-02 23:07:49 +08:00
|
|
|
<ComboBox Margin="10 0 0 0" Width="100" x:Name="cbLanguages" />
|
2015-01-02 16:16:09 +08:00
|
|
|
</StackPanel>
|
2014-07-04 15:12:22 +08:00
|
|
|
</StackPanel>
|
|
|
|
</TabItem>
|
2015-01-02 16:16:09 +08:00
|
|
|
<TabItem Header="{DynamicResource plugin}">
|
2014-07-04 15:12:22 +08:00
|
|
|
<Grid>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="200"/>
|
|
|
|
<ColumnDefinition/>
|
|
|
|
</Grid.ColumnDefinitions>
|
2014-07-16 20:17:51 +08:00
|
|
|
<DockPanel Grid.Column="0" >
|
2015-01-02 16:16:09 +08:00
|
|
|
<TextBlock DockPanel.Dock="Top" Margin="6" HorizontalAlignment="Left" Cursor="Hand" MouseUp="tbMorePlugins_MouseUp" x:Name="tbMorePlugins" Foreground="Blue" Text="{DynamicResource browserMorePlugins}"></TextBlock>
|
2014-07-16 20:17:51 +08:00
|
|
|
<ListBox x:Name="lbPlugins" Margin="0" SelectionChanged="lbPlugins_OnSelectionChanged" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Disabled" Grid.IsSharedSizeScope="True" >
|
|
|
|
<ListBox.Resources>
|
|
|
|
<DataTemplate DataType="{x:Type woxPlugin:PluginPair}">
|
|
|
|
<Grid Height="36" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="3">
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="32"></ColumnDefinition>
|
|
|
|
<ColumnDefinition/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Image Width="32" Height="32" HorizontalAlignment="Left" Source="{Binding Metadata.FullIcoPath,Converter={StaticResource ImageConverter},IsAsync=True}">
|
|
|
|
</Image>
|
|
|
|
<Grid Margin="3 0 3 0" Grid.Column="1" HorizontalAlignment="Stretch">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition></RowDefinition>
|
|
|
|
<RowDefinition Height="Auto"></RowDefinition>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<TextBlock VerticalAlignment="Center" ToolTip="{Binding Metadata.Name}" x:Name="tbTitle" Text="{Binding Metadata.Name}"></TextBlock>
|
|
|
|
<TextBlock ToolTip="{Binding Metadata.Description}" Visibility="{Binding Metadata.Description, Converter={converters:StringNullOrEmptyToVisibilityConverter}}" Grid.Row="1" x:Name="tbSubTitle" Text="{Binding Metadata.Description}" Opacity="0.5"></TextBlock>
|
|
|
|
</Grid>
|
2014-07-04 15:12:22 +08:00
|
|
|
</Grid>
|
2014-07-16 20:17:51 +08:00
|
|
|
</DataTemplate>
|
|
|
|
</ListBox.Resources>
|
|
|
|
</ListBox>
|
|
|
|
</DockPanel>
|
2014-07-04 15:12:22 +08:00
|
|
|
<Grid Margin="0" Grid.Column="1">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="Auto"/>
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<ContentControl x:Name="PluginInfoPanel" Grid.ColumnSpan="1" Grid.Row="0" Margin="10 10 10 0">
|
|
|
|
<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="48"></ColumnDefinition>
|
|
|
|
<ColumnDefinition/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Image Width="48" Height="48" HorizontalAlignment="Left" VerticalAlignment="Top" x:Name="pluginIcon"/>
|
|
|
|
<Grid Margin="10,0,0,0" Grid.Column="1" HorizontalAlignment="Stretch">
|
|
|
|
<Grid.RowDefinitions>
|
2014-06-01 23:23:48 +08:00
|
|
|
<RowDefinition></RowDefinition>
|
|
|
|
<RowDefinition></RowDefinition>
|
|
|
|
<RowDefinition></RowDefinition>
|
2014-07-04 15:12:22 +08:00
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<DockPanel Grid.Row="0">
|
|
|
|
<TextBlock x:Name="pluginTitle" Text="Plugin Title" Cursor="Hand" MouseUp="PluginTitle_OnMouseUp" ToolTip="{Binding Source=pluginTitle, Path=Text}" FontSize="24"></TextBlock>
|
2015-01-02 16:16:09 +08:00
|
|
|
<TextBlock Opacity="0.5" VerticalAlignment="Bottom" HorizontalAlignment="Right" x:Name="pluginAuthor" Text="{DynamicResource author}"></TextBlock>
|
2014-07-04 15:12:22 +08:00
|
|
|
</DockPanel>
|
2014-06-01 23:23:48 +08:00
|
|
|
<TextBlock Grid.Row="1" x:Name="pluginSubTitle" Opacity="0.5" ToolTip="{Binding Source=pluginSubTitle, Path=Text}" Visibility="{Binding Source=pluginSubTitle, Path=Text, Converter={converters:StringNullOrEmptyToVisibilityConverter}}" ></TextBlock>
|
2014-07-14 23:18:57 +08:00
|
|
|
<DockPanel Grid.Row="2" Margin="0 8 0 0">
|
2015-01-02 16:16:09 +08:00
|
|
|
<CheckBox x:Name="cbDisablePlugin" Click="CbDisablePlugin_OnClick">
|
|
|
|
<TextBlock Text="{DynamicResource disable}"></TextBlock>
|
|
|
|
</CheckBox>
|
2015-02-05 00:03:35 +08:00
|
|
|
<TextBlock x:Name="pluginActionKeywordTitle" Margin="20 -2 0 0">
|
2015-01-02 16:16:09 +08:00
|
|
|
<TextBlock Text="{DynamicResource actionKeyword}"></TextBlock>
|
|
|
|
</TextBlock>
|
2014-07-11 03:07:44 +08:00
|
|
|
<TextBlock Margin="5 -2 0 0" ToolTip="Change Action Keyword" Cursor="Hand" MouseUp="PluginActionKeyword_OnMouseUp" Foreground="Blue" Text="key" x:Name="pluginActionKeyword"></TextBlock>
|
2015-02-05 00:03:35 +08:00
|
|
|
<TextBlock Margin="20 -2 0 0" Text="Init time: 0ms" x:Name="pluginInitTime"></TextBlock>
|
|
|
|
<TextBlock Margin="20 -2 0 0" Text="Query time: 0ms" x:Name="pluginQueryTime"></TextBlock>
|
2015-01-02 16:16:09 +08:00
|
|
|
<TextBlock HorizontalAlignment="Right" Cursor="Hand" MouseUp="tbOpenPluginDirecoty_MouseUp" Foreground="Blue" Text="{DynamicResource pluginDirectory}" x:Name="tbOpenPluginDirecoty"></TextBlock>
|
2014-07-14 23:18:57 +08:00
|
|
|
</DockPanel>
|
2014-06-01 23:23:48 +08:00
|
|
|
</Grid>
|
2014-07-04 15:12:22 +08:00
|
|
|
</Grid>
|
|
|
|
</ContentControl>
|
2014-03-29 16:17:01 +08:00
|
|
|
|
2014-07-04 15:12:22 +08:00
|
|
|
<ContentControl x:Name="PluginContentPanel" Grid.ColumnSpan="1" Grid.Row="1" Margin="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
|
2014-02-22 15:52:20 +08:00
|
|
|
|
2014-07-04 15:12:22 +08:00
|
|
|
</ContentControl>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</TabItem>
|
2015-01-02 16:16:09 +08:00
|
|
|
<TabItem Header="{DynamicResource theme}">
|
2014-07-04 15:12:22 +08:00
|
|
|
<Grid>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="200"/>
|
|
|
|
<ColumnDefinition/>
|
|
|
|
</Grid.ColumnDefinitions>
|
2014-07-16 20:17:51 +08:00
|
|
|
<DockPanel Grid.Column="0" >
|
2015-01-02 16:16:09 +08:00
|
|
|
<TextBlock DockPanel.Dock="Top" Margin="6" HorizontalAlignment="Left" Cursor="Hand" MouseUp="tbMoreThemes_MouseUp" x:Name="tbMoreThemes" Foreground="Blue" Text="{DynamicResource browserMoreThemes}"></TextBlock>
|
2014-07-16 20:17:51 +08:00
|
|
|
<ListBox x:Name="themeComboBox" Margin="0" SelectionChanged="ThemeComboBox_OnSelectionChanged" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="180"/>
|
|
|
|
</DockPanel>
|
2014-07-04 15:12:22 +08:00
|
|
|
<Grid Margin="0" Grid.Column="1">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition />
|
2014-07-17 18:42:11 +08:00
|
|
|
<RowDefinition Height="100"/>
|
2014-07-04 15:12:22 +08:00
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition/>
|
|
|
|
</Grid.ColumnDefinitions>
|
2014-07-17 18:42:11 +08:00
|
|
|
<StackPanel x:Name="PreviewPanel" Grid.Row="0" Margin="0">
|
2014-07-04 15:12:22 +08:00
|
|
|
<StackPanel x:Name="PreviewMainPanel" Orientation="Horizontal" Margin="10" HorizontalAlignment="Center" VerticalAlignment="Center">
|
|
|
|
<StackPanel.Resources>
|
|
|
|
<ResourceDictionary Source="/PresentationFramework.Classic,Version=3.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35,processorArchitecture=MSIL;component/themes/Classic.xaml"/>
|
|
|
|
</StackPanel.Resources>
|
|
|
|
<Border Width="500" Style="{DynamicResource WindowBorderStyle}">
|
|
|
|
<Grid>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="50" />
|
|
|
|
<RowDefinition/>
|
|
|
|
</Grid.RowDefinitions>
|
2015-01-02 16:16:09 +08:00
|
|
|
<TextBox Text="{DynamicResource helloWox}" IsReadOnly="True" Style="{DynamicResource QueryBoxStyle}" Grid.Row="0"/>
|
2014-07-04 15:12:22 +08:00
|
|
|
<wox:ResultPanel Grid.Row="1" x:Name="resultPanelPreview"/>
|
|
|
|
</Grid>
|
|
|
|
</Border>
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
2014-03-26 17:34:19 +08:00
|
|
|
|
2014-07-17 18:42:11 +08:00
|
|
|
<StackPanel Grid.Row="1" Margin="0 10 0 10" Orientation="Vertical">
|
2014-07-04 15:12:22 +08:00
|
|
|
<StackPanel Orientation="Horizontal" Margin="2">
|
2015-01-02 16:16:09 +08:00
|
|
|
<TextBlock Text="{DynamicResource queryBoxFont}" />
|
2014-07-11 03:07:44 +08:00
|
|
|
<ComboBox Margin="10 -2 5 0" x:Name="cbQueryBoxFont" ItemsSource="{x:Static Fonts.SystemFontFamilies}" SelectionChanged="CbQueryBoxFont_OnSelectionChanged" HorizontalAlignment="Left" VerticalAlignment="Top" Width="160"/>
|
|
|
|
<ComboBox Margin="0 -2 0 0"
|
2014-03-26 17:34:19 +08:00
|
|
|
x:Name="cbQueryBoxFontFaces"
|
|
|
|
ItemsSource="{Binding SelectedValue.FamilyTypefaces, ElementName=cbQueryBoxFont}" SelectionChanged="CbQueryBoxFontFaces_OnSelectionChanged" HorizontalAlignment="Left" VerticalAlignment="Top" Width="120">
|
2014-07-04 15:12:22 +08:00
|
|
|
<ComboBox.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<ItemsControl ItemsSource="{Binding AdjustedFaceNames}">
|
|
|
|
<ItemsControl.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<TextBlock Text="{Binding Value}" />
|
|
|
|
</DataTemplate>
|
|
|
|
</ItemsControl.ItemTemplate>
|
|
|
|
</ItemsControl>
|
|
|
|
</DataTemplate>
|
|
|
|
</ComboBox.ItemTemplate>
|
|
|
|
</ComboBox>
|
|
|
|
</StackPanel>
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="2">
|
2015-01-02 16:16:09 +08:00
|
|
|
<TextBlock Text="{DynamicResource resultItemFont}" />
|
2014-07-11 03:25:25 +08:00
|
|
|
<ComboBox Margin="5 -2 5 0" x:Name="cbResultItemFont" ItemsSource="{x:Static Fonts.SystemFontFamilies}" SelectionChanged="CbResultItemFont_OnSelectionChanged" HorizontalAlignment="Left" VerticalAlignment="Top" Width="160"/>
|
2014-07-11 03:07:44 +08:00
|
|
|
<ComboBox Margin="0 -2 0 0"
|
2014-03-26 17:34:19 +08:00
|
|
|
x:Name="cbResultItemFontFaces"
|
|
|
|
ItemsSource="{Binding SelectedValue.FamilyTypefaces, ElementName=cbResultItemFont}" SelectionChanged="CbResultItemFontFaces_OnSelectionChanged" HorizontalAlignment="Left" VerticalAlignment="Top" Width="120">
|
2014-07-04 15:12:22 +08:00
|
|
|
<ComboBox.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<ItemsControl ItemsSource="{Binding AdjustedFaceNames}">
|
|
|
|
<ItemsControl.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<TextBlock Text="{Binding Value}" />
|
|
|
|
</DataTemplate>
|
|
|
|
</ItemsControl.ItemTemplate>
|
|
|
|
</ItemsControl>
|
|
|
|
</DataTemplate>
|
|
|
|
</ComboBox.ItemTemplate>
|
|
|
|
</ComboBox>
|
|
|
|
</StackPanel>
|
2014-07-17 18:42:11 +08:00
|
|
|
<StackPanel Orientation="Horizontal" Margin="2">
|
2015-01-02 16:16:09 +08:00
|
|
|
<TextBlock Text="{DynamicResource windowMode}" />
|
2014-07-17 18:42:11 +08:00
|
|
|
<ComboBox Name="CbOpacityMode" Margin="14 0 0 0" SelectionChanged="CbOpacityMode_OnSelectionChanged" Width="160">
|
2015-01-05 22:41:17 +08:00
|
|
|
<userSettings:OpacityMode>Normal</userSettings:OpacityMode>
|
|
|
|
<userSettings:OpacityMode>LayeredWindow</userSettings:OpacityMode>
|
|
|
|
<userSettings:OpacityMode>DWM</userSettings:OpacityMode>
|
2014-07-17 18:42:11 +08:00
|
|
|
<ComboBox.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<TextBlock Text="{Binding Converter={converters:OpacityModeConverter}}" />
|
|
|
|
</DataTemplate>
|
|
|
|
</ComboBox.ItemTemplate>
|
|
|
|
</ComboBox>
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="5 0 0 0" x:Name="spOpacity">
|
2015-01-02 16:16:09 +08:00
|
|
|
<TextBlock Text="{DynamicResource opacity}" HorizontalAlignment="Center" />
|
2014-07-17 18:42:11 +08:00
|
|
|
<Slider x:Name="slOpacity" Maximum="1" Minimum="0" SmallChange="1" LargeChange="0.1" TickPlacement="BottomRight" TickFrequency="0.1" ValueChanged="slOpacity_ValueChanged" Width="100"/>
|
|
|
|
</StackPanel>
|
2014-07-04 15:12:22 +08:00
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
2014-07-17 19:20:00 +08:00
|
|
|
|
2014-07-04 15:12:22 +08:00
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</TabItem>
|
2015-01-02 16:16:09 +08:00
|
|
|
<TabItem Header="{DynamicResource hotkey}">
|
2014-07-04 15:12:22 +08:00
|
|
|
<Grid Margin="10">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="30"/>
|
|
|
|
<RowDefinition/>
|
|
|
|
<RowDefinition Height="50"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<StackPanel Grid.Row="0" Orientation="Horizontal" VerticalAlignment="Center">
|
2015-01-02 16:16:09 +08:00
|
|
|
<TextBlock VerticalAlignment="Center" Margin="0 0 10 0" Text="{DynamicResource woxHotkey}"></TextBlock>
|
2014-07-04 15:12:22 +08:00
|
|
|
<wox:HotkeyControl x:Name="ctlHotkey"/>
|
|
|
|
</StackPanel>
|
|
|
|
<Grid Grid.Row="1">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="20"/>
|
|
|
|
<RowDefinition/>
|
|
|
|
</Grid.RowDefinitions>
|
2015-01-02 16:16:09 +08:00
|
|
|
<TextBlock VerticalAlignment="Center" Grid.Row="0" Margin="0 0 10 0" Text="{DynamicResource customQueryHotkey}"></TextBlock>
|
2014-07-04 15:12:22 +08:00
|
|
|
<ListView x:Name="lvCustomHotkey" Margin="0 5 0 0" Grid.Row="1">
|
|
|
|
<ListView.View>
|
|
|
|
<GridView>
|
2015-01-02 16:16:09 +08:00
|
|
|
<GridViewColumn Header="{DynamicResource hotkey}" Width="180">
|
2014-07-04 15:12:22 +08:00
|
|
|
<GridViewColumn.CellTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<TextBlock Text="{Binding Hotkey}"/>
|
|
|
|
</DataTemplate>
|
|
|
|
</GridViewColumn.CellTemplate>
|
|
|
|
</GridViewColumn>
|
2015-01-02 16:16:09 +08:00
|
|
|
<GridViewColumn Header="{DynamicResource actionKeyword}" Width="500">
|
2014-07-04 15:12:22 +08:00
|
|
|
<GridViewColumn.CellTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<TextBlock Text="{Binding ActionKeyword}"/>
|
|
|
|
</DataTemplate>
|
|
|
|
</GridViewColumn.CellTemplate>
|
|
|
|
</GridViewColumn>
|
|
|
|
</GridView>
|
|
|
|
</ListView.View>
|
|
|
|
</ListView>
|
2014-03-28 22:42:28 +08:00
|
|
|
|
2014-07-04 15:12:22 +08:00
|
|
|
</Grid>
|
|
|
|
<StackPanel Grid.Row="2" HorizontalAlignment="Right" Orientation="Horizontal">
|
2015-01-02 16:16:09 +08:00
|
|
|
<Button x:Name="btnDeleteCustomHotkey" Click="BtnDeleteCustomHotkey_OnClick" Width="100" Margin="10" Content="{DynamicResource delete}"/>
|
|
|
|
<Button x:Name="btnEditCustomHotkey" Click="BtnEditCustomHotkey_OnClick" Width="100" Margin="10" Content="{DynamicResource edit}"/>
|
|
|
|
<Button x:Name="btnAddCustomeHotkey" Click="BtnAddCustomeHotkey_OnClick" Width="100" Margin="10" Content="{DynamicResource add}"/>
|
2014-07-04 15:12:22 +08:00
|
|
|
</StackPanel>
|
|
|
|
</Grid>
|
|
|
|
</TabItem>
|
2015-01-02 16:16:09 +08:00
|
|
|
<TabItem Header="{DynamicResource proxy}">
|
2014-07-17 19:20:00 +08:00
|
|
|
<StackPanel>
|
2015-01-02 16:16:09 +08:00
|
|
|
<CheckBox x:Name="cbEnableProxy" Margin="10">
|
|
|
|
<TextBlock Text="{DynamicResource enableProxy}"></TextBlock>
|
|
|
|
</CheckBox>
|
2014-07-17 19:20:00 +08:00
|
|
|
<Grid Margin="10">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition ></RowDefinition>
|
|
|
|
<RowDefinition ></RowDefinition>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="80"></ColumnDefinition>
|
|
|
|
<ColumnDefinition Width="220"></ColumnDefinition>
|
|
|
|
<ColumnDefinition Width="80"></ColumnDefinition>
|
|
|
|
<ColumnDefinition></ColumnDefinition>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Border Grid.Row="0" Grid.Column="0" Padding="5">
|
2015-01-02 16:16:09 +08:00
|
|
|
<TextBlock Text="{DynamicResource server}"></TextBlock>
|
2014-07-17 19:20:00 +08:00
|
|
|
</Border>
|
|
|
|
<Border Grid.Row="0" Grid.Column="1" Padding="5">
|
2014-07-18 20:00:55 +08:00
|
|
|
<TextBox Width="200" HorizontalAlignment="Left" x:Name="tbProxyServer"></TextBox>
|
2014-07-17 19:20:00 +08:00
|
|
|
</Border>
|
|
|
|
<Border Grid.Row="0" Grid.Column="2" Padding="5">
|
2015-01-02 16:16:09 +08:00
|
|
|
<TextBlock Text="{DynamicResource port}"></TextBlock>
|
2014-07-17 19:20:00 +08:00
|
|
|
</Border>
|
|
|
|
<Border Grid.Row="0" Grid.Column="3" Padding="5">
|
2014-07-18 20:00:55 +08:00
|
|
|
<TextBox Width="50" HorizontalAlignment="Left" x:Name="tbProxyPort"></TextBox>
|
2014-07-17 19:20:00 +08:00
|
|
|
</Border>
|
|
|
|
<Border Grid.Row="1" Grid.Column="0" Padding="5">
|
2015-01-02 16:16:09 +08:00
|
|
|
<TextBlock Text="{DynamicResource userName}"></TextBlock>
|
2014-07-17 19:20:00 +08:00
|
|
|
</Border>
|
|
|
|
<Border Grid.Row="1" Grid.Column="1" Padding="5">
|
2014-07-18 20:00:55 +08:00
|
|
|
<TextBox Width="200" HorizontalAlignment="Left" x:Name="tbProxyUserName"></TextBox>
|
2014-07-17 19:20:00 +08:00
|
|
|
</Border>
|
|
|
|
<Border Grid.Row="1" Grid.Column="2" Padding="5">
|
2015-01-02 16:16:09 +08:00
|
|
|
<TextBlock Text="{DynamicResource password}"></TextBlock>
|
2014-07-17 19:20:00 +08:00
|
|
|
</Border>
|
|
|
|
<Border Grid.Row="1" Grid.Column="3" Padding="5">
|
2014-07-18 20:00:55 +08:00
|
|
|
<PasswordBox Width="200" HorizontalAlignment="Left" x:Name="tbProxyPassword" />
|
2014-07-17 19:20:00 +08:00
|
|
|
</Border>
|
|
|
|
</Grid>
|
2014-07-18 20:00:55 +08:00
|
|
|
<StackPanel Orientation="Horizontal">
|
2015-01-02 16:16:09 +08:00
|
|
|
<Button x:Name="btnTestProxy" Width="80" HorizontalAlignment="Left" Margin="10" Click="btnTestProxy_Click" Content="{DynamicResource testProxy}"></Button>
|
|
|
|
<Button x:Name="btnSaveProxy" Width="80" HorizontalAlignment="Left" Margin="10" Click="btnSaveProxy_Click" Content="{DynamicResource save}"></Button>
|
2014-07-18 20:00:55 +08:00
|
|
|
</StackPanel>
|
2014-07-17 19:20:00 +08:00
|
|
|
</StackPanel>
|
|
|
|
</TabItem>
|
2015-01-02 16:16:09 +08:00
|
|
|
<TabItem Header="{DynamicResource about}">
|
2014-12-16 22:25:22 +08:00
|
|
|
<Grid>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="80"></ColumnDefinition>
|
|
|
|
<ColumnDefinition></ColumnDefinition>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="30"></RowDefinition>
|
|
|
|
<RowDefinition Height="30"></RowDefinition>
|
2015-01-23 21:52:46 +08:00
|
|
|
<RowDefinition Height="30"></RowDefinition>
|
2014-12-16 22:25:22 +08:00
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
2015-01-02 16:16:09 +08:00
|
|
|
<TextBlock Grid.Column="0" Grid.Row="0" Margin="6" Text="{DynamicResource website}"></TextBlock>
|
2014-12-16 22:25:22 +08:00
|
|
|
<TextBlock Grid.Column="1" Grid.Row="0" Margin="6" HorizontalAlignment="Left" Cursor="Hand" MouseUp="tbWebsite_MouseUp" x:Name="tbWebsite" Foreground="Blue" Text="http://www.getwox.com"></TextBlock>
|
|
|
|
|
2015-01-02 16:16:09 +08:00
|
|
|
<TextBlock Grid.Column="0" Grid.Row="1" Margin="6" Text="{DynamicResource version}"></TextBlock>
|
2014-12-16 22:25:22 +08:00
|
|
|
<StackPanel Grid.Column="1" Grid.Row="1" Orientation="Horizontal">
|
|
|
|
<TextBlock Margin="6" HorizontalAlignment="Left" x:Name="tbVersion" Text="1.0.0"></TextBlock>
|
|
|
|
</StackPanel>
|
2015-01-23 21:52:46 +08:00
|
|
|
|
|
|
|
<TextBlock x:Name="tbActivatedTimes" Grid.Row="2" Margin="6" Grid.ColumnSpan="2" Text="{DynamicResource about_activate_times}"></TextBlock>
|
2014-12-16 22:25:22 +08:00
|
|
|
</Grid>
|
|
|
|
</TabItem>
|
2014-07-04 15:12:22 +08:00
|
|
|
</TabControl>
|
2014-01-25 18:00:13 +08:00
|
|
|
</Window>
|