1.2 Snapshot (7498.25322.1)

This commit is contained in:
Bitl 2020-07-12 14:19:24 -07:00
parent c2db84d6d1
commit 50ed3c83b9
4 changed files with 35 additions and 52 deletions

View File

@ -19,9 +19,12 @@ namespace Novetus.ClientScriptTester
private void ClientScriptTestForm_Load(object sender, EventArgs e) private void ClientScriptTestForm_Load(object sender, EventArgs e)
{ {
foreach (string str in LocalVars.SharedArgs) foreach (string str in LocalVars.SharedArgs)
{
if (!string.IsNullOrWhiteSpace(str))
{ {
OutputBox.AppendText(str + LocalVars.DoubleSpacedNewLine); OutputBox.AppendText(str + LocalVars.DoubleSpacedNewLine);
} }
}
OutputBox.SelectionStart = 0; OutputBox.SelectionStart = 0;
OutputBox.ScrollToCaret(); OutputBox.ScrollToCaret();

View File

@ -2,8 +2,7 @@
* TODO: * TODO:
* *
* change control names for all forms * change control names for all forms
* add regions to rest of forms. Launcher forms are left! * Make launcher form line count smaller
* Finish Rise of the Killbots update
*/ */
#region Global Variables #region Global Variables

View File

@ -1,11 +1,4 @@
/* #region Usings
* Created by SharpDevelop.
* User: BITL-Gaming
* Date: 10/7/2016
* Time: 3:01 PM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using Mono.Nat; using Mono.Nat;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
@ -15,29 +8,24 @@ using System.Globalization;
using System.IO; using System.IO;
using System.Reflection; using System.Reflection;
using System.Windows.Forms; using System.Windows.Forms;
#endregion
namespace NovetusLauncher namespace NovetusLauncher
{ {
/// <summary> #region LauncherForm - Compact
/// Description of MainForm.
/// </summary>
public partial class LauncherFormCompact : Form public partial class LauncherFormCompact : Form
{ {
DiscordRPC.EventHandlers handlers; #region Private Variables
private DiscordRPC.EventHandlers handlers;
#endregion
#region Constructor
public LauncherFormCompact() public LauncherFormCompact()
{ {
_fieldsTreeCache = new TreeView(); _fieldsTreeCache = new TreeView();
//
// The InitializeComponent() call is required for Windows Forms designer support.
//
InitializeComponent(); InitializeComponent();
//
// TODO: Add constructor code after the InitializeComponent() call.
//
} }
#endregion
#region UPnP #region UPnP
public void InitUPnP() public void InitUPnP()
@ -214,6 +202,7 @@ namespace NovetusLauncher
} }
#endregion #endregion
#region Form Events
async void tabControl1_SelectedIndexChanged(object sender, EventArgs e) async void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
{ {
switch (tabControl1.SelectedTab) switch (tabControl1.SelectedTab)
@ -262,8 +251,7 @@ namespace NovetusLauncher
{ {
if (!string.IsNullOrWhiteSpace(str)) if (!string.IsNullOrWhiteSpace(str))
{ {
textBox3.AppendText(str); textBox3.AppendText(str + Environment.NewLine);
textBox3.AppendText(Environment.NewLine);
} }
} }
textBox3.SelectionStart = 0; textBox3.SelectionStart = 0;
@ -1232,5 +1220,7 @@ namespace NovetusLauncher
break; break;
} }
} }
#endregion
} }
#endregion
} }

View File

@ -1,11 +1,4 @@
/* #region Usings
* Created by SharpDevelop.
* User: BITL-Gaming
* Date: 10/7/2016
* Time: 3:01 PM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Drawing; using System.Drawing;
@ -16,31 +9,27 @@ using System.ComponentModel;
using System.Reflection; using System.Reflection;
using Mono.Nat; using Mono.Nat;
using System.Globalization; using System.Globalization;
#endregion
namespace NovetusLauncher namespace NovetusLauncher
{ {
/// <summary> #region LauncherForm - Extended
/// Description of MainForm.
/// </summary>
public partial class LauncherFormExtended : Form public partial class LauncherFormExtended : Form
{ {
DiscordRPC.EventHandlers handlers; #region Private Variables
private DiscordRPC.EventHandlers handlers;
#endregion
#region Constructor
public LauncherFormExtended() public LauncherFormExtended()
{ {
_fieldsTreeCache = new TreeView(); _fieldsTreeCache = new TreeView();
//
// The InitializeComponent() call is required for Windows Forms designer support.
//
InitializeComponent(); InitializeComponent();
Size = new Size(745, 377); Size = new Size(745, 377);
panel2.Size = new Size(646, 272); panel2.Size = new Size(646, 272);
//
// TODO: Add constructor code after the InitializeComponent() call.
//
} }
#endregion
#region UPnP #region UPnP
public void InitUPnP() public void InitUPnP()
@ -217,6 +206,7 @@ namespace NovetusLauncher
} }
#endregion #endregion
#region Form Events
async void tabControl1_SelectedIndexChanged(object sender, EventArgs e) async void tabControl1_SelectedIndexChanged(object sender, EventArgs e)
{ {
switch (tabControl1.SelectedTab) switch (tabControl1.SelectedTab)
@ -265,8 +255,7 @@ namespace NovetusLauncher
{ {
if (!string.IsNullOrWhiteSpace(str)) if (!string.IsNullOrWhiteSpace(str))
{ {
textBox3.AppendText(str); textBox3.AppendText(str + Environment.NewLine);
textBox3.AppendText(Environment.NewLine);
} }
} }
textBox3.SelectionStart = 0; textBox3.SelectionStart = 0;
@ -1292,5 +1281,7 @@ namespace NovetusLauncher
break; break;
} }
} }
#endregion
} }
#endregion
} }