chr
2026-04-08 53e656200368a983e563550e2cc1acbc6d86b729
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<Window x:Class="OpenTapEditor.SettingWin"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:OpenTapEditor"
        mc:Ignorable="d"
        Closing="Window_Closing"
        Title="SettingWin" Height="450" Width="800">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <ComboBox/>
        <TabControl Grid.Row="1">
            <TabItem Header="Duts">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition/>
                        <RowDefinition Height="Auto"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="100"/>
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                    <ListView ItemsSource="{Binding Duts}" SelectionChanged="ListView_SelectionChanged" x:Name="dutsView"/>
                    <Border Grid.Column="1" Grid.RowSpan="2" x:Name="dutSettingPanel"></Border>
                    <StackPanel Grid.Row="1" Grid.Column="0">
                        <Button>+</Button>
                        <Button>-</Button>
                    </StackPanel>
                </Grid>
            </TabItem>
            <TabItem Header="Instruments">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition/>
                        <RowDefinition Height="Auto"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="100"/>
                        <ColumnDefinition/>
                    </Grid.ColumnDefinitions>
                    <ListView ItemsSource="{Binding Insts}" SelectionChanged="ListView_SelectionChanged" x:Name="instsView"/>
                    <Border Grid.Column="1" Grid.RowSpan="2" x:Name="instSettingPanel"></Border>
                    <StackPanel Grid.Row="1" Grid.Column="0">
                        <Button>+</Button>
                        <Button>-</Button>
                    </StackPanel>
                </Grid>
            </TabItem>
        </TabControl>
    </Grid>
</Window>