diff --git a/DS4Windows/DS4Forms/Alreadyrunning.Designer.cs b/DS4Windows/DS4Forms/Alreadyrunning.Designer.cs deleted file mode 100644 index 28ebf6e..0000000 --- a/DS4Windows/DS4Forms/Alreadyrunning.Designer.cs +++ /dev/null @@ -1,48 +0,0 @@ -namespace DS4Windows -{ - partial class Alreadyrunning - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.SuspendLayout(); - // - // Alreadyrunning - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(226, 43); - this.Name = "Alreadyrunning"; - this.ShowInTaskbar = false; - this.Text = "Alreadyrunning"; - this.ResumeLayout(false); - - } - - #endregion - - } -} \ No newline at end of file diff --git a/DS4Windows/DS4Forms/Alreadyrunning.cs b/DS4Windows/DS4Forms/Alreadyrunning.cs deleted file mode 100644 index 195af0a..0000000 --- a/DS4Windows/DS4Forms/Alreadyrunning.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Data; -using System.Diagnostics; -using System.Drawing; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows.Forms; - -namespace DS4Windows -{ - public partial class Alreadyrunning : Form - { - Stopwatch sw; - - public Alreadyrunning() - { - InitializeComponent(); - this.WindowState = FormWindowState.Minimized; - Hide(); - Timer t = new Timer(); - t.Start(); - t.Tick += t_Tick; - sw = new Stopwatch(); - sw.Start(); - } - - void t_Tick(object sender, EventArgs e) - { - if (sw.ElapsedMilliseconds >= 10) - this.Close(); - } - } -} diff --git a/DS4Windows/DS4Forms/Alreadyrunning.resx b/DS4Windows/DS4Forms/Alreadyrunning.resx deleted file mode 100644 index 1af7de1..0000000 --- a/DS4Windows/DS4Forms/Alreadyrunning.resx +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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/DS4Windows/DS4Windows.csproj b/DS4Windows/DS4Windows.csproj index ba5bb6b..7e06a21 100644 --- a/DS4Windows/DS4Windows.csproj +++ b/DS4Windows/DS4Windows.csproj @@ -180,12 +180,6 @@ - - Form - - - Alreadyrunning.cs - Form @@ -261,9 +255,6 @@ - - Alreadyrunning.cs - DS4Form.cs Designer