Browse Source

测试

ZhangXueYang
zhangxueyang 3 years ago
parent
commit
d41be578c3
2 changed files with 17 additions and 0 deletions
  1. 10
    0
      XHZB.Desktop/App.cs
  2. 7
    0
      XHZB.Desktop/XHZB.Desktop.csproj

+ 10
- 0
XHZB.Desktop/App.cs View File

@@ -15,6 +15,7 @@ namespace XHZB.Desktop
15 15
     public partial class APP : Application
16 16
     {
17 17
         #region 全局变量
18
+        public static int testdata=0;
18 19
         /// <summary>
19 20
         /// 是否为测试版
20 21
         /// </summary>
@@ -389,5 +390,14 @@ namespace XHZB.Desktop
389 390
         }
390 391
 
391 392
         #endregion 内存处理 -创建人:赵耀 -创建时间:2020年8月12日
393
+
394
+        #region 测试
395
+        public static void AddTestData()
396
+        {
397
+            testdata = 1;
398
+        }
399
+
400
+
401
+        #endregion
392 402
     }
393 403
 }

+ 7
- 0
XHZB.Desktop/XHZB.Desktop.csproj View File

@@ -63,6 +63,9 @@
63 63
     <Reference Include="PresentationFramework" />
64 64
   </ItemGroup>
65 65
   <ItemGroup>
66
+    <Compile Include="ToolbarWindow.xaml.cs">
67
+      <DependentUpon>ToolbarWindow.xaml</DependentUpon>
68
+    </Compile>
66 69
     <Page Include="MainWindow.xaml">
67 70
       <Generator>MSBuild:Compile</Generator>
68 71
       <SubType>Designer</SubType>
@@ -76,6 +79,10 @@
76 79
       <SubType>Designer</SubType>
77 80
       <Generator>XamlIntelliSenseFileGenerator</Generator>
78 81
     </Page>
82
+    <Page Include="ToolbarWindow.xaml">
83
+      <SubType>Designer</SubType>
84
+      <Generator>MSBuild:Compile</Generator>
85
+    </Page>
79 86
   </ItemGroup>
80 87
   <ItemGroup>
81 88
     <Compile Include="MessageWindow.xaml.cs">

Loading…
Cancel
Save