Bläddra i källkod

Modify preferences

+ Modifed related backgrounds
+ Modified loading page
- Removed old resources
ZhuYifan 5 år sedan
förälder
incheckning
f83b883eb6

+ 1 - 1
WpfTest1/App.xaml.cs

@@ -15,7 +15,7 @@ namespace WpfTest1
     {
     {
         protected override void OnStartup(StartupEventArgs e)
         protected override void OnStartup(StartupEventArgs e)
         {
         {
-            SplashScreen s = new SplashScreen("Resources/load.jpg");
+            SplashScreen s = new SplashScreen("Resources/jdmedlogo.jpg");
             s.Show(false);
             s.Show(false);
             s.Close(new TimeSpan(0, 0, 1));
             s.Close(new TimeSpan(0, 0, 1));
             base.OnStartup(e);
             base.OnStartup(e);

+ 5 - 3
WpfTest1/MainWindow.xaml

@@ -180,7 +180,8 @@
                             </DataTemplate>
                             </DataTemplate>
                         </Button.ContentTemplate>
                         </Button.ContentTemplate>
                     </Button>
                     </Button>
-                    <Label x:Name="labelHomepageCversion" Content="编译版本:20200301" HorizontalAlignment="Left" Margin="594,109,0,0" VerticalAlignment="Top" Foreground="White"/>
+                    <Label x:Name="labelSoftwareName" Content="欢迎使用劳拉" FontSize="32" HorizontalAlignment="Center" Margin="0,61,0,0" VerticalAlignment="Top" Foreground="White"/>
+                    <Label x:Name="labelHomepageCversion" Content="编译版本:20200301" HorizontalAlignment="Center" Margin="0,109,0,0" VerticalAlignment="Top" Foreground="White"/>
                 </Grid>
                 </Grid>
             </TabItem>
             </TabItem>
             <TabItem Header="用户管理" Style="{StaticResource smallHeader}" >
             <TabItem Header="用户管理" Style="{StaticResource smallHeader}" >
@@ -196,7 +197,7 @@
                 </TabControl>
                 </TabControl>
             </TabItem>
             </TabItem>
             <!--快筛-->
             <!--快筛-->
-            <TabItem Header="筛查" Style="{StaticResource smallHeader}" >
+            <TabItem Header="快速筛查" Style="{StaticResource smallHeader}" >
                 <TabControl x:Name="tabFilter" HorizontalAlignment="Left" Height="645" Width="1338" Margin="10,-5,0,0" VerticalAlignment="Top" >
                 <TabControl x:Name="tabFilter" HorizontalAlignment="Left" Height="645" Width="1338" Margin="10,-5,0,0" VerticalAlignment="Top" >
                     <TabItem  Header="选择用户" Style="{StaticResource smallerHeader}"  IsEnabled="False" >
                     <TabItem  Header="选择用户" Style="{StaticResource smallerHeader}"  IsEnabled="False" >
                         <Grid Background="White" Margin="0,0,0,0">
                         <Grid Background="White" Margin="0,0,0,0">
@@ -231,7 +232,7 @@
 
 
             </TabItem>
             </TabItem>
             <!--评估-->
             <!--评估-->
-            <TabItem Header="评估" Style="{StaticResource smallHeader}" >
+            <TabItem Header="详细评估" Style="{StaticResource smallHeader}" >
                 <TabControl x:Name="tabEvaluation" HorizontalAlignment="Left" Height="645" Width="1338" Margin="10,-5,0,0" VerticalAlignment="Top" >
                 <TabControl x:Name="tabEvaluation" HorizontalAlignment="Left" Height="645" Width="1338" Margin="10,-5,0,0" VerticalAlignment="Top" >
                     <TabItem  Header="选择用户" Style="{StaticResource smallerHeader}"  IsEnabled="False" >
                     <TabItem  Header="选择用户" Style="{StaticResource smallerHeader}"  IsEnabled="False" >
                         <Grid Background="White" Margin="0,0,0,0">
                         <Grid Background="White" Margin="0,0,0,0">
@@ -337,6 +338,7 @@
                     </TabItem>
                     </TabItem>
                 </TabControl>
                 </TabControl>
             </TabItem>
             </TabItem>
+            
 
 
 
 
         </TabControl>
         </TabControl>

+ 3 - 1
WpfTest1/MainWindow.xaml.cs

@@ -83,7 +83,9 @@ namespace WpfTest1
             loadQuestionaire(filterQuestionaire, "filter");
             loadQuestionaire(filterQuestionaire, "filter");
             loadQuestionaire(evaluationQuestionaire, "evaluation");
             loadQuestionaire(evaluationQuestionaire, "evaluation");
             labelHomepageCversion.Content = "编译日期:" + Toolkits.Constants.compileDate;
             labelHomepageCversion.Content = "编译日期:" + Toolkits.Constants.compileDate;
-            
+            labelSoftwareName.Content = String.Format("欢迎使用{0}", Constants.softwareName);
+
+
         }
         }
 
 
         private void loadQuestionaire(List<QuestionAnswerPair> oneQuestionaire, string type = "filter")
         private void loadQuestionaire(List<QuestionAnswerPair> oneQuestionaire, string type = "filter")

BIN
WpfTest1/Resources/RPStandard.jpg


BIN
WpfTest1/Resources/homepage - 副本.jpg


BIN
WpfTest1/Resources/homepage.jpg


BIN
WpfTest1/Resources/jdmed_logo.ico


BIN
WpfTest1/Resources/jdmedlogo.jpg


BIN
WpfTest1/Resources/load_1.jpg


BIN
WpfTest1/Resources/loginpage_1.jpg


+ 0 - 4
WpfTest1/Resources/pubkey.xml

@@ -1,4 +0,0 @@
-<RSAKeyValue>
-  <Modulus>xurCz3Zxeb0AqCtkMqlVYdWDlCuVyDp7HoKlSHeyhpsUWAu6hcS8gnaOofe9jQb7C7V1GszlY8QuN8GRUusHuXOOvQq3H6ZRNQ+OEynz/g3caD6aqbbzi0J179EcUiddocuSRxveQVJ8F6SlT1us2+lEumrWej9imgsU3+NVDTE=</Modulus>
-  <Exponent>AQAB</Exponent>
-</RSAKeyValue>

+ 0 - 0
WpfTest1/Resources/load.jpg → WpfTest1/Resources/template.jpg


+ 4 - 4
WpfTest1/SmallDialogs/AboutBox.xaml

@@ -7,16 +7,16 @@
         mc:Ignorable="d"
         mc:Ignorable="d"
         Title="关于" Height="300" Width="400">
         Title="关于" Height="300" Width="400">
     <Grid>
     <Grid>
-        <Label x:Name="label" Content="关于系统" FontSize="18" HorizontalAlignment="Left" Margin="156,5,0,0" VerticalAlignment="Top"/>
+        <Label x:Name="labelTitle" Content="关于系统" FontSize="18" HorizontalAlignment="Center" Margin="0,5,0,0" VerticalAlignment="Top"/>
         
         
-        <Label x:Name="label1" Content="北京君德医疗有限公司  版权所有© 2006-2020" HorizontalAlignment="Left" Margin="69,33,0,0" VerticalAlignment="Top"/>
-        <TextBlock x:Name="textBlock" HorizontalAlignment="Left" Margin="29,63,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="344">
+        <Label x:Name="label1" Content="北京君德医疗设备有限公司  版权所有© 2006-2020" HorizontalAlignment="Center" Margin="0,33,0,0" VerticalAlignment="Top"/>
+        <TextBlock x:Name="textBlock" HorizontalAlignment="Center" Margin="0,63,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="344">
              &#x0020;&#x0020;&#x0020;&#x0020;君德集团是集医疗器械研发生产、医疗器械销售、康复中心整体解决方案、妇幼关爱解决方案为一体的综合医疗服务商。君德医疗秉承"让科技温暖生命"的理念,提供更具人文关怀的产品及专业的服务。君德医疗联合新加坡南洋理工大学、韩国延世大学、清华大学、北航等知名科研院校分别于新加坡、首尔、北京及深圳成立技术研发平台。目前公司与中国人民解放军总医院、青岛大学附属医院等多家医疗机构打造产学研一体的转化医学平台,为客户提供人性化的专业康复体验。详情请访问:
              &#x0020;&#x0020;&#x0020;&#x0020;君德集团是集医疗器械研发生产、医疗器械销售、康复中心整体解决方案、妇幼关爱解决方案为一体的综合医疗服务商。君德医疗秉承"让科技温暖生命"的理念,提供更具人文关怀的产品及专业的服务。君德医疗联合新加坡南洋理工大学、韩国延世大学、清华大学、北航等知名科研院校分别于新加坡、首尔、北京及深圳成立技术研发平台。目前公司与中国人民解放军总医院、青岛大学附属医院等多家医疗机构打造产学研一体的转化医学平台,为客户提供人性化的专业康复体验。详情请访问:
             https://jdhealthcare.cn
             https://jdhealthcare.cn
         </TextBlock>
         </TextBlock>
         <Label x:Name="label1_Copy" Content="版本号:" HorizontalAlignment="Left" Margin="243,227,0,0" VerticalAlignment="Top"/>
         <Label x:Name="label1_Copy" Content="版本号:" HorizontalAlignment="Left" Margin="243,227,0,0" VerticalAlignment="Top"/>
         <Label x:Name="labelVersion" Content="XXXXXX" HorizontalAlignment="Left" Margin="301,227,0,0" VerticalAlignment="Top"/>
         <Label x:Name="labelVersion" Content="XXXXXX" HorizontalAlignment="Left" Margin="301,227,0,0" VerticalAlignment="Top"/>
-        <Button x:Name="buttonClose" Content="关闭窗口" HorizontalAlignment="Left" Margin="156,216,0,0" VerticalAlignment="Top" Width="75" Click="buttonClose_Click"/>
+        <Button x:Name="buttonClose" Content="关闭窗口" HorizontalAlignment="Center" Margin="0,216,0,0" VerticalAlignment="Top" Width="75" Click="buttonClose_Click"/>
 
 
     </Grid>
     </Grid>
 </Window>
 </Window>

+ 1 - 0
WpfTest1/SmallDialogs/AboutBox.xaml.cs

@@ -23,6 +23,7 @@ namespace WpfTest1.SmallDialogs
         {
         {
             InitializeComponent();
             InitializeComponent();
             labelVersion.Content = Toolkits.Constants.version;
             labelVersion.Content = Toolkits.Constants.version;
+            labelTitle.Content = Toolkits.Constants.softwareName;
         }
         }
 
 
         private void buttonClose_Click(object sender, RoutedEventArgs e)
         private void buttonClose_Click(object sender, RoutedEventArgs e)

+ 4 - 0
WpfTest1/SmallDialogs/LoginWindow.xaml

@@ -15,6 +15,10 @@
         <Grid.Background>
         <Grid.Background>
             <ImageBrush ImageSource="/WpfTest1;component/Resources/loginpage.jpg" />
             <ImageBrush ImageSource="/WpfTest1;component/Resources/loginpage.jpg" />
         </Grid.Background>
         </Grid.Background>
+        <Label x:Name="labelSoftwareName" Content="欢迎使用劳拉" FontSize="32" HorizontalAlignment="Center" Margin="0,61,0,0" VerticalAlignment="Top" Foreground="White"/>
+        <Label x:Name="labelHomepageCversion" Content="当前版本:V1.2.3.4" HorizontalAlignment="Center" Margin="0,550,0,0" VerticalAlignment="Top" Foreground="White"/>
+
+
         <TextBox x:Name="textBoxUsername" HorizontalAlignment="Left" Height="29" Margin="850,313,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="220" Background="#BDC7D3"/>
         <TextBox x:Name="textBoxUsername" HorizontalAlignment="Left" Height="29" Margin="850,313,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="220" Background="#BDC7D3"/>
         <PasswordBox x:Name="textBoxPassword" HorizontalAlignment="Left" Height="29" Margin="851,364,0,0" VerticalAlignment="Top" Width="220" Background="#BDC7D3"  KeyDown="textBoxPassword_KeyDown"/>
         <PasswordBox x:Name="textBoxPassword" HorizontalAlignment="Left" Height="29" Margin="851,364,0,0" VerticalAlignment="Top" Width="220" Background="#BDC7D3"  KeyDown="textBoxPassword_KeyDown"/>
         <Button x:Name="buttonLogin" Content="登陆" HorizontalAlignment="Left" Margin="813,420,0,0" VerticalAlignment="Top" Width="261" Height="33" BorderBrush="Black" FontFamily="Microsoft YaHei UI Light" Click="buttonLogin_Click" Foreground="White" Custom:ButtonHelper.CornerRadius="-2" >
         <Button x:Name="buttonLogin" Content="登陆" HorizontalAlignment="Left" Margin="813,420,0,0" VerticalAlignment="Top" Width="261" Height="33" BorderBrush="Black" FontFamily="Microsoft YaHei UI Light" Click="buttonLogin_Click" Foreground="White" Custom:ButtonHelper.CornerRadius="-2" >

+ 2 - 0
WpfTest1/SmallDialogs/LoginWindow.xaml.cs

@@ -24,6 +24,8 @@ namespace WpfTest1.SmallDialogs
         {
         {
             InitializeComponent();
             InitializeComponent();
             this.mw = mw;
             this.mw = mw;
+            labelHomepageCversion.Content = "当前版本:" + Toolkits.Constants.version;
+            labelSoftwareName.Content = String.Format("欢迎使用{0}", Toolkits.Constants.softwareName);
         }
         }
 
 
         private void buttonLogin_Click(object sender, RoutedEventArgs e)
         private void buttonLogin_Click(object sender, RoutedEventArgs e)

+ 2 - 0
WpfTest1/Toolkits/Constants.cs

@@ -9,6 +9,8 @@ namespace WpfTest1.Toolkits
     //各种系统需要使用的常值
     //各种系统需要使用的常值
     public class Constants
     public class Constants
     {
     {
+        //软件名称
+        public static string softwareName = "劳拉系统";
         //编译版本
         //编译版本
         public static string version = "0.1.0.0";
         public static string version = "0.1.0.0";
         //编译日期
         //编译日期

+ 5 - 3
WpfTest1/WpTest.csproj

@@ -34,6 +34,9 @@
     <ErrorReport>prompt</ErrorReport>
     <ErrorReport>prompt</ErrorReport>
     <WarningLevel>4</WarningLevel>
     <WarningLevel>4</WarningLevel>
   </PropertyGroup>
   </PropertyGroup>
+  <PropertyGroup>
+    <ApplicationIcon>jdmed_logo.ico</ApplicationIcon>
+  </PropertyGroup>
   <ItemGroup>
   <ItemGroup>
     <Reference Include="Antlr3.Runtime, Version=3.5.0.2, Culture=neutral, PublicKeyToken=eb42632606e9261f, processorArchitecture=MSIL">
     <Reference Include="Antlr3.Runtime, Version=3.5.0.2, Culture=neutral, PublicKeyToken=eb42632606e9261f, processorArchitecture=MSIL">
       <HintPath>..\packages\Antlr.3.5.0.2\lib\Antlr3.Runtime.dll</HintPath>
       <HintPath>..\packages\Antlr.3.5.0.2\lib\Antlr3.Runtime.dll</HintPath>
@@ -325,11 +328,10 @@
     <Resource Include="Resources\Entypo-license.txt" />
     <Resource Include="Resources\Entypo-license.txt" />
   </ItemGroup>
   </ItemGroup>
   <ItemGroup>
   <ItemGroup>
-    <Resource Include="Resources\RPStandard.jpg" />
-    <Resource Include="Resources\pubkey.xml" />
-    <Resource Include="Resources\load.jpg" />
     <Resource Include="Resources\loginpage.jpg" />
     <Resource Include="Resources\loginpage.jpg" />
     <Resource Include="Resources\homepage.jpg" />
     <Resource Include="Resources\homepage.jpg" />
+    <Resource Include="Resources\jdmedlogo.jpg" />
+    <Resource Include="jdmed_logo.ico" />
     <Content Include="SQLite\System.Data.SQLite.dll" />
     <Content Include="SQLite\System.Data.SQLite.dll" />
   </ItemGroup>
   </ItemGroup>
   <ItemGroup>
   <ItemGroup>

BIN
WpfTest1/jdmed_logo.ico