프로젝트

일반

사용자정보

개정판 31f18afa

ID31f18afacda68ba60d95e5211f566ee21ddeb222
상위 266a2d4f
하위 bfc43b61, b92f142f

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

wcfClient App.config 추가

Change-Id: I12e683c43054cfac58bd8476d36f3dd16e3b670b

차이점 보기:

ConvertService/ServiceBase/Markus.Service.StationController/MainWindow.xaml
2 2
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
3 3
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4 4
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5
        xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
6 5
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
7
        xmlns:mvvmToolkit="clr-namespace:Markus.Mvvm.ToolKit;assembly=Markus.Mvvm.ToolKit"
8
        TextElement.Foreground="{DynamicResource MaterialDesignBody}"
9
        mc:Ignorable="d"
6
         xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
7
        mc:Ignorable="d" d:DataContext="{d:DesignInstance vm:MainViewModel, IsDesignTimeCreatable=true}"
10 8
        xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
11 9
        xmlns:vm="clr-namespace:Markus.Service.StationController.ViewModel"
10
        xmlns:packIcon="clr-namespace:Markus.Mvvm.ToolKit.PackIcon;assembly=Markus.Mvvm.ToolKit"
12 11
        xmlns:localData="clr-namespace:Markus.Service.StationController.Data"
13
        Title="Markus Convert Service" Height="450" Width="800" Foreground="{DynamicResource {x:Static SystemColors.MenuHighlightBrushKey}}">
12
        Title="Markus Convert Service" Height="450" Width="800"  d:DesignHeight="450" d:DesignWidth="800">
13
    <Window.Background>
14
        <ImageBrush/>
15
    </Window.Background>
14 16
    <i:Interaction.Triggers>
15 17
        <i:EventTrigger  EventName="Loaded">
16 18
            <i:InvokeCommandAction Command="{Binding LoadedCommand}"/>
......
22 24
    <Window.DataContext>
23 25
        <vm:MainViewModel/>
24 26
    </Window.DataContext>
25
    <materialDesign:DialogHost x:Name="m_dialogHost" Identifier="dialogHost">
26
        <materialDesign:DrawerHost IsLeftDrawerOpen="{Binding ElementName=MenuToggleButton, Path=IsChecked}">
27
            <materialDesign:DrawerHost.LeftDrawerContent>
28
                <DockPanel MinWidth="212">
29
                    <ToggleButton Style="{StaticResource MaterialDesignHamburgerToggleButton}" 
30
                                    DockPanel.Dock="Top"
31
                                    HorizontalAlignment="Right" Margin="16"
32
                                    IsChecked="{Binding ElementName=MenuToggleButton, Path=IsChecked, Mode=TwoWay}" />
33
                    <ListBox x:Name="MenuListBox" Margin="0 16 0 16" SelectedIndex="0"                     
34
                             ItemsSource="{Binding NavigationItems}" SelectedItem="{Binding SelectNavigationItem}">
35
                        <i:Interaction.Triggers>
36
                            <i:EventTrigger  EventName="PreviewMouseLeftButtonUp">
37
                                <i:InvokeCommandAction Command="{Binding ListboxItemMouseUpCommand}"/>
38
                            </i:EventTrigger>
39
                        </i:Interaction.Triggers>
40
                        <ListBox.ItemTemplate>
41
                            <DataTemplate DataType="localData:NavigationItem">
42
                                <TextBlock Text="{Binding Name}" Margin="32 0 32 0" />
43
                            </DataTemplate>
44
                        </ListBox.ItemTemplate>
45
                    </ListBox>
46
                </DockPanel>
47
            </materialDesign:DrawerHost.LeftDrawerContent>
27
    <Grid>
28
        <Grid>
29
            <Grid.RowDefinitions>
30
                <RowDefinition Height="Auto"/>
31
                <RowDefinition/>
32
            </Grid.RowDefinitions>
48 33
            <Grid>
49
                <Grid.RowDefinitions>
50
                    <RowDefinition Height="Auto"/>
51
                    <RowDefinition/>
52
                </Grid.RowDefinitions>
