|
@@ -1,21 +1,25 @@
|
|
|
-<UserControl x:Class="HistoryWallEditTool.HistoryWall"
|
|
|
- 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:HistoryWallEditTool"
|
|
|
- xmlns:mui="http://firstfloorsoftware.com/ModernUI"
|
|
|
- x:Name="uxMainWindow"
|
|
|
- MouseDown="uxMainWindow_MouseDown"
|
|
|
- MouseUp="uxMainWindow_MouseUp" >
|
|
|
-
|
|
|
- <Grid Width="1920" >
|
|
|
- <Grid>
|
|
|
- <Grid.RowDefinitions>
|
|
|
- <RowDefinition Height="101*"/>
|
|
|
- <RowDefinition Height="34*"/>
|
|
|
- </Grid.RowDefinitions>
|
|
|
- <Grid Width="1920" Margin="0,10,0,-10" Grid.RowSpan="2">
|
|
|
+<UserControl
|
|
|
+ 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:local="clr-namespace:HistoryWallEditTool"
|
|
|
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
+ xmlns:mui="http://firstfloorsoftware.com/ModernUI"
|
|
|
+ x:Name="uxMainWindow"
|
|
|
+ MouseDown="uxMainWindow_MouseDown"
|
|
|
+ MouseUp="uxMainWindow_MouseUp"
|
|
|
+ x:Class="HistoryWallEditTool.HistoryWall">
|
|
|
+
|
|
|
+ <Grid Width="1920">
|
|
|
+ <Grid>
|
|
|
+ <Grid.RowDefinitions>
|
|
|
+ <RowDefinition Height="101*" />
|
|
|
+ <RowDefinition Height="34*" />
|
|
|
+ </Grid.RowDefinitions>
|
|
|
+ <Grid
|
|
|
+ Grid.RowSpan="2"
|
|
|
+ Width="1920"
|
|
|
+ Margin="0,10,0,-10">
|
|
|
<Grid.RowDefinitions>
|
|
|
<RowDefinition Height="104*" />
|
|
|
<RowDefinition Height="844*" />
|
|
@@ -26,82 +30,162 @@
|
|
|
</Grid.Background>
|
|
|
|
|
|
<Grid Grid.Row="0" VerticalAlignment="Center">
|
|
|
- <RadioButton x:Name="uxDisplaySettingBtn" Width="238" Height="65"
|
|
|
- Content="{DynamicResource displaysetting}" Style="{StaticResource uxTopRadioButton}"
|
|
|
- VerticalAlignment="Top" HorizontalAlignment="Left" Margin="660,10,0,0"
|
|
|
- Checked="uxDisplaySettingBtn_Checked"/>
|
|
|
- <RadioButton x:Name="uxDataSettingBtn" Width="238" Height="65"
|
|
|
- Content="{DynamicResource datasetting}"
|
|
|
- Style="{StaticResource uxTopRadioButton}"
|
|
|
- VerticalAlignment="Top" HorizontalAlignment="Left" Margin="920,10,0,0"
|
|
|
- Checked="uxDataSettingBtn_Checked" />
|
|
|
- <RadioButton x:Name="uxLaunchBtn" Width="238" Height="65" Content="{DynamicResource launchhistorywall}"
|
|
|
- Style="{StaticResource uxTopRadioButton}" Visibility="Collapsed"
|
|
|
- VerticalAlignment="Top" HorizontalAlignment="Left" Margin="1050,10,0,0"
|
|
|
- Checked="uxLaunchBtn_Checked" />
|
|
|
+ <RadioButton
|
|
|
+ x:Name="uxDisplaySettingBtn"
|
|
|
+ Width="238"
|
|
|
+ Height="65"
|
|
|
+ Margin="660,10,0,0"
|
|
|
+ HorizontalAlignment="Left"
|
|
|
+ VerticalAlignment="Top"
|
|
|
+ Checked="uxDisplaySettingBtn_Checked"
|
|
|
+ Content="{DynamicResource displaysetting}"
|
|
|
+ Style="{StaticResource uxTopRadioButton}" />
|
|
|
+ <RadioButton
|
|
|
+ x:Name="uxDataSettingBtn"
|
|
|
+ Width="238"
|
|
|
+ Height="65"
|
|
|
+ Margin="920,10,0,0"
|
|
|
+ HorizontalAlignment="Left"
|
|
|
+ VerticalAlignment="Top"
|
|
|
+ Checked="uxDataSettingBtn_Checked"
|
|
|
+ Content="{DynamicResource datasetting}"
|
|
|
+ Style="{StaticResource uxTopRadioButton}" />
|
|
|
+ <RadioButton
|
|
|
+ x:Name="uxLaunchBtn"
|
|
|
+ Width="238"
|
|
|
+ Height="65"
|
|
|
+ Margin="1050,10,0,0"
|
|
|
+ HorizontalAlignment="Left"
|
|
|
+ VerticalAlignment="Top"
|
|
|
+ Checked="uxLaunchBtn_Checked"
|
|
|
+ Content="{DynamicResource launchhistorywall}"
|
|
|
+ Style="{StaticResource uxTopRadioButton}"
|
|
|
+ Visibility="Collapsed" />
|
|
|
|
|
|
- <!--切換時間軸與分類軸-->
|
|
|
+ <!-- 切換時間軸與分類軸 -->
|
|
|
<!--<StackPanel VerticalAlignment="Top" HorizontalAlignment="Left" Orientation="Vertical" Width="100" Height="60" Margin="1300,34,0,0">
|
|
|
- <RadioButton x:Name="uxTimelineChk" Tag="TimeLine" Checked="uxlineChk_Checked" Height="26"
|
|
|
- Content="{DynamicResource timeline}" Style="{StaticResource uxTimelineRadioButton}" VerticalAlignment="Top"
|
|
|
+ <RadioButton x:Name="uxTimelineChk" Tag="TimeLine" Checked="uxlineChk_Checked" Height="26"
|
|
|
+ Content="{DynamicResource timeline}" Style="{StaticResource uxTimelineRadioButton}" VerticalAlignment="Top"
|
|
|
HorizontalAlignment="Left" Margin="0,2,0,5" />
|
|
|
- <RadioButton x:Name="uxClasslineChk" Tag="ClassLine" Checked="uxlineChk_Checked" Height="26"
|
|
|
- Content="{DynamicResource classline}" Style="{StaticResource uxTimelineRadioButton}" VerticalAlignment="Top"
|
|
|
+ <RadioButton x:Name="uxClasslineChk" Tag="ClassLine" Checked="uxlineChk_Checked" Height="26"
|
|
|
+ Content="{DynamicResource classline}" Style="{StaticResource uxTimelineRadioButton}" VerticalAlignment="Top"
|
|
|
HorizontalAlignment="Left" />
|
|
|
</StackPanel>-->
|
|
|
- <!--切換時間軸與分類軸 end-->
|
|
|
+ <!-- 切換時間軸與分類軸 end -->
|
|
|
|
|
|
- <!--視窗關閉與最小化-->
|
|
|
+ <!-- 視窗關閉與最小化 -->
|
|
|
<!--
|
|
|
<Button x:Name="uxWinCloseBtn" Style="{StaticResource uxWindow_Close}" Width="50" Height="50" Margin="1810,38,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" ToolTip="{DynamicResource winclose}" Click="uxWinCloseBtn_Click"></Button>
|
|
|
<Button x:Name="uxWinMiniBtn" Style="{StaticResource uxWindow_Miniscreen}" Width="50" Height="50" Margin="1735,38,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" ToolTip="{DynamicResource winmini}" Click="uxWinMiniBtn_Click"></Button>
|
|
|
-->
|
|
|
- <!--視窗關閉與最小化 end-->
|
|
|
+ <!-- 視窗關閉與最小化 end -->
|
|
|
|
|
|
- <!--切換顯示語系-->
|
|
|
- <StackPanel VerticalAlignment="Top" HorizontalAlignment="Left" Orientation="Vertical" Margin="1297,23,0,0" Visibility="Collapsed">
|
|
|
- <RadioButton x:Name="uxLangChi" Width="110" Tag="zh-TW" Height="40" Content="{DynamicResource languagechi}" Style="{StaticResource uxTimelineRadioButton}" Checked="SysLanChange_Checked"/>
|
|
|
- <RadioButton x:Name="uxLangEng" Width="110" Tag="en-US" Height="40" Content="{DynamicResource languageeng}" Style="{StaticResource uxTimelineRadioButton}" Checked="SysLanChange_Checked"/>
|
|
|
+ <!-- 切換顯示語系 -->
|
|
|
+ <StackPanel
|
|
|
+ Margin="1297,23,0,0"
|
|
|
+ HorizontalAlignment="Left"
|
|
|
+ VerticalAlignment="Top"
|
|
|
+ Orientation="Vertical"
|
|
|
+ Visibility="Collapsed">
|
|
|
+ <RadioButton
|
|
|
+ x:Name="uxLangChi"
|
|
|
+ Width="110"
|
|
|
+ Height="40"
|
|
|
+ Checked="SysLanChange_Checked"
|
|
|
+ Content="{DynamicResource languagechi}"
|
|
|
+ Style="{StaticResource uxTimelineRadioButton}"
|
|
|
+ Tag="zh-TW" />
|
|
|
+ <RadioButton
|
|
|
+ x:Name="uxLangEng"
|
|
|
+ Width="110"
|
|
|
+ Height="40"
|
|
|
+ Checked="SysLanChange_Checked"
|
|
|
+ Content="{DynamicResource languageeng}"
|
|
|
+ Style="{StaticResource uxTimelineRadioButton}"
|
|
|
+ Tag="en-US" />
|
|
|
</StackPanel>
|
|
|
- <!--切換顯示語系 end-->
|
|
|
+ <!-- 切換顯示語系 end -->
|
|
|
|
|
|
- <!--切換要設定歷史牆的語系-->
|
|
|
- <!--Margin="659,101,0,0"-->
|
|
|
- <StackPanel x:Name="LanInfo" VerticalAlignment="Top" HorizontalAlignment="Left" Orientation="Horizontal" Margin="1297,23,0,0"
|
|
|
- >
|
|
|
- <RadioButton x:Name="uxLangOne" Width="110" Height="40"
|
|
|
- Style="{StaticResource uxTopRadioButton}" Tag="EventLangOne"
|
|
|
- Checked="HisEventLanChange_Checked" Visibility="Visible" />
|
|
|
- <RadioButton x:Name="uxLangTwo" Width="110" Height="40"
|
|
|
- Style="{StaticResource uxTopRadioButton}" Margin="20,0,0,0" Tag="EventLangTwo"
|
|
|
- Checked="HisEventLanChange_Checked" Visibility="Visible"/>
|
|
|
- <RadioButton x:Name="uxLangThree" Width="110" Height="40"
|
|
|
- Style="{StaticResource uxTopRadioButton}" Margin="20,0,0,0" Tag="EventLangThree"
|
|
|
- Checked="HisEventLanChange_Checked" Visibility="Collapsed"/>
|
|
|
- <RadioButton x:Name="uxLangFour" Width="110" Height="40"
|
|
|
- Style="{StaticResource uxTopRadioButton}" Margin="20,0,0,0" Tag="EventLangFour"
|
|
|
- Checked="HisEventLanChange_Checked" Visibility="Collapsed"/>
|
|
|
+ <!-- 切換要設定歷史牆的語系 -->
|
|
|
+ <!-- Margin="659,101,0,0" -->
|
|
|
+ <StackPanel
|
|
|
+ x:Name="LanInfo"
|
|
|
+ Margin="1297,23,0,0"
|
|
|
+ HorizontalAlignment="Left"
|
|
|
+ VerticalAlignment="Top"
|
|
|
+ Orientation="Horizontal"
|
|
|
+ Visibility="Collapsed">
|
|
|
+ <RadioButton
|
|
|
+ x:Name="uxLangOne"
|
|
|
+ Width="110"
|
|
|
+ Height="40"
|
|
|
+ Checked="HisEventLanChange_Checked"
|
|
|
+ Style="{StaticResource uxTopRadioButton}"
|
|
|
+ Tag="EventLangOne"
|
|
|
+ Visibility="Visible" />
|
|
|
+ <RadioButton
|
|
|
+ x:Name="uxLangTwo"
|
|
|
+ Width="110"
|
|
|
+ Height="40"
|
|
|
+ Margin="20,0,0,0"
|
|
|
+ Checked="HisEventLanChange_Checked"
|
|
|
+ Style="{StaticResource uxTopRadioButton}"
|
|
|
+ Tag="EventLangTwo"
|
|
|
+ Visibility="Visible" />
|
|
|
+ <RadioButton
|
|
|
+ x:Name="uxLangThree"
|
|
|
+ Width="110"
|
|
|
+ Height="40"
|
|
|
+ Margin="20,0,0,0"
|
|
|
+ Checked="HisEventLanChange_Checked"
|
|
|
+ Style="{StaticResource uxTopRadioButton}"
|
|
|
+ Tag="EventLangThree"
|
|
|
+ Visibility="Collapsed" />
|
|
|
+ <RadioButton
|
|
|
+ x:Name="uxLangFour"
|
|
|
+ Width="110"
|
|
|
+ Height="40"
|
|
|
+ Margin="20,0,0,0"
|
|
|
+ Checked="HisEventLanChange_Checked"
|
|
|
+ Style="{StaticResource uxTopRadioButton}"
|
|
|
+ Tag="EventLangFour"
|
|
|
+ Visibility="Collapsed" />
|
|
|
</StackPanel>
|
|
|
- <!--切換要設定歷史牆的語系 end-->
|
|
|
+ <!-- 切換要設定歷史牆的語系 end -->
|
|
|
|
|
|
- <StackPanel VerticalAlignment="Top" HorizontalAlignment="Left" Margin="1297,0,0,0" Orientation="Horizontal">
|
|
|
+ <StackPanel
|
|
|
+ Margin="1297,0,0,0"
|
|
|
+ HorizontalAlignment="Left"
|
|
|
+ VerticalAlignment="Top"
|
|
|
+ Orientation="Horizontal"
|
|
|
+ Visibility="Collapsed">
|
|
|
<TextBlock Text="選擇顯示語系進行編輯:" />
|
|
|
- <Rectangle Width="20"/>
|
|
|
+ <Rectangle Width="20" />
|
|
|
<TextBlock Text="(資料個數與事件多媒體為同步)" Foreground="Red" />
|
|
|
</StackPanel>
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
- <Grid x:Name="uxContainer" Grid.Row="1" HorizontalAlignment="Center">
|
|
|
-
|
|
|
- </Grid>
|
|
|
+ <Grid
|
|
|
+ x:Name="uxContainer"
|
|
|
+ Grid.Row="1"
|
|
|
+ HorizontalAlignment="Center" />
|
|
|
|
|
|
</Grid>
|
|
|
- <Grid x:Name="uxDataUpdateGd" Background="#AA000000" Visibility="Collapsed" Grid.RowSpan="2">
|
|
|
- <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="48" Foreground="White" Text="{DynamicResource dataUpgrade}"></TextBlock>
|
|
|
- </Grid>
|
|
|
+ <Grid
|
|
|
+ x:Name="uxDataUpdateGd"
|
|
|
+ Grid.RowSpan="2"
|
|
|
+ Background="#AA000000"
|
|
|
+ Visibility="Collapsed">
|
|
|
+ <TextBlock
|
|
|
+ HorizontalAlignment="Center"
|
|
|
+ VerticalAlignment="Center"
|
|
|
+ Text="{DynamicResource dataUpgrade}"
|
|
|
+ FontSize="48"
|
|
|
+ Foreground="White" />
|
|
|
</Grid>
|
|
|
-
|
|
|
</Grid>
|
|
|
-
|
|
|
+
|
|
|
+ </Grid>
|
|
|
+
|
|
|
</UserControl>
|