프로젝트

일반

사용자정보

개정판 1c7f408a

ID1c7f408ad2bb4679a5dd52e4bc7b7388ffba0ad1
상위 2b83fdb9
하위 60f874fe

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

mainWindow를 RadWindow로 변경

Change-Id: I0ac468f572b53cd39e832aed20e7d350b5c03d42

차이점 보기:

KCOM/MainWindow.xaml
1
<Window x:Class="KCOM.MainWindow"
1
<telerik:RadWindow x:Class="KCOM.MainWindow"
2 2
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3 3
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4 4
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
......
7 7
        xmlns:control="clr-namespace:KCOM.Controls"
8 8
        xmlns:view="clr-namespace:KCOM.Views"
9 9
        mc:Ignorable="d" 
10
        WindowStyle="None" WindowStartupLocation="CenterScreen" ResizeMode="CanResizeWithGrip" AllowsTransparency="True"
10
        d:DesignHeight="800" d:DesignWidth="1600"
11
		xmlns:navigation="clr-namespace:Telerik.Windows.Controls.Navigation;assembly=Telerik.Windows.Controls.Navigation"
12
        WindowStartupLocation="CenterScreen"
13
        navigation:RadWindowInteropHelper.ShowInTaskbar="True"
14
        Style="{StaticResource MainWindowStyle}" BorderBrush="#FF007ACC"
15
		navigation:RadWindowInteropHelper.Icon="markup.ico"
11 16
        Background="{DynamicResource KCOMColor_TopMenubackgroundBrush}"
12
        Title="MARKUS" >
13
    <Window.Resources>
17
        Header="MARKUS" Foreground="White" >
18
    <telerik:RadWindow.Resources>
14 19
        <Style x:Key="NoMarginGrid" TargetType="{x:Type Grid}">
15 20
            <Setter Property="Margin" Value="5,5,5,5"/>
16 21
        </Style>
17
    </Window.Resources>
22
    </telerik:RadWindow.Resources>
18 23
    <Grid Style="{StaticResource NoMarginGrid}">
19 24
        <Grid.RowDefinitions>
20 25
            <RowDefinition Height="Auto"/>
......
22 27
            <RowDefinition Height="Auto"/>
23 28
            <RowDefinition Height="*"/>
24 29
        </Grid.RowDefinitions>
25
        <Border VerticalAlignment="Stretch" MouseLeftButtonDown="WindowDragEvent" Background="{DynamicResource KCOMColor_TopMenubackgroundBrush}"
30
        <!--<Border VerticalAlignment="Stretch" MouseLeftButtonDown="WindowDragEvent" Background="{DynamicResource KCOMColor_TopMenubackgroundBrush}"
26 31
                MouseLeftButtonUp="WindowDragEventUp" MouseMove="WindowDragEventMove">
27 32
            <Grid>
28
                <!--<StackPanel Orientation="Horizontal" Opacity="0.6" Margin="5,0" Visibility="Collapsed">
33
                <StackPanel Orientation="Horizontal" Opacity="0.6" Margin="5,0" Visibility="Collapsed">
29 34
                    <telerik:RadRibbonButton SmallImage="/KCOM;component/Resources/Images/MenuImage/save.png" telerik:StyleManager.Theme="Office2016"/>
30 35
                    <telerik:RadRibbonButton SmallImage="/KCOM;component/Resources/Images/MenuImage/printer.png" telerik:StyleManager.Theme="Office2016"/>
31 36
                    <telerik:RadRibbonButton SmallImage="/KCOM;component/Resources/Images/MenuImage/pdf.png" telerik:StyleManager.Theme="Office2016"/>
32 37
                    <telerik:RadRibbonButton SmallImage="/KCOM;component/Resources/Images/MenuImage/undo.png" telerik:StyleManager.Theme="Office2016"/>
33 38
                    <telerik:RadRibbonButton SmallImage="/KCOM;component/Resources/Images/MenuImage/redo.png" telerik:StyleManager.Theme="Office2016"/>
34
                </StackPanel>-->
39
                </StackPanel>
35 40
                <TextBlock Text="MARKUS" Foreground="White" Margin="355,0,355,4" HorizontalAlignment="Center" VerticalAlignment="Bottom" x:Name="TitleText"/>
36 41
                <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" VerticalAlignment="Stretch">
37 42
                    <Image Visibility="Visible" Source="/KCOM;component/Resources/Images/MenuImage_New/minimize-window.png" Width="24" Height="24" MouseDown="WinState" x:Name="Win_min"/>
......
39 44
                    <Image Visibility="Visible" Source="/KCOM;component/Resources/Images/MenuImage_New/close-window.png" Width="24" Height="24" MouseDown="WinState" x:Name="Win_Close"/>
40 45
                </StackPanel>
41 46
            </Grid>
42
        </Border>
47
        </Border>-->
43 48
        <view:TopMenu x:Name="dzTopMenu" Grid.Row="1" VerticalAlignment="Top"/>
44 49
        <view:MainMenu x:Name="dzMainMenu" Grid.Row="3" VerticalAlignment="Stretch"/>
45 50
        <Border Grid.Row="2" Background="#f1f1f1" MinHeight="30" Visibility="Collapsed">
......
55 60
            </StackPanel>
56 61
        </Border>
57 62
    </Grid>
58
</Window>
63
</telerik:RadWindow>

내보내기 Unified diff

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