<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="QFDT.Option" 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" Margin="20,10,0,0" xmlns:qfdt="clr-namespace:QFDT;assembly=QFDT" DataContext="{Binding}" OpacityMask="{x:Null}">
  <StackPanel>
    <TabControl Name="Option_Tab" BorderThickness="0" Width="500" SelectionChanged="TabControl_SelectionChanged">
      <TabItem Name="Option_Path" Header="{DynamicResource Path}">
        <StackPanel>
          <Label Height="30" Width="100" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,10,0,0" Content="{DynamicResource ProductPath}" />
          <StackPanel Orientation="Horizontal">
            <TextBox Name="Product_Configuration_Folder" Height="23" AllowDrop="True" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="350" />
            <Button Name="PCF_Folder_Browser" Height="23" AllowDrop="True" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="50" Content="..." Click="PCF_Folder_Browser_Click" />
          </StackPanel>
          <Label Height="30" Width="100" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,10,0,0" Content="HLOS Path" />
          <StackPanel Orientation="Horizontal">
            <TextBox Name="HLOS_Command_Path" Height="23" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="350" />
            <Button Name="HLOS_Path_Browser" Height="23" AllowDrop="True" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="50" Content="..." Click="HLOS_Path_Browser_Click" />
          </StackPanel>
        </StackPanel>
      </TabItem>
      <TabItem Name="Option_Language" Header="{DynamicResource Language}">
        <StackPanel Orientation="Horizontal">
          <Label Content="{DynamicResource Language}" Height="30" HorizontalAlignment="Left" Width="100" Margin="10,20,0,0" VerticalAlignment="Top" />
          <ComboBox Name="cboLanguageSelector" Height="23" HorizontalAlignment="Left" Margin="10,20,0,0" VerticalAlignment="Top" Width="120" SelectionChanged="cboLanguageSelector_SelectionChanged">
            <ComboBoxItem>English-US</ComboBoxItem>
            <ComboBoxItem>中文(简体)</ComboBoxItem>
            <ComboBoxItem>Japanese</ComboBoxItem>
            <ComboBoxItem>Korean</ComboBoxItem>
            <ComboBoxItem>Spanish</ComboBoxItem>
            <ComboBoxItem>Portuguese</ComboBoxItem>
          </ComboBox>
        </StackPanel>
      </TabItem>
      <TabItem Name="Option_TestEquipment" Header="{DynamicResource TestEquip}">
        <StackPanel>
          <GroupBox Name="groupBox1" Header="{DynamicResource PowerSupply}" HorizontalAlignment="Left" Margin="20,10,0,0" VerticalAlignment="Top" Width="448">
            <StackPanel>
              <StackPanel Orientation="Horizontal">
                <Label Content="DriverType" Width="66" HorizontalAlignment="Left" VerticalAlignment="Center" />
                <ComboBox Name="cbxPSDriver" HorizontalAlignment="Left" VerticalAlignment="Center" Width="120" Margin="0,0,0,0" SelectionChanged="PSDriverType_SelectionChanged" />
                <Label Content="{DynamicResource Resource}" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0" Width="66" />
                <ComboBox Name="ps_resource_name" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Center" Width="120" />
              </StackPanel>
              <StackPanel Orientation="Horizontal" Margin="0,1,0,0">
                <StackPanel Orientation="Horizontal">
                  <StackPanel Name="spPowerSupplyGpibSetting" Orientation="Horizontal">
                    <Label Name="ps_gpib_label" HorizontalAlignment="Left" Margin="0,0,0,0" Content="gpib" VerticalAlignment="Center" Width="66" />
                    <TextBox Name="ps_gpib" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Center" Width="30" />
                  </StackPanel>
                  <StackPanel Name="spPowerSupplyVISASetting" Orientation="Horizontal">
                    <Label Name="ps_visa_label" HorizontalAlignment="Left" Margin="0,0,0,0" Content="Desc" VerticalAlignment="Center" Width="66" />
                    <TextBox Name="ps_visa" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Center" Width="320" />
                  </StackPanel>
                </StackPanel>
              </StackPanel>
              <StackPanel Orientation="Horizontal">
                <Label Height="23" Content="{DynamicResource DLL}" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="66" />
                <ComboBox Name="ps_dll_combo" Height="23" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="320" SelectionChanged="EquipDll_SelectionChanged" />
              </StackPanel>
            </StackPanel>
          </GroupBox>
          <GroupBox Name="groupBox2" Header="{DynamicResource SpectrumAnalyzer}" HorizontalAlignment="Left" Margin="20,10,0,0" VerticalAlignment="Top" Width="448">
            <StackPanel>
              <StackPanel Orientation="Horizontal">
                <Label Content="DriverType" Width="66" HorizontalAlignment="Left" VerticalAlignment="Center" />
                <ComboBox Name="cbxSpecAnDriver" HorizontalAlignment="Left" VerticalAlignment="Center" Width="120" Margin="0,0,0,0" SelectionChanged="SpecAnDriverType_SelectionChanged" />
                <Label Content="{DynamicResource Resource}" HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Center" Width="66" />
                <ComboBox Name="specan_resource_name" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Center" Width="120" />
              </StackPanel>
              <StackPanel Orientation="Horizontal" Margin="0,1,0,0">
                <StackPanel Orientation="Horizontal">
                  <StackPanel Name="spSpecAnGpibSetting" Orientation="Horizontal">
                    <Label Name="specan_gpib_label" Width="66" HorizontalAlignment="Left" Margin="0,0,0,0" Content="gpib" VerticalAlignment="Center" />
                    <TextBox Name="specan_gpib" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Center" Width="30" />
                  </StackPanel>
                  <StackPanel Name="spSpecAnVISASetting" Orientation="Horizontal">
                    <Label Name="specan_visa_label" Width="66" HorizontalAlignment="Left" Margin="0,0,0,0" Content="Desc" VerticalAlignment="Center" />
                    <TextBox Name="specan_visa" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Center" Width="320" />
                  </StackPanel>
                </StackPanel>
              </StackPanel>
              <StackPanel Orientation="Horizontal">
                <Label Height="23" Content="{DynamicResource DLL}" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="66" />
                <ComboBox Name="specan_dll_combo" Height="23" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="320" SelectionChanged="EquipDll_SelectionChanged" />
              </StackPanel>
            </StackPanel>
          </GroupBox>
          <GroupBox Name="groupBox3" Header="{DynamicResource SignalGenerator}" HorizontalAlignment="Left" Margin="20,10,0,0" VerticalAlignment="Top" Width="448">
            <StackPanel>
              <StackPanel Orientation="Horizontal">
                <Label Content="DriverType" Width="66" HorizontalAlignment="Left" VerticalAlignment="Center" />
                <ComboBox Name="cbxSiggenDriver" HorizontalAlignment="Left" VerticalAlignment="Center" Width="120" Margin="0,0,0,0" SelectionChanged="SiggenDriverType_SelectionChanged" />
                <Label Content="{DynamicResource Resource}" HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Center" Width="66" />
                <ComboBox Name="siggen_resource_name" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Center" Width="120" />
              </StackPanel>
              <StackPanel Orientation="Horizontal" Margin="0,1,0,0">
                <StackPanel Orientation="Horizontal">
                  <StackPanel Name="spSiggenGpibSetting" Orientation="Horizontal">
                    <Label Name="siggen_gpib_label" HorizontalAlignment="Left" Margin="0,0,0,0" Content="gpib" VerticalAlignment="Center" Width="66" />
                    <TextBox Name="siggen_gpib" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Center" Width="30" />
                  </StackPanel>
                  <StackPanel Name="spSiggenVISASetting" Orientation="Horizontal">
                    <Label Name="siggen_visa_label" Width="66" HorizontalAlignment="Left" Margin="0,0,0,0" Content="Desc" VerticalAlignment="Center" />
                    <TextBox Name="siggen_visa" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Center" Width="320" />
                  </StackPanel>
                </StackPanel>
              </StackPanel>
              <StackPanel Orientation="Horizontal">
                <Label Height="23" Content="{DynamicResource DLL}" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="66" />
                <ComboBox Name="siggen_dll_combo" Height="23" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="320" SelectionChanged="EquipDll_SelectionChanged" />
              </StackPanel>
            </StackPanel>
          </GroupBox>
        </StackPanel>
      </TabItem>
      <TabItem Name="Option_Detection" Header="{DynamicResource Detection}">
        <StackPanel>
          <Label Content="{DynamicResource USBKeywords}" Height="30" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" />
          <TextBox Name="DiagKeyWords" Height="23" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="279" TextChanged="DiagKeyWords_TextChanged" />
        </StackPanel>
      </TabItem>
      <TabItem Name="Option_UI" Header="UI" Visibility="Collapsed">
        <StackPanel>
          <ListBox Name="tabList" Height="279" HorizontalAlignment="Left" Margin="20,20,0,0" VerticalAlignment="Top" Width="148" />
          <CheckBox Name="cbShowAll" Content="{DynamicResource ShowAll}" Height="26" HorizontalAlignment="Left" Margin="0,20,0,0" VerticalAlignment="Top" Width="130" IsChecked="False" />
        </StackPanel>
      </TabItem>
      <TabItem Name="Option_UpdatePath" Header="Update" Visibility="Collapsed">
        <StackPanel>
          <CheckBox Name="CBAutoUpgrade" Content="{DynamicResource AutoUpdate}" Height="26" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="130" />
          <StackPanel Orientation="Horizontal">
            <Label Height="30" Width="50" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,20,0,0" Content="{DynamicResource UpdatePath}" />
            <TextBox Name="UpgradePath" Height="30" HorizontalAlignment="Left" Margin="10,20,0,0" VerticalAlignment="Top" Width="396" />
          </StackPanel>
        </StackPanel>
      </TabItem>
    </TabControl>
    <StackPanel Name="BottomPanel" Orientation="Horizontal">
      <Button Name="bnDefault" Content="{DynamicResource Default}" Height="23" HorizontalAlignment="Left" Margin="50,10,0,0" VerticalAlignment="Top" Width="75" AllowDrop="False" ForceCursor="False" IsDefault="False" IsEnabled="True" IsHitTestVisible="False" Click="bnDefault_Click" />
      <Button Name="bnSave" Content="{DynamicResource Save}" Height="23" HorizontalAlignment="Left" Margin="20,10,0,0" VerticalAlignment="Top" Width="75" Opacity="1" DataContext="{Binding}" OpacityMask="{x:Null}" Click="bnSave_Click" />
    </StackPanel>
  </StackPanel>
</UserControl>