commit 320612bfae806d3e1a97c0a7dad291f3a1f73161 Author: TheCoolCat Date: Tue Dec 6 12:38:25 2022 -0300 initial commit diff --git a/ShutdownTimer.sln b/ShutdownTimer.sln new file mode 100644 index 0000000..033c279 --- /dev/null +++ b/ShutdownTimer.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.23107.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShutdownTimer", "ShutdownTimer\ShutdownTimer.csproj", "{0D2CCBAD-F82C-4875-BE8D-C385BEA180F6}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {0D2CCBAD-F82C-4875-BE8D-C385BEA180F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0D2CCBAD-F82C-4875-BE8D-C385BEA180F6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0D2CCBAD-F82C-4875-BE8D-C385BEA180F6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0D2CCBAD-F82C-4875-BE8D-C385BEA180F6}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/ShutdownTimer/Fmain.Designer.cs b/ShutdownTimer/Fmain.Designer.cs new file mode 100644 index 0000000..ce906ee --- /dev/null +++ b/ShutdownTimer/Fmain.Designer.cs @@ -0,0 +1,209 @@ +namespace ShutdownTimer +{ + // Token: 0x02000002 RID: 2 + public partial class Fmain : global::System.Windows.Forms.Form + { + // Token: 0x0600000D RID: 13 RVA: 0x00002344 File Offset: 0x00000544 + protected override void Dispose(bool disposing) + { + if (disposing && this.components != null) + { + this.components.Dispose(); + } + base.Dispose(disposing); + } + + // Token: 0x0600000E RID: 14 RVA: 0x0000237C File Offset: 0x0000057C + private void InitializeComponent() + { + global::System.ComponentModel.ComponentResourceManager componentResourceManager = new global::System.ComponentModel.ComponentResourceManager(typeof(global::ShutdownTimer.Fmain)); + this.MSmenu = new global::System.Windows.Forms.MenuStrip(); + this.menuToolStripMenuItem = new global::System.Windows.Forms.ToolStripMenuItem(); + this.aboutToolStripMenuItem = new global::System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem1 = new global::System.Windows.Forms.ToolStripSeparator(); + this.closeToolStripMenuItem = new global::System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem2 = new global::System.Windows.Forms.ToolStripMenuItem(); + this.timerToolStripMenuItem = new global::System.Windows.Forms.ToolStripMenuItem(); + this.cancelToolStripMenuItem = new global::System.Windows.Forms.ToolStripMenuItem(); + this.startToolStripMenuItem = new global::System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem3 = new global::System.Windows.Forms.ToolStripSeparator(); + this.toolStripMenuItem4 = new global::System.Windows.Forms.ToolStripMenuItem(); + this.daysToolStripMenuItem = new global::System.Windows.Forms.ToolStripMenuItem(); + this.hoursToolStripMenuItem = new global::System.Windows.Forms.ToolStripMenuItem(); + this.minutesToolStripMenuItem = new global::System.Windows.Forms.ToolStripMenuItem(); + this.secondsToolStripMenuItem = new global::System.Windows.Forms.ToolStripMenuItem(); + this.label1 = new global::System.Windows.Forms.Label(); + this.maskedTextBox1 = new global::System.Windows.Forms.MaskedTextBox(); + this.MSmenu.SuspendLayout(); + base.SuspendLayout(); + this.MSmenu.Dock = global::System.Windows.Forms.DockStyle.Bottom; + this.MSmenu.Items.AddRange(new global::System.Windows.Forms.ToolStripItem[] + { + this.menuToolStripMenuItem, + this.timerToolStripMenuItem + }); + this.MSmenu.Location = new global::System.Drawing.Point(0, 117); + this.MSmenu.Name = "MSmenu"; + this.MSmenu.Size = new global::System.Drawing.Size(284, 24); + this.MSmenu.TabIndex = 0; + this.MSmenu.Text = "menuStrip1"; + this.menuToolStripMenuItem.DropDownItems.AddRange(new global::System.Windows.Forms.ToolStripItem[] + { + this.aboutToolStripMenuItem, + this.toolStripMenuItem1, + this.closeToolStripMenuItem, + this.toolStripMenuItem2 + }); + this.menuToolStripMenuItem.Name = "menuToolStripMenuItem"; + this.menuToolStripMenuItem.Size = new global::System.Drawing.Size(41, 20); + this.menuToolStripMenuItem.Text = "App"; + this.menuToolStripMenuItem.Click += new global::System.EventHandler(this.menuToolStripMenuItem_Click); + this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem"; + this.aboutToolStripMenuItem.Size = new global::System.Drawing.Size(165, 22); + this.aboutToolStripMenuItem.Text = "About"; + this.aboutToolStripMenuItem.Click += new global::System.EventHandler(this.aboutToolStripMenuItem_Click); + this.toolStripMenuItem1.Name = "toolStripMenuItem1"; + this.toolStripMenuItem1.Size = new global::System.Drawing.Size(162, 6); + this.closeToolStripMenuItem.Name = "closeToolStripMenuItem"; + this.closeToolStripMenuItem.Size = new global::System.Drawing.Size(165, 22); + this.closeToolStripMenuItem.Text = "Close"; + this.closeToolStripMenuItem.Click += new global::System.EventHandler(this.closeToolStripMenuItem_Click); + this.toolStripMenuItem2.Name = "toolStripMenuItem2"; + this.toolStripMenuItem2.Size = new global::System.Drawing.Size(165, 22); + this.toolStripMenuItem2.Text = "Close and Cancel"; + this.toolStripMenuItem2.Click += new global::System.EventHandler(this.toolStripMenuItem2_Click); + this.timerToolStripMenuItem.DropDownItems.AddRange(new global::System.Windows.Forms.ToolStripItem[] + { + this.cancelToolStripMenuItem, + this.startToolStripMenuItem, + this.toolStripMenuItem3, + this.toolStripMenuItem4 + }); + this.timerToolStripMenuItem.Name = "timerToolStripMenuItem"; + this.timerToolStripMenuItem.Size = new global::System.Drawing.Size(50, 20); + this.timerToolStripMenuItem.Text = "Timer"; + this.cancelToolStripMenuItem.Name = "cancelToolStripMenuItem"; + this.cancelToolStripMenuItem.Size = new global::System.Drawing.Size(129, 22); + this.cancelToolStripMenuItem.Text = "Cancel"; + this.cancelToolStripMenuItem.Click += new global::System.EventHandler(this.cancelToolStripMenuItem_Click); + this.startToolStripMenuItem.Name = "startToolStripMenuItem"; + this.startToolStripMenuItem.Size = new global::System.Drawing.Size(129, 22); + this.startToolStripMenuItem.Text = "Start"; + this.startToolStripMenuItem.Click += new global::System.EventHandler(this.startToolStripMenuItem_Click); + this.toolStripMenuItem3.Name = "toolStripMenuItem3"; + this.toolStripMenuItem3.Size = new global::System.Drawing.Size(126, 6); + this.toolStripMenuItem4.DropDownItems.AddRange(new global::System.Windows.Forms.ToolStripItem[] + { + this.daysToolStripMenuItem, + this.hoursToolStripMenuItem, + this.minutesToolStripMenuItem, + this.secondsToolStripMenuItem + }); + this.toolStripMenuItem4.Name = "toolStripMenuItem4"; + this.toolStripMenuItem4.Size = new global::System.Drawing.Size(129, 22); + this.toolStripMenuItem4.Text = "Change to"; + this.daysToolStripMenuItem.Name = "daysToolStripMenuItem"; + this.daysToolStripMenuItem.Size = new global::System.Drawing.Size(118, 22); + this.daysToolStripMenuItem.Text = "Days"; + this.daysToolStripMenuItem.Click += new global::System.EventHandler(this.daysToolStripMenuItem_Click); + this.hoursToolStripMenuItem.Name = "hoursToolStripMenuItem"; + this.hoursToolStripMenuItem.Size = new global::System.Drawing.Size(118, 22); + this.hoursToolStripMenuItem.Text = "Hours"; + this.hoursToolStripMenuItem.Click += new global::System.EventHandler(this.hoursToolStripMenuItem_Click); + this.minutesToolStripMenuItem.Name = "minutesToolStripMenuItem"; + this.minutesToolStripMenuItem.Size = new global::System.Drawing.Size(118, 22); + this.minutesToolStripMenuItem.Text = "Minutes"; + this.minutesToolStripMenuItem.Click += new global::System.EventHandler(this.minutesToolStripMenuItem_Click); + this.secondsToolStripMenuItem.Name = "secondsToolStripMenuItem"; + this.secondsToolStripMenuItem.Size = new global::System.Drawing.Size(118, 22); + this.secondsToolStripMenuItem.Text = "Seconds"; + this.secondsToolStripMenuItem.Click += new global::System.EventHandler(this.secondsToolStripMenuItem_Click); + this.label1.AutoSize = true; + this.label1.Font = new global::System.Drawing.Font("Segoe UI", 20.25f, global::System.Drawing.FontStyle.Bold, global::System.Drawing.GraphicsUnit.Point, 0); + this.label1.Location = new global::System.Drawing.Point(102, 22); + this.label1.Name = "label1"; + this.label1.Size = new global::System.Drawing.Size(81, 37); + this.label1.TabIndex = 1; + this.label1.Text = "Time"; + this.maskedTextBox1.Font = new global::System.Drawing.Font("Segoe UI", 15.75f, global::System.Drawing.FontStyle.Regular, global::System.Drawing.GraphicsUnit.Point, 0); + this.maskedTextBox1.Location = new global::System.Drawing.Point(16, 62); + this.maskedTextBox1.Mask = "00000000"; + this.maskedTextBox1.Name = "maskedTextBox1"; + this.maskedTextBox1.Size = new global::System.Drawing.Size(253, 35); + this.maskedTextBox1.TabIndex = 2; + this.maskedTextBox1.TextAlign = global::System.Windows.Forms.HorizontalAlignment.Center; + base.AutoScaleDimensions = new global::System.Drawing.SizeF(6f, 13f); + base.AutoScaleMode = global::System.Windows.Forms.AutoScaleMode.Font; + base.ClientSize = new global::System.Drawing.Size(284, 141); + base.Controls.Add(this.maskedTextBox1); + base.Controls.Add(this.label1); + base.Controls.Add(this.MSmenu); + base.FormBorderStyle = global::System.Windows.Forms.FormBorderStyle.FixedDialog; + base.Icon = (global::System.Drawing.Icon)componentResourceManager.GetObject("$this.Icon"); + base.MainMenuStrip = this.MSmenu; + base.MaximizeBox = false; + base.MinimizeBox = false; + base.Name = "Fmain"; + this.Text = "ShutdownTimer - Seconds"; + base.Load += new global::System.EventHandler(this.Fmain_Load); + this.MSmenu.ResumeLayout(false); + this.MSmenu.PerformLayout(); + base.ResumeLayout(false); + base.PerformLayout(); + } + + // Token: 0x04000003 RID: 3 + private global::System.ComponentModel.IContainer components = null; + + // Token: 0x04000004 RID: 4 + private global::System.Windows.Forms.MenuStrip MSmenu; + + // Token: 0x04000005 RID: 5 + private global::System.Windows.Forms.ToolStripMenuItem menuToolStripMenuItem; + + // Token: 0x04000006 RID: 6 + private global::System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem; + + // Token: 0x04000007 RID: 7 + private global::System.Windows.Forms.ToolStripSeparator toolStripMenuItem1; + + // Token: 0x04000008 RID: 8 + private global::System.Windows.Forms.ToolStripMenuItem closeToolStripMenuItem; + + // Token: 0x04000009 RID: 9 + private global::System.Windows.Forms.ToolStripMenuItem timerToolStripMenuItem; + + // Token: 0x0400000A RID: 10 + private global::System.Windows.Forms.ToolStripMenuItem cancelToolStripMenuItem; + + // Token: 0x0400000B RID: 11 + private global::System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2; + + // Token: 0x0400000C RID: 12 + private global::System.Windows.Forms.ToolStripMenuItem startToolStripMenuItem; + + // Token: 0x0400000D RID: 13 + private global::System.Windows.Forms.ToolStripSeparator toolStripMenuItem3; + + // Token: 0x0400000E RID: 14 + private global::System.Windows.Forms.ToolStripMenuItem toolStripMenuItem4; + + // Token: 0x0400000F RID: 15 + private global::System.Windows.Forms.ToolStripMenuItem daysToolStripMenuItem; + + // Token: 0x04000010 RID: 16 + private global::System.Windows.Forms.ToolStripMenuItem hoursToolStripMenuItem; + + // Token: 0x04000011 RID: 17 + private global::System.Windows.Forms.ToolStripMenuItem minutesToolStripMenuItem; + + // Token: 0x04000012 RID: 18 + private global::System.Windows.Forms.ToolStripMenuItem secondsToolStripMenuItem; + + // Token: 0x04000013 RID: 19 + private global::System.Windows.Forms.Label label1; + + // Token: 0x04000014 RID: 20 + private global::System.Windows.Forms.MaskedTextBox maskedTextBox1; + } +} diff --git a/ShutdownTimer/Fmain.cs b/ShutdownTimer/Fmain.cs new file mode 100644 index 0000000..ccc623c --- /dev/null +++ b/ShutdownTimer/Fmain.cs @@ -0,0 +1,132 @@ +using System; +using System.ComponentModel; +using System.Diagnostics; +using System.Drawing; +using System.Windows.Forms; + +namespace ShutdownTimer +{ + // Token: 0x02000002 RID: 2 + public partial class Fmain : Form + { + // Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250 + public Fmain() + { + this.InitializeComponent(); + } + + // Token: 0x06000002 RID: 2 RVA: 0x0000207F File Offset: 0x0000027F + private void menuToolStripMenuItem_Click(object sender, EventArgs e) + { + } + + // Token: 0x06000003 RID: 3 RVA: 0x00002082 File Offset: 0x00000282 + private void closeToolStripMenuItem_Click(object sender, EventArgs e) + { + Application.Exit(); + } + + // Token: 0x06000004 RID: 4 RVA: 0x0000208B File Offset: 0x0000028B + private void toolStripMenuItem2_Click(object sender, EventArgs e) + { + Application.Exit(); + Process.Start("CMD.exe", "/C shutdown -a"); + } + + // Token: 0x06000005 RID: 5 RVA: 0x000020A4 File Offset: 0x000002A4 + private void Fmain_Load(object sender, EventArgs e) + { + } + + // Token: 0x06000006 RID: 6 RVA: 0x000020A8 File Offset: 0x000002A8 + private void startToolStripMenuItem_Click(object sender, EventArgs e) + { + if (this.type == "seconds") + { + Process.Start("CMD.exe", "/C shutdown -s -t " + this.maskedTextBox1.Text); + } + if (this.type == "minutes") + { + if (int.Parse(this.maskedTextBox1.Text) >= 1666667) + { + MessageBox.Show("Max. value on minutes are 1666666", "Error", MessageBoxButtons.OK); + return; + } + int num = int.Parse(this.maskedTextBox1.Text) * 60; + Process.Start("CMD.exe", "/C shutdown -s -t " + num); + } + if (this.type == "hours") + { + if (int.Parse(this.maskedTextBox1.Text) >= 27778) + { + MessageBox.Show("Max. value on hours are 27777", "Error", MessageBoxButtons.OK); + return; + } + int num2 = int.Parse(this.maskedTextBox1.Text) * 3600; + Process.Start("CMD.exe", "/C shutdown -s -t " + num2); + } + if (this.type == "days") + { + if (int.Parse(this.maskedTextBox1.Text) >= 1158) + { + MessageBox.Show("Max. value on days are 1157", "Error", MessageBoxButtons.OK); + } + else + { + int num3 = int.Parse(this.maskedTextBox1.Text) * 86400; + Process.Start("CMD.exe", "/C shutdown -s -t " + num3); + } + } + } + + // Token: 0x06000007 RID: 7 RVA: 0x00002260 File Offset: 0x00000460 + private void cancelToolStripMenuItem_Click(object sender, EventArgs e) + { + Process.Start("CMD.exe", "/C shutdown -a"); + } + + // Token: 0x06000008 RID: 8 RVA: 0x00002273 File Offset: 0x00000473 + private void secondsToolStripMenuItem_Click(object sender, EventArgs e) + { + this.type = "seconds"; + Form.ActiveForm.Text = "ShutdownTimer - Seconds"; + this.maskedTextBox1.Mask = "00000000"; + } + + // Token: 0x06000009 RID: 9 RVA: 0x000022A2 File Offset: 0x000004A2 + private void minutesToolStripMenuItem_Click(object sender, EventArgs e) + { + this.type = "minutes"; + Form.ActiveForm.Text = "ShutdownTimer - Minutes"; + this.maskedTextBox1.Mask = "0000000"; + } + + // Token: 0x0600000A RID: 10 RVA: 0x000022D1 File Offset: 0x000004D1 + private void hoursToolStripMenuItem_Click(object sender, EventArgs e) + { + this.type = "hours"; + Form.ActiveForm.Text = "ShutdownTimer - Hours"; + this.maskedTextBox1.Mask = "00000"; + } + + // Token: 0x0600000B RID: 11 RVA: 0x00002300 File Offset: 0x00000500 + private void daysToolStripMenuItem_Click(object sender, EventArgs e) + { + this.type = "days"; + Form.ActiveForm.Text = "ShutdownTimer - Days"; + this.maskedTextBox1.Mask = "0000"; + } + + // Token: 0x0600000C RID: 12 RVA: 0x0000232F File Offset: 0x0000052F + private void aboutToolStripMenuItem_Click(object sender, EventArgs e) + { + MessageBox.Show("By Adrien. Follow TheCoolCat! on YouTube", "About", MessageBoxButtons.OK); + } + + // Token: 0x04000001 RID: 1 + private string type = "seconds"; + + // Token: 0x04000002 RID: 2 + private string shutdownCommand = "/C shutdown -s -t "; + } +} diff --git a/ShutdownTimer/Fmain.resources b/ShutdownTimer/Fmain.resources new file mode 100644 index 0000000..1485e3d Binary files /dev/null and b/ShutdownTimer/Fmain.resources differ diff --git a/ShutdownTimer/Program.cs b/ShutdownTimer/Program.cs new file mode 100644 index 0000000..2c17ff1 --- /dev/null +++ b/ShutdownTimer/Program.cs @@ -0,0 +1,18 @@ +using System; +using System.Windows.Forms; + +namespace ShutdownTimer +{ + // Token: 0x02000003 RID: 3 + internal static class Program + { + // Token: 0x0600000F RID: 15 RVA: 0x00002B99 File Offset: 0x00000D99 + [STAThread] + private static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Fmain()); + } + } +} diff --git a/ShutdownTimer/Properties/AssemblyInfo.cs b/ShutdownTimer/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..468303a --- /dev/null +++ b/ShutdownTimer/Properties/AssemblyInfo.cs @@ -0,0 +1,18 @@ +using System; +using System.Diagnostics; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Runtime.Versioning; + +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyTitle("ShutdownTimer")] +[assembly: AssemblyProduct("ShutdownTimer")] +[assembly: AssemblyCopyright("Copyright © 2022")] +[assembly: ComVisible(false)] +[assembly: Guid("e7ffafc8-d82a-40bf-b7a1-d1c4d6897d7f")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/ShutdownTimer/Properties/Resources.cs b/ShutdownTimer/Properties/Resources.cs new file mode 100644 index 0000000..4ce46a8 --- /dev/null +++ b/ShutdownTimer/Properties/Resources.cs @@ -0,0 +1,72 @@ +using System; +using System.CodeDom.Compiler; +using System.ComponentModel; +using System.Diagnostics; +using System.Drawing; +using System.Globalization; +using System.Resources; +using System.Runtime.CompilerServices; + +namespace ShutdownTimer.Properties +{ + // Token: 0x02000004 RID: 4 + [GeneratedCode("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [DebuggerNonUserCode] + [CompilerGenerated] + internal class Resources + { + // Token: 0x06000010 RID: 16 RVA: 0x00002BB4 File Offset: 0x00000DB4 + internal Resources() + { + } + + // Token: 0x17000001 RID: 1 + // (get) Token: 0x06000011 RID: 17 RVA: 0x00002BC0 File Offset: 0x00000DC0 + [EditorBrowsable(EditorBrowsableState.Advanced)] + internal static ResourceManager ResourceManager + { + get + { + if (object.ReferenceEquals(Resources.resourceMan, null)) + { + ResourceManager resourceManager = new ResourceManager("ShutdownTimer.Properties.Resources", typeof(Resources).Assembly); + Resources.resourceMan = resourceManager; + } + return Resources.resourceMan; + } + } + + // Token: 0x17000002 RID: 2 + // (get) Token: 0x06000012 RID: 18 RVA: 0x00002C0C File Offset: 0x00000E0C + // (set) Token: 0x06000013 RID: 19 RVA: 0x00002C23 File Offset: 0x00000E23 + [EditorBrowsable(EditorBrowsableState.Advanced)] + internal static CultureInfo Culture + { + get + { + return Resources.resourceCulture; + } + set + { + Resources.resourceCulture = value; + } + } + + // Token: 0x17000003 RID: 3 + // (get) Token: 0x06000014 RID: 20 RVA: 0x00002C2C File Offset: 0x00000E2C + internal static Bitmap Computer_Hardware_Shutdown_icon + { + get + { + object @object = Resources.ResourceManager.GetObject("Computer-Hardware-Shutdown-icon", Resources.resourceCulture); + return (Bitmap)@object; + } + } + + // Token: 0x04000015 RID: 21 + private static ResourceManager resourceMan; + + // Token: 0x04000016 RID: 22 + private static CultureInfo resourceCulture; + } +} diff --git a/ShutdownTimer/Properties/Resources.resources b/ShutdownTimer/Properties/Resources.resources new file mode 100644 index 0000000..30a87a4 Binary files /dev/null and b/ShutdownTimer/Properties/Resources.resources differ diff --git a/ShutdownTimer/Properties/Settings.Designer.cs b/ShutdownTimer/Properties/Settings.Designer.cs new file mode 100644 index 0000000..b7a9c51 --- /dev/null +++ b/ShutdownTimer/Properties/Settings.Designer.cs @@ -0,0 +1,26 @@ +using System; +using System.CodeDom.Compiler; +using System.Configuration; +using System.Runtime.CompilerServices; + +namespace ShutdownTimer.Properties +{ + // Token: 0x02000005 RID: 5 + [GeneratedCode("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + [CompilerGenerated] + internal sealed partial class Settings : ApplicationSettingsBase + { + // Token: 0x17000004 RID: 4 + // (get) Token: 0x06000015 RID: 21 RVA: 0x00002C5C File Offset: 0x00000E5C + public static Settings Default + { + get + { + return Settings.defaultInstance; + } + } + + // Token: 0x04000017 RID: 23 + private static Settings defaultInstance = (Settings)SettingsBase.Synchronized(new Settings()); + } +} diff --git a/ShutdownTimer/Properties/Settings.settings b/ShutdownTimer/Properties/Settings.settings new file mode 100644 index 0000000..260af34 --- /dev/null +++ b/ShutdownTimer/Properties/Settings.settings @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/ShutdownTimer/ShutdownTimer.csproj b/ShutdownTimer/ShutdownTimer.csproj new file mode 100644 index 0000000..c0bbf46 --- /dev/null +++ b/ShutdownTimer/ShutdownTimer.csproj @@ -0,0 +1,73 @@ + + + + + Debug + AnyCPU + {0D2CCBAD-F82C-4875-BE8D-C385BEA180F6} + WinExe + Properties + ShutdownTimer + ShutdownTimer + v4.5 + 512 + app.manifest + ShutdownTimer.ico + ShutdownTimer.Program + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + Form + + + Fmain.cs + + + + + + Settings.settings + True + True + + + + + + + + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + \ No newline at end of file diff --git a/ShutdownTimer/ShutdownTimer.ico b/ShutdownTimer/ShutdownTimer.ico new file mode 100644 index 0000000..c2b93ac Binary files /dev/null and b/ShutdownTimer/ShutdownTimer.ico differ diff --git a/ShutdownTimer/app.manifest b/ShutdownTimer/app.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/ShutdownTimer/app.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/ShutdownTimer/bin/Debug/ShutdownTimer.exe b/ShutdownTimer/bin/Debug/ShutdownTimer.exe new file mode 100644 index 0000000..5184279 Binary files /dev/null and b/ShutdownTimer/bin/Debug/ShutdownTimer.exe differ diff --git a/ShutdownTimer/bin/Debug/ShutdownTimer.pdb b/ShutdownTimer/bin/Debug/ShutdownTimer.pdb new file mode 100644 index 0000000..61b78a6 Binary files /dev/null and b/ShutdownTimer/bin/Debug/ShutdownTimer.pdb differ diff --git a/ShutdownTimer/bin/Debug/ShutdownTimer.vshost.exe b/ShutdownTimer/bin/Debug/ShutdownTimer.vshost.exe new file mode 100644 index 0000000..681ab77 Binary files /dev/null and b/ShutdownTimer/bin/Debug/ShutdownTimer.vshost.exe differ diff --git a/ShutdownTimer/bin/Debug/ShutdownTimer.vshost.exe.manifest b/ShutdownTimer/bin/Debug/ShutdownTimer.vshost.exe.manifest new file mode 100644 index 0000000..061c9ca --- /dev/null +++ b/ShutdownTimer/bin/Debug/ShutdownTimer.vshost.exe.manifest @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/ShutdownTimer/obj/Debug/DesignTimeResolveAssemblyReferences.cache b/ShutdownTimer/obj/Debug/DesignTimeResolveAssemblyReferences.cache new file mode 100644 index 0000000..f8aaa23 Binary files /dev/null and b/ShutdownTimer/obj/Debug/DesignTimeResolveAssemblyReferences.cache differ diff --git a/ShutdownTimer/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/ShutdownTimer/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..5ebe676 Binary files /dev/null and b/ShutdownTimer/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/ShutdownTimer/obj/Debug/ShutdownTimer.csproj.FileListAbsolute.txt b/ShutdownTimer/obj/Debug/ShutdownTimer.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..6cbbe7b --- /dev/null +++ b/ShutdownTimer/obj/Debug/ShutdownTimer.csproj.FileListAbsolute.txt @@ -0,0 +1,5 @@ +C:\Users\Administrator\Documents\ShutdownTimerSource\ShutdownTimer\bin\Debug\ShutdownTimer.exe +C:\Users\Administrator\Documents\ShutdownTimerSource\ShutdownTimer\bin\Debug\ShutdownTimer.pdb +C:\Users\Administrator\Documents\ShutdownTimerSource\ShutdownTimer\obj\Debug\ShutdownTimer.csprojResolveAssemblyReference.cache +C:\Users\Administrator\Documents\ShutdownTimerSource\ShutdownTimer\obj\Debug\ShutdownTimer.exe +C:\Users\Administrator\Documents\ShutdownTimerSource\ShutdownTimer\obj\Debug\ShutdownTimer.pdb diff --git a/ShutdownTimer/obj/Debug/ShutdownTimer.csprojResolveAssemblyReference.cache b/ShutdownTimer/obj/Debug/ShutdownTimer.csprojResolveAssemblyReference.cache new file mode 100644 index 0000000..c027d83 Binary files /dev/null and b/ShutdownTimer/obj/Debug/ShutdownTimer.csprojResolveAssemblyReference.cache differ diff --git a/ShutdownTimer/obj/Debug/ShutdownTimer.exe b/ShutdownTimer/obj/Debug/ShutdownTimer.exe new file mode 100644 index 0000000..5184279 Binary files /dev/null and b/ShutdownTimer/obj/Debug/ShutdownTimer.exe differ diff --git a/ShutdownTimer/obj/Debug/ShutdownTimer.pdb b/ShutdownTimer/obj/Debug/ShutdownTimer.pdb new file mode 100644 index 0000000..61b78a6 Binary files /dev/null and b/ShutdownTimer/obj/Debug/ShutdownTimer.pdb differ diff --git a/ShutdownTimer/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs b/ShutdownTimer/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs new file mode 100644 index 0000000..e69de29 diff --git a/ShutdownTimer/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs b/ShutdownTimer/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs new file mode 100644 index 0000000..e69de29 diff --git a/ShutdownTimer/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs b/ShutdownTimer/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs new file mode 100644 index 0000000..e69de29