프로젝트

일반

사용자정보

개정판 5ce56a3a

ID5ce56a3a08509844f0bed03301750089806d570e
상위 a0bab669
하위 d4b0c723

KangIngu 이(가) 약 7년 전에 추가함

Symbol 기능 추가 및 Entity 테이블 추가
상단 네비게이션 View데이터 Comment로 통합

차이점 보기:

KCOM/Controls/Symbol.xaml
3 3
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4 4
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
5 5
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
6
             xmlns:WrapPanel ="clr-namespace:KCOM.WrapPanel"
6 7
             xmlns:local="clr-namespace:KCOM.Controls"
7 8
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
8
             mc:Ignorable="d" Background="White"
9
             mc:Ignorable="d" Background="#f5f5f5"
9 10
             d:DesignHeight="900" d:DesignWidth="300">
10 11

  
11 12
    <UserControl.Resources>
12 13
        <DataTemplate x:Key="SymbolTemplate_Private">
13
            <StackPanel MouseLeftButtonDown="lsySymbolPrivate_MouseLeftButtonDown" ToolTipService.ToolTip="{Binding Name}">
14
            <StackPanel MouseLeftButtonDown="Move_Symbol" MouseLeave="StackPanel_MouseLeave" MouseUp="StackPanel_MouseUp" ToolTipService.ToolTip="{Binding Name}">
14 15
                <Grid>
15 16
                    <StackPanel>
16
                        <Border Background="#FF1FA3EB">
17
                            <TextBlock MaxWidth="60"
17
                        <!--<Border Background="#FF1FA3EB">-->
18
                        <Border Background="#FF2A579A">
19
                            <TextBlock MaxWidth="200"
18 20
                                       HorizontalAlignment="Center"
19 21
                                       VerticalAlignment="Center"
20 22
                                       Foreground="White"
21 23
                                       Text="{Binding Name}" />
22 24
                        </Border>
23
                        <Image Width="64"
25
                        <Image Width="200"
24 26
                               Height="64"
25 27
                               Margin="3"
26 28
                               HorizontalAlignment="Center"
......
37 39
        </Style>
38 40
    </UserControl.Resources>
39 41
    <Grid  Margin="10">
40
        <Grid.RowDefinitions>
41
            <RowDefinition Height="Auto"/>
42
            <RowDefinition Height="*"/>
43
        </Grid.RowDefinitions>
44
        <StackPanel Grid.Row="0" Orientation="Vertical">
45
            <TextBlock Text="Symbol" FontSize="15"/>
46
            <Grid Margin="0,10">
47
                <Grid.ColumnDefinitions>
48
                    <ColumnDefinition Width="3*"/>
49
                    <ColumnDefinition Width="3*"/>
50
                    <ColumnDefinition Width="3*"/>
51
                    <ColumnDefinition Width="3*"/>
52
                </Grid.ColumnDefinitions>
53
                <Button Content="Register" Grid.Column="1" Click="Create_Symbol" Margin="5,0,0,0" Padding="5" Background="#3d3d3d" Foreground="White"/>
54
                <Button Content="Rename" Grid.Column="2"  Margin="5,0,0,0" Padding="5" Background="#3d3d3d" Foreground="White"/>
55
                <Button Content="Remove" Grid.Column="3"  Margin="5,0,0,0" Padding="5"  Background="#3d3d3d" Foreground="White"/>
56
            </Grid>
57
            <TextBlock Text="[Tip : Double Click, Drag]" FontSize="10" HorizontalAlignment="Right"/>
58
        </StackPanel>
59
        <StackPanel Grid.Row="1">
60
            <ListBox x:Name="lstSymbolPrivate" ItemTemplate="{StaticResource SymbolTemplate_Private}">
61
                <!--<telerik:ListBoxDragDrop></telerik:ListBoxDragDrop>-->
62
            </ListBox>
63
        </StackPanel>