53
                    <materialDesign:ColorZone Padding="16" materialDesign:ShadowAssist.ShadowDepth="Depth2"
54
                                            Mode="PrimaryMid">
55
                    <DockPanel>
56
                        <ToggleButton Style="{StaticResource MaterialDesignHamburgerToggleButton}" IsChecked="{Binding IsMenuOpen}"
57
                                        x:Name="MenuToggleButton"/>
58
                        <Grid>
59
                            <Grid.ColumnDefinitions>
60
                                <ColumnDefinition Width="Auto"/>
61
                                <ColumnDefinition/>
62
                            </Grid.ColumnDefinitions>
63
                            <TextBlock  Style="{StaticResource MaterialDesignSubheadingTextBlock}" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,0,0,0" >Markus Convert Management</TextBlock>
64
                            <TextBlock Grid.Column="1" VerticalAlignment="Center" HorizontalAlignment="Center"
65
                                        Text="{Binding SelectNavigationItem.Description}"
66
                                       Style="{StaticResource MaterialDesignDisplay1TextBlock}"/>
67
                        </Grid>
68
                    </DockPanel>
69
                </materialDesign:ColorZone>
70
                <Grid Grid.Row="1">
71
                    <Grid.RowDefinitions>
72
                        <RowDefinition Height="Auto" />
73
                        <RowDefinition Height="*" />
74
                    </Grid.RowDefinitions>
75
                    <ScrollViewer Grid.Row="1" 
76
                                  HorizontalScrollBarVisibility="Auto"
77
                                  VerticalScrollBarVisibility="Auto">
78
                        <ContentControl Content="{Binding SelectNavigationItem.Content}"/>
79
                    </ScrollViewer>
80
                </Grid>
34
                <Grid.ColumnDefinitions>
35
                    <ColumnDefinition Width="Auto"/>
36
                    <ColumnDefinition Width="Auto"/>
37
                    <ColumnDefinition/>
38
                </Grid.ColumnDefinitions>
39
                <telerik:RadToggleButton IsThreeState="False" Width="50">
40
                    <telerik:RadToggleButton.Content>
41
                        <packIcon:PackIcon Kind="Bike"/>
42
                    </telerik:RadToggleButton.Content>
43
                    <telerik:RadToggleButton.Style>
44
                        <Style TargetType="telerik:RadToggleButton">
45
                            <Setter Property="telerik:StyleManager.Theme" Value="{x:Null}"/>
46
                            <Setter Property="Background" Value="Transparent"/>
47
                            <Setter Property="BorderThickness" Value="0"/>
48
                            <Style.Triggers>
49
                                <DataTrigger Binding="{Binding IsChecked}" Value="false">
50
                                    <Setter Property="Content" Value="Menu"/>
51
                                </DataTrigger>
52
                                <DataTrigger Binding="{Binding IsChecked}" Value="true">
53
                                    <Setter Property="Content" Value="close"/>
54
                                </DataTrigger>
55
                            </Style.Triggers>
56
                        </Style>
57
                    </telerik:RadToggleButton.Style>
58
                </telerik:RadToggleButton>
59
                <TextBlock  Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="10,0,0,0" Style="{StaticResource TitleTextBoxStyle}" >Markus Convert Management</TextBlock>
60
                <TextBlock Grid.Column="2" VerticalAlignment="Center" HorizontalAlignment="Center"
61
                                            Text="{Binding SelectNavigationItem.Description}"/>
81 62
            </Grid>
82
        </materialDesign:DrawerHost>
83
    </materialDesign:DialogHost>
84
</Window>
63
            <ContentControl Grid.Row="1" Content="{Binding SelectNavigationItem.Content}"/>
64
            <Grid/>
65
        </Grid>
66
        <Grid Background="#807A7A7A">
67
            <Grid.ColumnDefinitions>
68
                <ColumnDefinition Width="Auto"/>
69
                <ColumnDefinition Width="*"/>
70
            </Grid.ColumnDefinitions>
71
            <telerik:RadListBox/>
72
        </Grid>
73
    </Grid>
74
</Window>
75
    

내보내기 Unified diff

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