diff --git a/src/Moxo QuickWeb/Splash.Designer.cs b/src/Moxo QuickWeb/Splash.Designer.cs index 159430a..4bab95f 100644 --- a/src/Moxo QuickWeb/Splash.Designer.cs +++ b/src/Moxo QuickWeb/Splash.Designer.cs @@ -35,6 +35,7 @@ private void InitializeComponent() this.Status = new System.Windows.Forms.Label(); this.StartApplication = new System.Windows.Forms.Timer(this.components); this.Version = new System.Windows.Forms.Label(); + this.StartFileEditor = new System.Windows.Forms.Timer(this.components); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox3)).BeginInit(); this.SuspendLayout(); @@ -90,10 +91,15 @@ private void InitializeComponent() this.Version.Text = "Version: "; this.Version.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // + // StartFileEditor + // + this.StartFileEditor.Interval = 2512; + this.StartFileEditor.Tick += new System.EventHandler(this.StartFileEditor_Tick); + // // Splash // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.BackgroundImage = global::Moxo_QuickWeb.Properties.Resources.MoxoBackground_Color; this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.ClientSize = new System.Drawing.Size(559, 267); @@ -121,6 +127,7 @@ private void InitializeComponent() private System.Windows.Forms.Label Status; private System.Windows.Forms.Timer StartApplication; private System.Windows.Forms.Label Version; + private System.Windows.Forms.Timer StartFileEditor; } } diff --git a/src/Moxo QuickWeb/Splash.cs b/src/Moxo QuickWeb/Splash.cs index 8368679..f686cd3 100644 --- a/src/Moxo QuickWeb/Splash.cs +++ b/src/Moxo QuickWeb/Splash.cs @@ -19,9 +19,17 @@ public Splash() InitializeComponent(); string vertext = "Version: " + Properties.Settings.Default.Version + "(" + Properties.Settings.Default.BuildVersion + ")"; Version.Text = vertext; - CheckDirectories(); Properties.Settings.Default.dotLX_tmpICO = null; Properties.Settings.Default.Save(); + + if (String.IsNullOrWhiteSpace(Properties.Settings.Default.LaunchArg)) + { + CheckDirectories(); + } + else + { + StartFileEditor.Start(); + } } private void CheckDirectories() @@ -54,5 +62,14 @@ private void StartApplication_Tick(object sender, EventArgs e) endpoint.Show(); this.Hide(); } + + private void StartFileEditor_Tick(object sender, EventArgs e) + { + StartFileEditor.Stop(); + + LXEditor endpoint = new LXEditor(); + endpoint.Show(); + this.Hide(); + } } } diff --git a/src/Moxo QuickWeb/Update.Designer.cs b/src/Moxo QuickWeb/Update.Designer.cs index 750c776..c310629 100644 --- a/src/Moxo QuickWeb/Update.Designer.cs +++ b/src/Moxo QuickWeb/Update.Designer.cs @@ -82,8 +82,8 @@ private void InitializeComponent() // // Update // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; this.BackColor = System.Drawing.Color.White; this.ClientSize = new System.Drawing.Size(408, 170); this.ControlBox = false;