42
        <telerik:RadTabControl BorderThickness="0" x:Name="RadTab" telerik:StyleManager.Theme="Office2016"  HeaderBackground="#f5f5f5" FontSize="10" HorizontalAlignment="Stretch" HorizontalContentAlignment="Stretch"
43
                               ScrollViewer.HorizontalScrollBarVisibility ="Disabled" SelectedIndex="0" PreviewSelectionChanged="RadTabControl_PreviewSelectionChanged">
44
            
45
            <telerik:RadTabItem Header="Private" FontSize="10" FontWeight="Bold" HeaderForeground="{DynamicResource KCOMColor_MarkerBrush}">
46
                <Grid>
47
                    <Grid.RowDefinitions>
48
                        <RowDefinition Height="Auto"/>
49
                        <RowDefinition Height="*"/>
50
                    </Grid.RowDefinitions>
51
                    
52
                    <StackPanel Grid.Row="0" Orientation="Vertical">
53
                        <!--<TextBlock Text="Symbol" FontSize="15"/>-->
54
                        <Grid Margin="0,10">
55
                            <Grid.ColumnDefinitions>
56
                                <ColumnDefinition Width="3*"/>
57
                                <ColumnDefinition Width="3*"/>
58
                                <ColumnDefinition Width="3*"/>
59
                                <ColumnDefinition Width="3*"/>
60
                            </Grid.ColumnDefinitions>
61
                            <Button Content="Register" Grid.Column="1" Click="Create_Symbol" Margin="5,0,0,0" FontWeight="Normal" Padding="5" Background="#3d3d3d" Foreground="White"/>
62
                            <Button Content="Rename" Grid.Column="2" Click="Rename_Symbol" Margin="5,0,0,0" FontWeight="Normal" Padding="5" Background="#3d3d3d" Foreground="White"/>
63
                            <Button Content="Remove" Grid.Column="3" Click="Remove_Symbol" Margin="5,0,0,0" FontWeight="Normal" Padding="5"  Background="#3d3d3d" Foreground="White"/>
64

  
65
                            <!--<Button Content="Register" Grid.Column="1" Click="Create_Symbol" Margin="5,0,0,0" Padding="5" Background="#3d3d3d" Foreground="White"/>
66
                            <Button Content="Rename" Grid.Column="2" Click="Rename_Symbol" Margin="5,0,0,0" Padding="5" Background="#3d3d3d" Foreground="White"/>
67
                            <Button Content="Remove" Grid.Column="3" Click="Remove_Symbol" Margin="5,0,0,0" Padding="5"  Background="#3d3d3d" Foreground="White"/>-->
68
                        </Grid>
69
                        <TextBlock Text="[Tip : Double Click]" FontSize="10" HorizontalAlignment="Right"/>
70
                    </StackPanel>
71
                    <ScrollViewer x:Name="ScView" Grid.Row="1" >
72
                        <ListBox x:Name="lstSymbolPrivate" Background="#f5f5f5" FontWeight="Normal" ItemTemplate="{StaticResource SymbolTemplate_Private}" 
73
                                 MouseDown="lstSymbolPrivate_MouseDown"
74
                                 PreviewMouseUp="lstSymbolPrivate_PreviewMouseUp"
75
                                 MouseLeave="lstSymbolPrivate_MouseLeave"
76
                                 PreviewMouseWheel ="lstSymbolPrivate_PreviewMouseWheel">
77
                            <telerik:ListBoxDragDrop.Behavior>
78
                                <telerik:ListBoxDragDropBehavior AllowReorder="True" />
79
                            </telerik:ListBoxDragDrop.Behavior>
80
                            
81
                            <!--<ListBox.ItemsPanel>
82
                    <ItemsPanelTemplate>
83
                        <WrapPanel:WrapPanel />
84
                    </ItemsPanelTemplate>
85
                </ListBox.ItemsPanel>-->
86
                            <!--<telerik:ListBoxDragDrop></telerik:ListBoxDragDrop>-->
87
                        </ListBox>
88
                    </ScrollViewer>
89
                </Grid>
