Browse Source

更新项目结构

liuyuqi-dellpc 3 years ago
parent
commit
719639ecd9

+ 20 - 20
Dashboard/Dashboard.csproj

@@ -54,60 +54,60 @@
     </Reference>
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="Form1.cs">
+    <Compile Include="MainForm.cs">
       <SubType>Form</SubType>
     </Compile>
-    <Compile Include="Form1.Designer.cs">
-      <DependentUpon>Form1.cs</DependentUpon>
+    <Compile Include="MainForm.Designer.cs">
+      <DependentUpon>MainForm.cs</DependentUpon>
     </Compile>
-    <Compile Include="frmAnalytics.cs">
+    <Compile Include="Views\frmAnalytics.cs">
       <SubType>Form</SubType>
     </Compile>
-    <Compile Include="frmAnalytics.Designer.cs">
+    <Compile Include="Views\frmAnalytics.Designer.cs">
       <DependentUpon>frmAnalytics.cs</DependentUpon>
     </Compile>
-    <Compile Include="frmCalender.cs">
+    <Compile Include="Views\frmCalender.cs">
       <SubType>Form</SubType>
     </Compile>
-    <Compile Include="frmCalender.Designer.cs">
+    <Compile Include="Views\frmCalender.Designer.cs">
       <DependentUpon>frmCalender.cs</DependentUpon>
     </Compile>
-    <Compile Include="frmContactUs.cs">
+    <Compile Include="Views\frmContactUs.cs">
       <SubType>Form</SubType>
     </Compile>
-    <Compile Include="frmContactUs.Designer.cs">
+    <Compile Include="Views\frmContactUs.Designer.cs">
       <DependentUpon>frmContactUs.cs</DependentUpon>
     </Compile>
-    <Compile Include="frmDashboard.cs">
+    <Compile Include="Views\frmDashboard.cs">
       <SubType>Form</SubType>
     </Compile>
-    <Compile Include="frmDashboard.Designer.cs">
+    <Compile Include="Views\frmDashboard.Designer.cs">
       <DependentUpon>frmDashboard.cs</DependentUpon>
     </Compile>
-    <Compile Include="frmSettings.cs">
+    <Compile Include="Views\frmSettings.cs">
       <SubType>Form</SubType>
     </Compile>
-    <Compile Include="frmSettings.Designer.cs">
+    <Compile Include="Views\frmSettings.Designer.cs">
       <DependentUpon>frmSettings.cs</DependentUpon>
     </Compile>
     <Compile Include="Program.cs" />
     <Compile Include="Properties\AssemblyInfo.cs" />
-    <EmbeddedResource Include="Form1.resx">
-      <DependentUpon>Form1.cs</DependentUpon>
+    <EmbeddedResource Include="MainForm.resx">
+      <DependentUpon>MainForm.cs</DependentUpon>
     </EmbeddedResource>
-    <EmbeddedResource Include="frmAnalytics.resx">
+    <EmbeddedResource Include="Views\frmAnalytics.resx">
       <DependentUpon>frmAnalytics.cs</DependentUpon>
     </EmbeddedResource>
-    <EmbeddedResource Include="frmCalender.resx">
+    <EmbeddedResource Include="Views\frmCalender.resx">
       <DependentUpon>frmCalender.cs</DependentUpon>
     </EmbeddedResource>
-    <EmbeddedResource Include="frmContactUs.resx">
+    <EmbeddedResource Include="Views\frmContactUs.resx">
       <DependentUpon>frmContactUs.cs</DependentUpon>
     </EmbeddedResource>
-    <EmbeddedResource Include="frmDashboard.resx">
+    <EmbeddedResource Include="Views\frmDashboard.resx">
       <DependentUpon>frmDashboard.cs</DependentUpon>
     </EmbeddedResource>
-    <EmbeddedResource Include="frmSettings.resx">
+    <EmbeddedResource Include="Views\frmSettings.resx">
       <DependentUpon>frmSettings.cs</DependentUpon>
     </EmbeddedResource>
     <EmbeddedResource Include="Properties\Resources.resx">

+ 1 - 1
Dashboard/Form1.Designer.cs

@@ -1,6 +1,6 @@
 namespace Dashboard
 {
-    partial class Form1
+    partial class MainForm
     {
         /// <summary>
         /// Required designer variable.

+ 2 - 2
Dashboard/Form1.cs

@@ -11,7 +11,7 @@ using System.Runtime.InteropServices;
 
 namespace Dashboard
 {
-    public partial class Form1 : Form
+    public partial class MainForm : Form
     {
 
         [DllImport("Gdi32.dll", EntryPoint = "CreateRoundRectRgn")]
@@ -27,7 +27,7 @@ namespace Dashboard
 
          );
 
-        public Form1()
+        public MainForm()
         {
             InitializeComponent();
             Region = System.Drawing.Region.FromHrgn(CreateRoundRectRgn(0, 0, Width, Height, 25, 25));

+ 0 - 0
Dashboard/frmAnalytics.Designer.cs → Dashboard/Views/frmAnalytics.Designer.cs


+ 0 - 0
Dashboard/frmAnalytics.cs → Dashboard/Views/frmAnalytics.cs


+ 0 - 0
Dashboard/frmAnalytics.resx → Dashboard/Views/frmAnalytics.resx


+ 0 - 0
Dashboard/frmCalender.Designer.cs → Dashboard/Views/frmCalender.Designer.cs


+ 0 - 0
Dashboard/frmCalender.cs → Dashboard/Views/frmCalender.cs


+ 0 - 0
Dashboard/frmCalender.resx → Dashboard/Views/frmCalender.resx


+ 0 - 0
Dashboard/frmContactUs.Designer.cs → Dashboard/Views/frmContactUs.Designer.cs


+ 0 - 0
Dashboard/frmContactUs.cs → Dashboard/Views/frmContactUs.cs


+ 0 - 0
Dashboard/frmContactUs.resx → Dashboard/Views/frmContactUs.resx


+ 0 - 0
Dashboard/frmDashboard.Designer.cs → Dashboard/Views/frmDashboard.Designer.cs


+ 0 - 0
Dashboard/frmDashboard.cs → Dashboard/Views/frmDashboard.cs


+ 0 - 0
Dashboard/frmDashboard.resx → Dashboard/Views/frmDashboard.resx


+ 0 - 0
Dashboard/frmSettings.Designer.cs → Dashboard/Views/frmSettings.Designer.cs


+ 0 - 0
Dashboard/frmSettings.cs → Dashboard/Views/frmSettings.cs


+ 0 - 0
Dashboard/frmSettings.resx → Dashboard/Views/frmSettings.resx