diff --git a/CREDITS.TXT b/CREDITS.TXT
index 082979afb..1f7f9d8b1 100644
--- a/CREDITS.TXT
+++ b/CREDITS.TXT
@@ -16,7 +16,7 @@ github.com/peterchenadded
Brandon Wulf (github.com/mrwulf)
Pedro Rodrigues (github.com/pedro2555)
github.com/dekelMP
-github.com/farosch
+Faryan Rezagholi (github.com/farosch)
Bruce (github.com/brucetp)
Camilo Alvarez (github.com/jotatsu)
github.com/DamianBis
diff --git a/mRemoteV1/App/ProgramRoot.cs b/mRemoteV1/App/ProgramRoot.cs
index c057ae344..b2fcd4a73 100644
--- a/mRemoteV1/App/ProgramRoot.cs
+++ b/mRemoteV1/App/ProgramRoot.cs
@@ -27,6 +27,8 @@ namespace mRemoteNG.App
CatchAllUnhandledExceptions();
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
+ FrmSplashScreen frmSplashScreen = FrmSplashScreen.getInstance();
+ frmSplashScreen.Show();
Application.Run(FrmMain.Default);
}
diff --git a/mRemoteV1/UI/Forms/FrmSplashScreen.Designer.cs b/mRemoteV1/UI/Forms/FrmSplashScreen.Designer.cs
new file mode 100644
index 000000000..2e36868e2
--- /dev/null
+++ b/mRemoteV1/UI/Forms/FrmSplashScreen.Designer.cs
@@ -0,0 +1,59 @@
+namespace mRemoteNG.UI.Forms
+{
+ partial class FrmSplashScreen
+ {
+ ///
+ /// 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();
+ //
+ // FrmSplashScreen
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
+ this.BackgroundImage = global::mRemoteNG.Resources.Logo;
+ this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.ClientSize = new System.Drawing.Size(492, 128);
+ this.ControlBox = false;
+ this.DoubleBuffered = true;
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
+ this.Margin = new System.Windows.Forms.Padding(2);
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.MinimumSize = new System.Drawing.Size(180, 60);
+ this.Name = "FrmSplashScreen";
+ this.ShowIcon = false;
+ this.ShowInTaskbar = false;
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "frmSplashScreen";
+ this.TopMost = true;
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/mRemoteV1/UI/Forms/FrmSplashScreen.cs b/mRemoteV1/UI/Forms/FrmSplashScreen.cs
new file mode 100644
index 000000000..bf28eaca3
--- /dev/null
+++ b/mRemoteV1/UI/Forms/FrmSplashScreen.cs
@@ -0,0 +1,29 @@
+using System.Windows.Forms;
+
+namespace mRemoteNG.UI.Forms
+{
+ public partial class FrmSplashScreen : Form
+ {
+ static FrmSplashScreen instance = null;
+
+ private FrmSplashScreen() => InitializeComponent();
+
+ public static FrmSplashScreen getInstance()
+ {
+ if (instance == null)
+ instance = new FrmSplashScreen();
+ return instance;
+ }
+
+ protected override CreateParams CreateParams
+ {
+ get
+ {
+ CreateParams cp = base.CreateParams;
+ // turn on WS_EX_TOOLWINDOW style bit
+ cp.ExStyle |= 0x80;
+ return cp;
+ }
+ }
+ }
+}
diff --git a/mRemoteV1/UI/Forms/FrmSplashScreen.resx b/mRemoteV1/UI/Forms/FrmSplashScreen.resx
new file mode 100644
index 000000000..1af7de150
--- /dev/null
+++ b/mRemoteV1/UI/Forms/FrmSplashScreen.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/mRemoteV1/UI/Forms/frmMain.cs b/mRemoteV1/UI/Forms/frmMain.cs
index bb2138216..94398736d 100644
--- a/mRemoteV1/UI/Forms/frmMain.cs
+++ b/mRemoteV1/UI/Forms/frmMain.cs
@@ -189,6 +189,9 @@ namespace mRemoteNG.UI.Forms
if (!panelAdder.DoesPanelExist(panelName))
panelAdder.AddPanel(panelName);
}
+
+ FrmSplashScreen frmSplashScreen = FrmSplashScreen.getInstance();
+ frmSplashScreen.Close();
}
private void ApplyLanguage()
diff --git a/mRemoteV1/mRemoteV1.csproj b/mRemoteV1/mRemoteV1.csproj
index 08fe542fa..d8c75d566 100644
--- a/mRemoteV1/mRemoteV1.csproj
+++ b/mRemoteV1/mRemoteV1.csproj
@@ -485,6 +485,12 @@
frmOptions.cs
+
+ Form
+
+
+ FrmSplashScreen.cs
+
Form
@@ -795,6 +801,9 @@
frmOptions.cs
+
+ FrmSplashScreen.cs
+
InputBox.cs