프로젝트

일반

사용자정보

개정판 22b925fe

ID22b925fefdec3e2ce7b79af382e7a307d5d512c7
상위 e46ef756
하위 d5c34b1d

김태성이(가) 5달 전에 추가함

issue #0000 SymbolPrompt.xaml의 png OR svg select 제거

Change-Id: I2aed8d2881811410931c3c2ed2ab3ca5c15a0502

차이점 보기:

KCOM/Controls/SymbolPrompt.xaml
1
<UserControl x:Class="KCOM.Controls.SymbolPrompt"
2
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
5
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
6
             xmlns:local="clr-namespace:KCOM.Controls"
7
             mc:Ignorable="d" 
8
             Height="100" d:DesignWidth="400">
1
<UserControl
2
    x:Class="KCOM.Controls.SymbolPrompt"
3
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
6
    xmlns:local="clr-namespace:KCOM.Controls"
7
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
8
    Height="100"
9
    d:DesignWidth="400"
10
    mc:Ignorable="d">
9 11
    <Grid Background="#FFEEEEF2">
10 12
        <Grid.ColumnDefinitions>
11
            <ColumnDefinition Width="50"/>
12
            <ColumnDefinition Width="350">
13
            </ColumnDefinition>
13
            <ColumnDefinition Width="50" />
14
            <ColumnDefinition Width="350" />
14 15
        </Grid.ColumnDefinitions>
15
<!--
16
        <!--
16 17
        <Grid.RowDefinitions>
17 18
            <RowDefinition Height="35"/>
18 19
            <RowDefinition Height="25"/>
19 20
            <RowDefinition Height="1"/>
20 21
            <RowDefinition/>
21
        </Grid.RowDefinitions>
22
-->
22
        </Grid.RowDefinitions>-->
23 23
        <StackPanel Grid.Column="0" Margin="0,10,0,0">
24
            <Image Height="40" Source="/KCOM;component/Resources/Images/MenuImage_New/selectInk.png"/>
24
            <Image Height="40" Source="/KCOM;component/Resources/Images/MenuImage_New/selectInk.png" />
25 25
        </StackPanel>
26 26
        <StackPanel Grid.Column="1">
27
            <DockPanel Grid.Row="0" Margin="0,10,0,0" HorizontalAlignment="Left" Width="350">
27
            <DockPanel
28
                Grid.Row="0"
29
                Width="350"
30
                Margin="0,10,0,0"
31
                HorizontalAlignment="Left">
28 32
                <Label>Name :</Label>
29
                <TextBox Margin="5" x:Name="symbolName" />
33
                <TextBox x:Name="symbolName" Margin="5" />
30 34
            </DockPanel>
31
            <DockPanel Grid.Row="1" Margin="0,0,0,0" HorizontalAlignment="Left" >
32
                <RadioButton Content="PNG" Name="pngRadioBox" IsChecked="True" Margin="5"/>
33
                <RadioButton Content="SVG" Name="svgRadioBox" Margin="5"/>
34
                <!-- IsEnabled="{Binding ElementName=DeleteEverythingCheckbox, Path=IsChecked}" Text="Here is some text to edit" -->
35
            <DockPanel
36
                Grid.Row="1"
37
                Margin="0,0,0,0"
38
                HorizontalAlignment="Left"
39
                Visibility="Collapsed">
40
                <RadioButton
41
                    Name="pngRadioBox"
42
                    Margin="5"
43
                    Content="PNG"
44
                    IsChecked="True" />
45
                <RadioButton
46
                    Name="svgRadioBox"
47
                    Margin="5"
48
                    Content="SVG" />
49
                <!--  IsEnabled="{Binding ElementName=DeleteEverythingCheckbox, Path=IsChecked}" Text="Here is some text to edit"  -->
35 50
            </DockPanel>
36
            <StackPanel Grid.Row="2" Background="#FFCCCEDB"></StackPanel>
37
            <StackPanel Grid.Row="3" Margin="0,0,10,0" HorizontalAlignment="Right" VerticalAlignment="Center">
51
            <StackPanel Grid.Row="2" Background="#FFCCCEDB" />
52
            <StackPanel
53
                Grid.Row="3"
54
                Margin="10,10,10,10"
55
                HorizontalAlignment="Right"
56
                VerticalAlignment="Bottom">
38 57
                <DockPanel>
39
                    <Button Width="70" x:Name="BtnOK" Margin="0,0,10,0" PreviewKeyDown="BtnOK_PreviewKeyDown" PreviewMouseLeftButtonDown="BtnOK_MouseLeftButtonDown">OK</Button>
40
                    <Button Width="70" x:Name="BtnCancel" Click="BtnCancel_Click">Cancel</Button>
58
                    <Button
59
                        x:Name="BtnOK"
60
                        Width="70"
61
                        Margin="0,0,10,0"
62
                        PreviewKeyDown="BtnOK_PreviewKeyDown"
63
                        PreviewMouseLeftButtonDown="BtnOK_MouseLeftButtonDown">
64
                        OK
65
                    </Button>
66
                    <Button
67
                        x:Name="BtnCancel"
68
                        Width="70"
69
                        Click="BtnCancel_Click">
70
                        Cancel
71
                    </Button>
41 72
                </DockPanel>
42 73
            </StackPanel>
43 74

  
44 75
        </StackPanel>
45
       
76

  
46 77
    </Grid>
47 78
</UserControl>

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)