From 7c6f6170efbe0bc25bd8d63836bc412e2e53439e Mon Sep 17 00:00:00 2001 From: zhangqi7131 Date: Thu, 1 Aug 2024 10:32:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=A1=B9=E7=9B=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DailyWorkManagementSystem.sln | 25 +++ DailyWorkManagementSystem/App.config | 6 + .../DailyWorkManagementSystem.csproj | 128 +++++++++++++ DailyWorkManagementSystem/Form1.Designer.cs | 175 ++++++++++++++++++ DailyWorkManagementSystem/Form1.cs | 111 +++++++++++ DailyWorkManagementSystem/Form1.resx | 120 ++++++++++++ DailyWorkManagementSystem/Program.cs | 22 +++ .../Properties/AssemblyInfo.cs | 36 ++++ .../Properties/Resources.Designer.cs | 71 +++++++ .../Properties/Resources.resx | 117 ++++++++++++ .../Properties/Settings.Designer.cs | 30 +++ .../Properties/Settings.settings | 7 + DailyWorkManagementSystem/app.manifest | 79 ++++++++ 13 files changed, 927 insertions(+) create mode 100644 DailyWorkManagementSystem.sln create mode 100644 DailyWorkManagementSystem/App.config create mode 100644 DailyWorkManagementSystem/DailyWorkManagementSystem.csproj create mode 100644 DailyWorkManagementSystem/Form1.Designer.cs create mode 100644 DailyWorkManagementSystem/Form1.cs create mode 100644 DailyWorkManagementSystem/Form1.resx create mode 100644 DailyWorkManagementSystem/Program.cs create mode 100644 DailyWorkManagementSystem/Properties/AssemblyInfo.cs create mode 100644 DailyWorkManagementSystem/Properties/Resources.Designer.cs create mode 100644 DailyWorkManagementSystem/Properties/Resources.resx create mode 100644 DailyWorkManagementSystem/Properties/Settings.Designer.cs create mode 100644 DailyWorkManagementSystem/Properties/Settings.settings create mode 100644 DailyWorkManagementSystem/app.manifest diff --git a/DailyWorkManagementSystem.sln b/DailyWorkManagementSystem.sln new file mode 100644 index 0000000..189a5f6 --- /dev/null +++ b/DailyWorkManagementSystem.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.10.35027.167 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DailyWorkManagementSystem", "DailyWorkManagementSystem\DailyWorkManagementSystem.csproj", "{6C795C36-097A-45A8-A39D-4240CBBDB949}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6C795C36-097A-45A8-A39D-4240CBBDB949}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6C795C36-097A-45A8-A39D-4240CBBDB949}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6C795C36-097A-45A8-A39D-4240CBBDB949}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6C795C36-097A-45A8-A39D-4240CBBDB949}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {14B7FB4C-18D8-495F-BEB1-68B2840253AC} + EndGlobalSection +EndGlobal diff --git a/DailyWorkManagementSystem/App.config b/DailyWorkManagementSystem/App.config new file mode 100644 index 0000000..56efbc7 --- /dev/null +++ b/DailyWorkManagementSystem/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/DailyWorkManagementSystem/DailyWorkManagementSystem.csproj b/DailyWorkManagementSystem/DailyWorkManagementSystem.csproj new file mode 100644 index 0000000..421d69e --- /dev/null +++ b/DailyWorkManagementSystem/DailyWorkManagementSystem.csproj @@ -0,0 +1,128 @@ + + + + + Debug + AnyCPU + {6C795C36-097A-45A8-A39D-4240CBBDB949} + WinExe + DailyWorkManagementSystem + DailyWorkManagementSystem + v4.7.2 + 512 + true + true + false + E:\DailyWorkRecord\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 4 + 1.0.0.%2a + false + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + 4FDBDFFED81596C6DFFA7F5A99F2F8C3CC159116 + + + DailyWorkManagementSystem_TemporaryKey.pfx + + + true + + + true + + + app.manifest + + + + + + + + + + + + + + + + + Form + + + Form1.cs + + + + + Form1.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + + False + Microsoft .NET Framework 4.7.2 %28x86 和 x64%29 + true + + + False + .NET Framework 3.5 SP1 + false + + + + \ No newline at end of file diff --git a/DailyWorkManagementSystem/Form1.Designer.cs b/DailyWorkManagementSystem/Form1.Designer.cs new file mode 100644 index 0000000..78c361f --- /dev/null +++ b/DailyWorkManagementSystem/Form1.Designer.cs @@ -0,0 +1,175 @@ +namespace DailyWorkManagementSystem +{ + partial class Form_DWR + { + /// + /// 必需的设计器变量。 + /// + private System.ComponentModel.IContainer components = null; + + /// + /// 清理所有正在使用的资源。 + /// + /// 如果应释放托管资源,为 true;否则为 false。 + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows 窗体设计器生成的代码 + + /// + /// 设计器支持所需的方法 - 不要修改 + /// 使用代码编辑器修改此方法的内容。 + /// + private void InitializeComponent() + { + this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker(); + this.save_btn = new System.Windows.Forms.Button(); + this.rTB_morning = new System.Windows.Forms.RichTextBox(); + this.rTB_afternoon = new System.Windows.Forms.RichTextBox(); + this.label_morning = new System.Windows.Forms.Label(); + this.label_afternoon = new System.Windows.Forms.Label(); + this.before_btn = new System.Windows.Forms.Button(); + this.after_btn = new System.Windows.Forms.Button(); + this.clear_btn1 = new System.Windows.Forms.Button(); + this.clear_btn2 = new System.Windows.Forms.Button(); + this.SuspendLayout(); + // + // dateTimePicker1 + // + this.dateTimePicker1.Location = new System.Drawing.Point(133, 49); + this.dateTimePicker1.Name = "dateTimePicker1"; + this.dateTimePicker1.Size = new System.Drawing.Size(200, 25); + this.dateTimePicker1.TabIndex = 1; + this.dateTimePicker1.ValueChanged += new System.EventHandler(this.dateTimePicker1_ValueChanged); + // + // save_btn + // + this.save_btn.Location = new System.Drawing.Point(675, 41); + this.save_btn.Name = "save_btn"; + this.save_btn.Size = new System.Drawing.Size(101, 33); + this.save_btn.TabIndex = 2; + this.save_btn.Text = "保存"; + this.save_btn.UseVisualStyleBackColor = true; + this.save_btn.Click += new System.EventHandler(this.save_btn_Click); + // + // rTB_morning + // + this.rTB_morning.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.rTB_morning.Location = new System.Drawing.Point(57, 135); + this.rTB_morning.Name = "rTB_morning"; + this.rTB_morning.Size = new System.Drawing.Size(345, 300); + this.rTB_morning.TabIndex = 4; + this.rTB_morning.Text = ""; + // + // rTB_afternoon + // + this.rTB_afternoon.Font = new System.Drawing.Font("宋体", 13.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.rTB_afternoon.Location = new System.Drawing.Point(431, 135); + this.rTB_afternoon.Name = "rTB_afternoon"; + this.rTB_afternoon.Size = new System.Drawing.Size(345, 300); + this.rTB_afternoon.TabIndex = 4; + this.rTB_afternoon.Text = ""; + // + // label_morning + // + this.label_morning.AutoSize = true; + this.label_morning.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label_morning.Location = new System.Drawing.Point(52, 98); + this.label_morning.Name = "label_morning"; + this.label_morning.Size = new System.Drawing.Size(62, 25); + this.label_morning.TabIndex = 6; + this.label_morning.Text = "上午"; + // + // label_afternoon + // + this.label_afternoon.AutoSize = true; + this.label_afternoon.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label_afternoon.Location = new System.Drawing.Point(426, 98); + this.label_afternoon.Name = "label_afternoon"; + this.label_afternoon.Size = new System.Drawing.Size(62, 25); + this.label_afternoon.TabIndex = 7; + this.label_afternoon.Text = "下午"; + // + // before_btn + // + this.before_btn.Location = new System.Drawing.Point(55, 46); + this.before_btn.Name = "before_btn"; + this.before_btn.Size = new System.Drawing.Size(72, 31); + this.before_btn.TabIndex = 8; + this.before_btn.Text = "前一天"; + this.before_btn.UseVisualStyleBackColor = true; + this.before_btn.Click += new System.EventHandler(this.before_btn_Click); + // + // after_btn + // + this.after_btn.Location = new System.Drawing.Point(339, 46); + this.after_btn.Name = "after_btn"; + this.after_btn.Size = new System.Drawing.Size(73, 31); + this.after_btn.TabIndex = 8; + this.after_btn.Text = "后一天"; + this.after_btn.UseVisualStyleBackColor = true; + this.after_btn.Click += new System.EventHandler(this.after_btn_Click); + // + // clear_btn1 + // + this.clear_btn1.Location = new System.Drawing.Point(301, 99); + this.clear_btn1.Name = "clear_btn1"; + this.clear_btn1.Size = new System.Drawing.Size(101, 30); + this.clear_btn1.TabIndex = 9; + this.clear_btn1.Text = "清空"; + this.clear_btn1.UseVisualStyleBackColor = true; + this.clear_btn1.Click += new System.EventHandler(this.clear_btn1_Click); + // + // clear_btn2 + // + this.clear_btn2.Location = new System.Drawing.Point(675, 99); + this.clear_btn2.Name = "clear_btn2"; + this.clear_btn2.Size = new System.Drawing.Size(101, 30); + this.clear_btn2.TabIndex = 9; + this.clear_btn2.Text = "清空"; + this.clear_btn2.UseVisualStyleBackColor = true; + this.clear_btn2.Click += new System.EventHandler(this.clear_btn2_Click); + // + // Form_DWR + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(845, 482); + this.Controls.Add(this.clear_btn2); + this.Controls.Add(this.clear_btn1); + this.Controls.Add(this.after_btn); + this.Controls.Add(this.before_btn); + this.Controls.Add(this.label_afternoon); + this.Controls.Add(this.label_morning); + this.Controls.Add(this.rTB_afternoon); + this.Controls.Add(this.rTB_morning); + this.Controls.Add(this.save_btn); + this.Controls.Add(this.dateTimePicker1); + this.Name = "Form_DWR"; + this.Text = "每日工作记录"; + this.Load += new System.EventHandler(this.Form_DWR_Load); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + private System.Windows.Forms.DateTimePicker dateTimePicker1; + private System.Windows.Forms.Button save_btn; + private System.Windows.Forms.RichTextBox rTB_morning; + private System.Windows.Forms.RichTextBox rTB_afternoon; + private System.Windows.Forms.Label label_morning; + private System.Windows.Forms.Label label_afternoon; + private System.Windows.Forms.Button before_btn; + private System.Windows.Forms.Button after_btn; + private System.Windows.Forms.Button clear_btn1; + private System.Windows.Forms.Button clear_btn2; + } +} + diff --git a/DailyWorkManagementSystem/Form1.cs b/DailyWorkManagementSystem/Form1.cs new file mode 100644 index 0000000..4f206af --- /dev/null +++ b/DailyWorkManagementSystem/Form1.cs @@ -0,0 +1,111 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Data.SqlClient; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace DailyWorkManagementSystem +{ + public partial class Form_DWR : Form + { + private String connString = "Server=localhost;Database=DailyWorkRecordDB;Trusted_Connection=True;"; + public Form_DWR() + { + InitializeComponent(); + } + + private void Form_DWR_Load(object sender, EventArgs e) + { + dateTimePicker1_ValueChanged(sender, e); + } + + private void save_btn_Click(object sender, EventArgs e) + { + //获取日期年月日 + string date = dateTimePicker1.Value.ToString("yyyy-MM-dd"); + //读取文本框内容 + string morning = rTB_morning.Text; + string afternoon = rTB_afternoon.Text; + //连接数据库 + SqlConnection conn = new SqlConnection(connString); + conn.Open(); + SqlCommand cmd = new SqlCommand(); + cmd.Connection = conn; + cmd.CommandText = $"Select count(*) from DWR where Date='{date}'"; + //判断是否存在该日期的记录 + int count = (int)cmd.ExecuteScalar(); + if (count == 0) + { + cmd.CommandText = $"insert into DWR(Date,Morning,Afternoon) values('{date}','{morning}','{afternoon}')"; + int result_insert = cmd.ExecuteNonQuery(); + if (result_insert > 0) + { + MessageBox.Show("保存成功!"); + } + conn.Close(); + } + else + { + cmd.CommandText = $"update DWR set Morning='{morning}',Afternoon='{afternoon}' where Date='{date}'"; + int result_edit = cmd.ExecuteNonQuery(); + if (result_edit > 0) + { + MessageBox.Show("保存成功!"); + } + conn.Close(); + } + } + + private void dateTimePicker1_ValueChanged(object sender, EventArgs e) + { + //清空文本框 + rTB_morning.Text = ""; + rTB_afternoon.Text = ""; + //获取日期年月日 + string date = dateTimePicker1.Value.ToString("yyyy-MM-dd"); + //连接数据库 + SqlConnection conn = new SqlConnection(); + conn.ConnectionString = "Server=localhost;Database=DailyWorkRecordDB;Trusted_Connection=True;"; + conn.Open(); + SqlCommand cmd = new SqlCommand(); + cmd.Connection = conn; + cmd.CommandText = $"select * from DWR where Date='{date}'"; + SqlDataReader reader = cmd.ExecuteReader(); + //读取数据 + while (reader.Read()) + { + rTB_morning.Text = reader["Morning"].ToString(); + rTB_afternoon.Text = reader["Afternoon"].ToString(); + } + + conn.Close(); + } + + private void before_btn_Click(object sender, EventArgs e) + { + //更改日期到前一天 + dateTimePicker1.Value = dateTimePicker1.Value.AddDays(-1); + } + + private void after_btn_Click(object sender, EventArgs e) + { + //更改日期到后一天 + dateTimePicker1.Value = dateTimePicker1.Value.AddDays(1); + } + //清空按键-上午 + private void clear_btn1_Click(object sender, EventArgs e) + { + rTB_morning.Text = ""; + } + //清空按键-下午 + private void clear_btn2_Click(object sender, EventArgs e) + { + rTB_afternoon.Text = ""; + } + } +} diff --git a/DailyWorkManagementSystem/Form1.resx b/DailyWorkManagementSystem/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/DailyWorkManagementSystem/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/DailyWorkManagementSystem/Program.cs b/DailyWorkManagementSystem/Program.cs new file mode 100644 index 0000000..349386b --- /dev/null +++ b/DailyWorkManagementSystem/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace DailyWorkManagementSystem +{ + internal static class Program + { + /// + /// 应用程序的主入口点。 + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Form_DWR()); + } + } +} diff --git a/DailyWorkManagementSystem/Properties/AssemblyInfo.cs b/DailyWorkManagementSystem/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..aa6c919 --- /dev/null +++ b/DailyWorkManagementSystem/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的一般信息由以下 +// 控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("DailyWorkManagementSystem")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("DailyWorkManagementSystem")] +[assembly: AssemblyCopyright("Copyright © 2024")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 将 ComVisible 设置为 false 会使此程序集中的类型 +//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型 +//请将此类型的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID +[assembly: Guid("6c795c36-097a-45a8-a39d-4240cbbdb949")] + +// 程序集的版本信息由下列四个值组成: +// +// 主版本 +// 次版本 +// 生成号 +// 修订号 +// +//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值 +//通过使用 "*",如下所示: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/DailyWorkManagementSystem/Properties/Resources.Designer.cs b/DailyWorkManagementSystem/Properties/Resources.Designer.cs new file mode 100644 index 0000000..79adbe7 --- /dev/null +++ b/DailyWorkManagementSystem/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本: 4.0.30319.42000 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace DailyWorkManagementSystem.Properties +{ + + + /// + /// 强类型资源类,用于查找本地化字符串等。 + /// + // 此类是由 StronglyTypedResourceBuilder + // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 + // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // (以 /str 作为命令选项),或重新生成 VS 项目。 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// 返回此类使用的缓存 ResourceManager 实例。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DailyWorkManagementSystem.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// 重写当前线程的 CurrentUICulture 属性,对 + /// 使用此强类型资源类的所有资源查找执行重写。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/DailyWorkManagementSystem/Properties/Resources.resx b/DailyWorkManagementSystem/Properties/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/DailyWorkManagementSystem/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/DailyWorkManagementSystem/Properties/Settings.Designer.cs b/DailyWorkManagementSystem/Properties/Settings.Designer.cs new file mode 100644 index 0000000..b18e1e5 --- /dev/null +++ b/DailyWorkManagementSystem/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace DailyWorkManagementSystem.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/DailyWorkManagementSystem/Properties/Settings.settings b/DailyWorkManagementSystem/Properties/Settings.settings new file mode 100644 index 0000000..3964565 --- /dev/null +++ b/DailyWorkManagementSystem/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/DailyWorkManagementSystem/app.manifest b/DailyWorkManagementSystem/app.manifest new file mode 100644 index 0000000..87d44e1 --- /dev/null +++ b/DailyWorkManagementSystem/app.manifest @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + true + + + + + + + +