90
            </telerik:RadTabItem>
91
            
92
            <telerik:RadTabItem Header="Public" FontSize="10" FontWeight="Normal" HeaderForeground="{DynamicResource KCOMColor_MarkerBrush}" >
93
                <Grid>
94
                    <Grid.RowDefinitions>
95
                        <RowDefinition Height="Auto"/>
96
                        <RowDefinition Height="*"/>
97
                    </Grid.RowDefinitions>
98

  
99
                    <StackPanel Grid.Row="0" Orientation="Vertical">
100
                        <!--<TextBlock Text="Symbol" FontSize="15"/>-->
101
                        <Grid Margin="0,10">
102
                            <Grid.ColumnDefinitions>
103
                                <ColumnDefinition Width="1*"/>
104
                                <ColumnDefinition Width="3*"/>
105
                            </Grid.ColumnDefinitions>
106
                            <!--<Button Content="Register" Grid.Column="1" Click="Create_Symbol" Margin="5,0,0,0" FontWeight="Normal" Padding="5" Background="#3d3d3d" Foreground="White"/>
107
                            <Button Content="Rename" Grid.Column="2" Click="Rename_Symbol" Margin="5,0,0,0" FontWeight="Normal" Padding="5" Background="#3d3d3d" Foreground="White"/>
108
                            <Button Content="Remove" Grid.Column="3" Click="Remove_Symbol" Margin="5,0,0,0" FontWeight="Normal" Padding="5"  Background="#3d3d3d" Foreground="White"/>-->
109

  
110
                            <!--<Button Content="Register" Grid.Column="1" Click="Create_Symbol" Margin="5,0,0,0" Padding="5" Background="#3d3d3d" Foreground="White"/>
111
                            <Button Content="Rename" Grid.Column="2" Click="Rename_Symbol" Margin="5,0,0,0" Padding="5" Background="#3d3d3d" Foreground="White"/>
112
                            <Button Content="Remove" Grid.Column="3" Click="Remove_Symbol" Margin="5,0,0,0" Padding="5"  Background="#3d3d3d" Foreground="White"/>-->
113
                            <TextBlock VerticalAlignment="Center">Department</TextBlock>
114
                            <telerik:RadComboBox EmptyText="ALL" Grid.Column="1"  HorizontalAlignment="Stretch" Margin="5" DropDownWidth="*" Background="White" BorderBrush="#d6d6d6" x:Name="deptlist"
115
                                                  ClearSelectionButtonVisibility="Visible" ClearSelectionButtonContent="Show All" SelectionChanged="deptlist_SelectionChanged"/>
116

  
117
                        </Grid>
118
                        <TextBlock Text="[Tip : Double Click]" FontSize="10" HorizontalAlignment="Right"/>
119
                    </StackPanel>
120
                    <ScrollViewer x:Name="ScView_Public" Grid.Row="1" >
121
                        <ListBox x:Name="lstSymbolPublic" Background="#f5f5f5" FontWeight="Normal" ItemTemplate="{StaticResource SymbolTemplate_Private}" MouseDoubleClick="Move_Symbol" PreviewMouseWheel ="lstSymbolPublic_PreviewMouseWheel">
122
                            <telerik:ListBoxDragDrop.Behavior>
123
                                <telerik:ListBoxDragDropBehavior AllowReorder="True" />
124
                            </telerik:ListBoxDragDrop.Behavior>
125
                            <!--<ListBox.ItemsPanel>
126
                    <ItemsPanelTemplate>
127
                        <WrapPanel:WrapPanel />
128
                    </ItemsPanelTemplate>
129
                </ListBox.ItemsPanel>-->
130
                            <!--<telerik:ListBoxDragDrop></telerik:ListBoxDragDrop>-->
131
                        </ListBox>
132
                    </ScrollViewer>
133
                </Grid>
134
            </telerik:RadTabItem>
135
        </telerik:RadTabControl>
64 136
    </Grid>
65 137
</UserControl>

내보내기 Unified diff

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