Browse Source

add README.md

liuyuqi-dellpc 3 years ago
parent
commit
2eb488191e

+ 5 - 5
Dashboard/Dashboard.csproj

@@ -54,11 +54,11 @@
     </Reference>
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="MainForm.cs">
+    <Compile Include="Form1.cs">
       <SubType>Form</SubType>
     </Compile>
-    <Compile Include="MainForm.Designer.cs">
-      <DependentUpon>MainForm.cs</DependentUpon>
+    <Compile Include="Form1.Designer.cs">
+      <DependentUpon>Form1.cs</DependentUpon>
     </Compile>
     <Compile Include="Views\frmAnalytics.cs">
       <SubType>Form</SubType>
@@ -92,8 +92,8 @@
     </Compile>
     <Compile Include="Program.cs" />
     <Compile Include="Properties\AssemblyInfo.cs" />
-    <EmbeddedResource Include="MainForm.resx">
-      <DependentUpon>MainForm.cs</DependentUpon>
+    <EmbeddedResource Include="Form1.resx">
+      <DependentUpon>Form1.cs</DependentUpon>
     </EmbeddedResource>
     <EmbeddedResource Include="Views\frmAnalytics.resx">
       <DependentUpon>frmAnalytics.cs</DependentUpon>

+ 1 - 1
Dashboard/Form1.Designer.cs

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

+ 2 - 2
Dashboard/Form1.cs

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

+ 5 - 0
README.md

@@ -0,0 +1,5 @@
+# Dashboard
+
+C# Dashboard 简单例子,来源 youtube 
+
+![](screenshot/BaiduHi_2020-12-8_14-0-41.png)

BIN
screenshot/BaiduHi_2020-12-8_14-0-41.png