Browse Source

测试

ZhangXueYang
zhangxueyang 4 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
     public partial class APP : Application
15
     public partial class APP : Application
16
     {
16
     {
17
         #region 全局变量
17
         #region 全局变量
18
+        public static int testdata=0;
18
         /// <summary>
19
         /// <summary>
19
         /// 是否为测试版
20
         /// 是否为测试版
20
         /// </summary>
21
         /// </summary>
389
         }
390
         }
390
 
391
 
391
         #endregion 内存处理 -创建人:赵耀 -创建时间:2020年8月12日
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
     <Reference Include="PresentationFramework" />
63
     <Reference Include="PresentationFramework" />
64
   </ItemGroup>
64
   </ItemGroup>
65
   <ItemGroup>
65
   <ItemGroup>
66
+    <Compile Include="ToolbarWindow.xaml.cs">
67
+      <DependentUpon>ToolbarWindow.xaml</DependentUpon>
68
+    </Compile>
66
     <Page Include="MainWindow.xaml">
69
     <Page Include="MainWindow.xaml">
67
       <Generator>MSBuild:Compile</Generator>
70
       <Generator>MSBuild:Compile</Generator>
68
       <SubType>Designer</SubType>
71
       <SubType>Designer</SubType>
76
       <SubType>Designer</SubType>
79
       <SubType>Designer</SubType>
77
       <Generator>XamlIntelliSenseFileGenerator</Generator>
80
       <Generator>XamlIntelliSenseFileGenerator</Generator>
78
     </Page>
81
     </Page>
82
+    <Page Include="ToolbarWindow.xaml">
83
+      <SubType>Designer</SubType>
84
+      <Generator>MSBuild:Compile</Generator>
85
+    </Page>
79
   </ItemGroup>
86
   </ItemGroup>
80
   <ItemGroup>
87
   <ItemGroup>
81
     <Compile Include="MessageWindow.xaml.cs">
88
     <Compile Include="MessageWindow.xaml.cs">

Loading…
Cancel
Save