form renaming and layout stuff
This commit is contained in:
parent
52206710c4
commit
0398d0fcff
|
|
@ -126,7 +126,7 @@ public class LauncherFuncs
|
||||||
ini.IniWriteValue(section, "GraphicsMode", Settings.GraphicsOptions.GetIntForMode(GlobalVars.UserConfiguration.GraphicsMode).ToString());
|
ini.IniWriteValue(section, "GraphicsMode", Settings.GraphicsOptions.GetIntForMode(GlobalVars.UserConfiguration.GraphicsMode).ToString());
|
||||||
ini.IniWriteValue(section, "ReShade", GlobalVars.UserConfiguration.ReShade.ToString());
|
ini.IniWriteValue(section, "ReShade", GlobalVars.UserConfiguration.ReShade.ToString());
|
||||||
ini.IniWriteValue(section, "QualityLevel", Settings.QualityOptions.GetIntForLevel(GlobalVars.UserConfiguration.QualityLevel).ToString());
|
ini.IniWriteValue(section, "QualityLevel", Settings.QualityOptions.GetIntForLevel(GlobalVars.UserConfiguration.QualityLevel).ToString());
|
||||||
ini.IniWriteValue(section, "Layout", Settings.UIOptions.GetIntForStyle(GlobalVars.UserConfiguration.LauncherLayout).ToString());
|
ini.IniWriteValue(section, "Style", Settings.UIOptions.GetIntForStyle(GlobalVars.UserConfiguration.LauncherLayout).ToString());
|
||||||
ini.IniWriteValue(section, "AssetLocalizerSaveBackups", GlobalVars.UserConfiguration.AssetLocalizerSaveBackups.ToString());
|
ini.IniWriteValue(section, "AssetLocalizerSaveBackups", GlobalVars.UserConfiguration.AssetLocalizerSaveBackups.ToString());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
@ -135,7 +135,7 @@ public class LauncherFuncs
|
||||||
string closeonlaunch, userid, name, selectedclient,
|
string closeonlaunch, userid, name, selectedclient,
|
||||||
map, port, limit, upnp,
|
map, port, limit, upnp,
|
||||||
disablehelpmessage, tripcode, discord, mappath, mapsnip,
|
disablehelpmessage, tripcode, discord, mappath, mapsnip,
|
||||||
graphics, reshade, qualitylevel, layout, savebackups;
|
graphics, reshade, qualitylevel, style, savebackups;
|
||||||
|
|
||||||
INIFile ini = new INIFile(cfgpath);
|
INIFile ini = new INIFile(cfgpath);
|
||||||
|
|
||||||
|
|
@ -157,7 +157,7 @@ public class LauncherFuncs
|
||||||
graphics = ini.IniReadValue(section, "GraphicsMode", Settings.GraphicsOptions.GetIntForMode(GlobalVars.UserConfiguration.GraphicsMode).ToString());
|
graphics = ini.IniReadValue(section, "GraphicsMode", Settings.GraphicsOptions.GetIntForMode(GlobalVars.UserConfiguration.GraphicsMode).ToString());
|
||||||
reshade = ini.IniReadValue(section, "ReShade", GlobalVars.UserConfiguration.ReShade.ToString());
|
reshade = ini.IniReadValue(section, "ReShade", GlobalVars.UserConfiguration.ReShade.ToString());
|
||||||
qualitylevel = ini.IniReadValue(section, "QualityLevel", Settings.QualityOptions.GetIntForLevel(GlobalVars.UserConfiguration.QualityLevel).ToString());
|
qualitylevel = ini.IniReadValue(section, "QualityLevel", Settings.QualityOptions.GetIntForLevel(GlobalVars.UserConfiguration.QualityLevel).ToString());
|
||||||
layout = ini.IniReadValue(section, "Layout", Settings.UIOptions.GetIntForStyle(GlobalVars.UserConfiguration.LauncherLayout).ToString());
|
style = ini.IniReadValue(section, "Style", Settings.UIOptions.GetIntForStyle(GlobalVars.UserConfiguration.LauncherLayout).ToString());
|
||||||
savebackups = ini.IniReadValue(section, "AssetLocalizerSaveBackups", GlobalVars.UserConfiguration.AssetLocalizerSaveBackups.ToString());
|
savebackups = ini.IniReadValue(section, "AssetLocalizerSaveBackups", GlobalVars.UserConfiguration.AssetLocalizerSaveBackups.ToString());
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|
@ -206,7 +206,7 @@ public class LauncherFuncs
|
||||||
GlobalVars.UserConfiguration.GraphicsMode = Settings.GraphicsOptions.GetModeForInt(Convert.ToInt32(graphics));
|
GlobalVars.UserConfiguration.GraphicsMode = Settings.GraphicsOptions.GetModeForInt(Convert.ToInt32(graphics));
|
||||||
GlobalVars.UserConfiguration.ReShade = Convert.ToBoolean(reshade);
|
GlobalVars.UserConfiguration.ReShade = Convert.ToBoolean(reshade);
|
||||||
GlobalVars.UserConfiguration.QualityLevel = Settings.QualityOptions.GetLevelForInt(Convert.ToInt32(qualitylevel));
|
GlobalVars.UserConfiguration.QualityLevel = Settings.QualityOptions.GetLevelForInt(Convert.ToInt32(qualitylevel));
|
||||||
GlobalVars.UserConfiguration.LauncherLayout = Settings.UIOptions.GetStyleForInt(Convert.ToInt32(layout));
|
GlobalVars.UserConfiguration.LauncherLayout = Settings.UIOptions.GetStyleForInt(Convert.ToInt32(style));
|
||||||
GlobalVars.UserConfiguration.AssetLocalizerSaveBackups = Convert.ToBoolean(savebackups);
|
GlobalVars.UserConfiguration.AssetLocalizerSaveBackups = Convert.ToBoolean(savebackups);
|
||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
//This ALWAYS gets lost whenever I compile. WTF VS?
|
//This ALWAYS gets lost whenever I compile. WTF VS?
|
||||||
namespace NovetusLauncher
|
namespace NovetusLauncher
|
||||||
{
|
{
|
||||||
partial class MainForm_legacy
|
partial class LauncherFormCompact
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Designer variable used to keep track of non-visual components.
|
/// Designer variable used to keep track of non-visual components.
|
||||||
|
|
@ -43,7 +43,7 @@ namespace NovetusLauncher
|
||||||
|
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm_legacy));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LauncherFormCompact));
|
||||||
this.tabControl1 = new TabControlWithoutHeader(2);
|
this.tabControl1 = new TabControlWithoutHeader(2);
|
||||||
this.tabPage1 = new System.Windows.Forms.TabPage();
|
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||||
this.label2 = new System.Windows.Forms.Label();
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
|
@ -16,18 +16,17 @@ using System.ComponentModel;
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
using Mono.Nat;
|
using Mono.Nat;
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
//using LiteNetLib;
|
|
||||||
|
|
||||||
namespace NovetusLauncher
|
namespace NovetusLauncher
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Description of MainForm.
|
/// Description of MainForm.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class MainForm_legacy : Form
|
public partial class LauncherFormCompact : Form
|
||||||
{
|
{
|
||||||
IDiscordRPC.EventHandlers handlers;
|
IDiscordRPC.EventHandlers handlers;
|
||||||
|
|
||||||
public MainForm_legacy()
|
public LauncherFormCompact()
|
||||||
{
|
{
|
||||||
_fieldsTreeCache = new TreeView();
|
_fieldsTreeCache = new TreeView();
|
||||||
//
|
//
|
||||||
|
|
@ -1488,7 +1487,7 @@ namespace NovetusLauncher
|
||||||
|
|
||||||
void SettingsButtonClick(object sender, EventArgs e)
|
void SettingsButtonClick(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
NovetusSettings im = new NovetusSettings();
|
LauncherFormCompactSettings im = new LauncherFormCompactSettings();
|
||||||
im.Show();
|
im.Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
namespace NovetusLauncher
|
namespace NovetusLauncher
|
||||||
{
|
{
|
||||||
partial class NovetusSettings
|
partial class LauncherFormCompactSettings
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NovetusSettings));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LauncherFormCompactSettings));
|
||||||
this.label3 = new System.Windows.Forms.Label();
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
this.comboBox2 = new System.Windows.Forms.ComboBox();
|
this.comboBox2 = new System.Windows.Forms.ComboBox();
|
||||||
this.label31 = new System.Windows.Forms.Label();
|
this.label31 = new System.Windows.Forms.Label();
|
||||||
|
|
@ -1,17 +1,11 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Data;
|
|
||||||
using System.Drawing;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace NovetusLauncher
|
namespace NovetusLauncher
|
||||||
{
|
{
|
||||||
public partial class NovetusSettings : Form
|
public partial class LauncherFormCompactSettings : Form
|
||||||
{
|
{
|
||||||
public NovetusSettings()
|
public LauncherFormCompactSettings()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
@ -108,7 +102,14 @@ namespace NovetusLauncher
|
||||||
|
|
||||||
private void NovetusSettings_Load(object sender, EventArgs e)
|
private void NovetusSettings_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
ReadConfigValues();
|
if (GlobalVars.UserConfiguration.LauncherLayout == Settings.UIOptions.Style.Compact)
|
||||||
|
{
|
||||||
|
ReadConfigValues();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Close();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -10,26 +10,28 @@
|
||||||
//This ALWAYS gets lost whenever I compile. WTF VS?
|
//This ALWAYS gets lost whenever I compile. WTF VS?
|
||||||
namespace NovetusLauncher
|
namespace NovetusLauncher
|
||||||
{
|
{
|
||||||
partial class MainForm
|
partial class LauncherFormExtended
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Designer variable used to keep track of non-visual components.
|
/// Designer variable used to keep track of non-visual components.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private System.ComponentModel.IContainer components = null;
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Disposes resources used by the form.
|
/// Disposes resources used by the form.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
protected override void Dispose(bool disposing)
|
protected override void Dispose(bool disposing)
|
||||||
{
|
{
|
||||||
if (disposing) {
|
if (disposing)
|
||||||
if (components != null) {
|
{
|
||||||
components.Dispose();
|
if (components != null)
|
||||||
}
|
{
|
||||||
}
|
components.Dispose();
|
||||||
base.Dispose(disposing);
|
}
|
||||||
}
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This method is required for Windows Forms designer support.
|
/// This method is required for Windows Forms designer support.
|
||||||
|
|
@ -41,7 +43,7 @@ namespace NovetusLauncher
|
||||||
|
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LauncherFormExtended));
|
||||||
this.tabControl1 = new TabControlWithoutHeader(1);
|
this.tabControl1 = new TabControlWithoutHeader(1);
|
||||||
this.tabPage1 = new System.Windows.Forms.TabPage();
|
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||||
this.label24 = new System.Windows.Forms.Label();
|
this.label24 = new System.Windows.Forms.Label();
|
||||||
|
|
@ -1469,81 +1471,81 @@ namespace NovetusLauncher
|
||||||
}
|
}
|
||||||
|
|
||||||
private System.Windows.Forms.Label label17;
|
private System.Windows.Forms.Label label17;
|
||||||
private System.Windows.Forms.CheckBox checkBox4;
|
private System.Windows.Forms.CheckBox checkBox4;
|
||||||
private System.Windows.Forms.Button button6;
|
private System.Windows.Forms.Button button6;
|
||||||
private System.Windows.Forms.TreeView treeView1;
|
private System.Windows.Forms.TreeView treeView1;
|
||||||
private System.Windows.Forms.Label label16;
|
private System.Windows.Forms.Label label16;
|
||||||
private System.Windows.Forms.Label label12;
|
private System.Windows.Forms.Label label12;
|
||||||
private System.Windows.Forms.Label label10;
|
private System.Windows.Forms.Label label10;
|
||||||
private System.Windows.Forms.Label label7;
|
private System.Windows.Forms.Label label7;
|
||||||
private System.Windows.Forms.Label label2;
|
private System.Windows.Forms.Label label2;
|
||||||
private System.Windows.Forms.TabPage tabPage5;
|
private System.Windows.Forms.TabPage tabPage5;
|
||||||
private System.Windows.Forms.Button button23;
|
private System.Windows.Forms.Button button23;
|
||||||
private System.Windows.Forms.Button button22;
|
private System.Windows.Forms.Button button22;
|
||||||
private System.Windows.Forms.Button button7;
|
private System.Windows.Forms.Button button7;
|
||||||
private System.Windows.Forms.PictureBox pictureBox2;
|
private System.Windows.Forms.PictureBox pictureBox2;
|
||||||
private System.Windows.Forms.NumericUpDown numericUpDown3;
|
private System.Windows.Forms.NumericUpDown numericUpDown3;
|
||||||
private System.Windows.Forms.NumericUpDown numericUpDown2;
|
private System.Windows.Forms.NumericUpDown numericUpDown2;
|
||||||
private System.Windows.Forms.NumericUpDown numericUpDown1;
|
private System.Windows.Forms.NumericUpDown numericUpDown1;
|
||||||
private System.Windows.Forms.Button button21;
|
private System.Windows.Forms.Button button21;
|
||||||
private System.Windows.Forms.Label label29;
|
private System.Windows.Forms.Label label29;
|
||||||
private System.Windows.Forms.RichTextBox richTextBox2;
|
private System.Windows.Forms.RichTextBox richTextBox2;
|
||||||
private System.Windows.Forms.TabPage tabPage8;
|
private System.Windows.Forms.TabPage tabPage8;
|
||||||
private System.Windows.Forms.RichTextBox richTextBox1;
|
private System.Windows.Forms.RichTextBox richTextBox1;
|
||||||
private System.Windows.Forms.TabPage tabPage7;
|
private System.Windows.Forms.TabPage tabPage7;
|
||||||
private System.Windows.Forms.Button button19;
|
private System.Windows.Forms.Button button19;
|
||||||
private System.Windows.Forms.Button button18;
|
private System.Windows.Forms.Button button18;
|
||||||
private System.Windows.Forms.Button button16;
|
private System.Windows.Forms.Button button16;
|
||||||
private System.Windows.Forms.Button button17;
|
private System.Windows.Forms.Button button17;
|
||||||
private System.Windows.Forms.Button button12;
|
private System.Windows.Forms.Button button12;
|
||||||
private System.Windows.Forms.Button button13;
|
private System.Windows.Forms.Button button13;
|
||||||
private System.Windows.Forms.Button button14;
|
private System.Windows.Forms.Button button14;
|
||||||
private System.Windows.Forms.Button button15;
|
private System.Windows.Forms.Button button15;
|
||||||
private System.Windows.Forms.Label label36;
|
private System.Windows.Forms.Label label36;
|
||||||
private System.Windows.Forms.Label label37;
|
private System.Windows.Forms.Label label37;
|
||||||
private System.Windows.Forms.Label label39;
|
private System.Windows.Forms.Label label39;
|
||||||
private System.Windows.Forms.Label label38;
|
private System.Windows.Forms.Label label38;
|
||||||
private System.Windows.Forms.Button button11;
|
private System.Windows.Forms.Button button11;
|
||||||
private System.Windows.Forms.Button button10;
|
private System.Windows.Forms.Button button10;
|
||||||
private System.Windows.Forms.Label label14;
|
private System.Windows.Forms.Label label14;
|
||||||
private System.Windows.Forms.Label label21;
|
private System.Windows.Forms.Label label21;
|
||||||
private System.Windows.Forms.ListBox listBox3;
|
private System.Windows.Forms.ListBox listBox3;
|
||||||
private System.Windows.Forms.ListBox listBox4;
|
private System.Windows.Forms.ListBox listBox4;
|
||||||
private System.Windows.Forms.TabPage tabPage6;
|
private System.Windows.Forms.TabPage tabPage6;
|
||||||
private System.Windows.Forms.Button button9;
|
private System.Windows.Forms.Button button9;
|
||||||
private System.Windows.Forms.Button SettingsButton;
|
private System.Windows.Forms.Button SettingsButton;
|
||||||
private System.Windows.Forms.Button UAButton;
|
private System.Windows.Forms.Button UAButton;
|
||||||
private System.Windows.Forms.TextBox textBox6;
|
private System.Windows.Forms.TextBox textBox6;
|
||||||
private System.Windows.Forms.Button button8;
|
private System.Windows.Forms.Button button8;
|
||||||
private System.Windows.Forms.TextBox textBox5;
|
private System.Windows.Forms.TextBox textBox5;
|
||||||
private System.Windows.Forms.Label label35;
|
private System.Windows.Forms.Label label35;
|
||||||
private System.Windows.Forms.Label label30;
|
private System.Windows.Forms.Label label30;
|
||||||
private System.Windows.Forms.Label label28;
|
private System.Windows.Forms.Label label28;
|
||||||
private System.Windows.Forms.Label label27;
|
private System.Windows.Forms.Label label27;
|
||||||
private System.Windows.Forms.CheckBox checkBox3;
|
private System.Windows.Forms.CheckBox checkBox3;
|
||||||
private System.Windows.Forms.Label label26;
|
private System.Windows.Forms.Label label26;
|
||||||
private System.Windows.Forms.Label label25;
|
private System.Windows.Forms.Label label25;
|
||||||
private System.Windows.Forms.Label label15;
|
private System.Windows.Forms.Label label15;
|
||||||
private System.Windows.Forms.TextBox textBox2;
|
private System.Windows.Forms.TextBox textBox2;
|
||||||
private System.Windows.Forms.ListBox listBox2;
|
private System.Windows.Forms.ListBox listBox2;
|
||||||
private System.Windows.Forms.TabPage tabPage3;
|
private System.Windows.Forms.TabPage tabPage3;
|
||||||
private System.Windows.Forms.Button button5;
|
private System.Windows.Forms.Button button5;
|
||||||
private System.Windows.Forms.Button button4;
|
private System.Windows.Forms.Button button4;
|
||||||
private System.Windows.Forms.Label label13;
|
private System.Windows.Forms.Label label13;
|
||||||
private System.Windows.Forms.Label label11;
|
private System.Windows.Forms.Label label11;
|
||||||
private System.Windows.Forms.Button button3;
|
private System.Windows.Forms.Button button3;
|
||||||
private System.Windows.Forms.CheckBox checkBox1;
|
private System.Windows.Forms.CheckBox checkBox1;
|
||||||
private System.Windows.Forms.Label label8;
|
private System.Windows.Forms.Label label8;
|
||||||
private System.Windows.Forms.Label label4;
|
private System.Windows.Forms.Label label4;
|
||||||
private System.Windows.Forms.Button button1;
|
private System.Windows.Forms.Button button1;
|
||||||
private System.Windows.Forms.TextBox textBox1;
|
private System.Windows.Forms.TextBox textBox1;
|
||||||
private System.Windows.Forms.Button button2;
|
private System.Windows.Forms.Button button2;
|
||||||
private System.Windows.Forms.Label label1;
|
private System.Windows.Forms.Label label1;
|
||||||
private System.Windows.Forms.TabPage tabPage2;
|
private System.Windows.Forms.TabPage tabPage2;
|
||||||
private System.Windows.Forms.TabPage tabPage1;
|
private System.Windows.Forms.TabPage tabPage1;
|
||||||
private TabControlWithoutHeader tabControl1;
|
private TabControlWithoutHeader tabControl1;
|
||||||
private System.Windows.Forms.TreeView _fieldsTreeCache;
|
private System.Windows.Forms.TreeView _fieldsTreeCache;
|
||||||
private System.Windows.Forms.Button button24;
|
private System.Windows.Forms.Button button24;
|
||||||
private System.Windows.Forms.Button button25;
|
private System.Windows.Forms.Button button25;
|
||||||
private System.Windows.Forms.Button button26;
|
private System.Windows.Forms.Button button26;
|
||||||
private System.Windows.Forms.Label label18;
|
private System.Windows.Forms.Label label18;
|
||||||
|
|
@ -22,11 +22,11 @@ namespace NovetusLauncher
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Description of MainForm.
|
/// Description of MainForm.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class MainForm : Form
|
public partial class LauncherFormExtended : Form
|
||||||
{
|
{
|
||||||
IDiscordRPC.EventHandlers handlers;
|
IDiscordRPC.EventHandlers handlers;
|
||||||
|
|
||||||
public MainForm()
|
public LauncherFormExtended()
|
||||||
{
|
{
|
||||||
_fieldsTreeCache = new TreeView();
|
_fieldsTreeCache = new TreeView();
|
||||||
//
|
//
|
||||||
|
|
@ -145,17 +145,17 @@
|
||||||
<SubType>Component</SubType>
|
<SubType>Component</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Classes\WinForms\TreeNodeHelper.cs" />
|
<Compile Include="Classes\WinForms\TreeNodeHelper.cs" />
|
||||||
<Compile Include="MainForm\Compact\MainForm_legacy.cs">
|
<Compile Include="LauncherForm\Compact\LauncherFormCompact.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="MainForm\Compact\MainForm_legacy.Designer.cs">
|
<Compile Include="LauncherForm\Compact\LauncherFormCompact.Designer.cs">
|
||||||
<DependentUpon>MainForm_legacy.cs</DependentUpon>
|
<DependentUpon>LauncherFormCompact.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="MainForm\Compact\NovetusSettings.cs">
|
<Compile Include="LauncherForm\Compact\LauncherFormCompactSettings.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="MainForm\Compact\NovetusSettings.Designer.cs">
|
<Compile Include="LauncherForm\Compact\LauncherFormCompactSettings.Designer.cs">
|
||||||
<DependentUpon>NovetusSettings.cs</DependentUpon>
|
<DependentUpon>LauncherFormCompactSettings.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="SDK\ClientinfoCreator.cs">
|
<Compile Include="SDK\ClientinfoCreator.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
|
|
@ -210,11 +210,11 @@
|
||||||
<DesignTime>True</DesignTime>
|
<DesignTime>True</DesignTime>
|
||||||
<DependentUpon>Resources.resx</DependentUpon>
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="MainForm\Extended\MainForm.cs">
|
<Compile Include="LauncherForm\Extended\LauncherFormExtended.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="MainForm\Extended\MainForm.Designer.cs">
|
<Compile Include="LauncherForm\Extended\LauncherFormExtended.Designer.cs">
|
||||||
<DependentUpon>MainForm.cs</DependentUpon>
|
<DependentUpon>LauncherFormExtended.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Program.cs" />
|
<Compile Include="Program.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
|
@ -226,11 +226,11 @@
|
||||||
<EmbeddedResource Include="CharacterCustomization\CharacterCustomization.resx">
|
<EmbeddedResource Include="CharacterCustomization\CharacterCustomization.resx">
|
||||||
<DependentUpon>CharacterCustomization.cs</DependentUpon>
|
<DependentUpon>CharacterCustomization.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="MainForm\Compact\MainForm_legacy.resx">
|
<EmbeddedResource Include="LauncherForm\Compact\LauncherFormCompact.resx">
|
||||||
<DependentUpon>MainForm_legacy.cs</DependentUpon>
|
<DependentUpon>LauncherFormCompact.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="MainForm\Compact\NovetusSettings.resx">
|
<EmbeddedResource Include="LauncherForm\Compact\LauncherFormCompactSettings.resx">
|
||||||
<DependentUpon>NovetusSettings.cs</DependentUpon>
|
<DependentUpon>LauncherFormCompactSettings.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="SDK\ClientinfoCreator.resx">
|
<EmbeddedResource Include="SDK\ClientinfoCreator.resx">
|
||||||
<DependentUpon>ClientinfoCreator.cs</DependentUpon>
|
<DependentUpon>ClientinfoCreator.cs</DependentUpon>
|
||||||
|
|
@ -250,8 +250,8 @@
|
||||||
<EmbeddedResource Include="SDK\SplashTester.resx">
|
<EmbeddedResource Include="SDK\SplashTester.resx">
|
||||||
<DependentUpon>SplashTester.cs</DependentUpon>
|
<DependentUpon>SplashTester.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="MainForm\Extended\MainForm.resx">
|
<EmbeddedResource Include="LauncherForm\Extended\LauncherFormExtended.resx">
|
||||||
<DependentUpon>MainForm.cs</DependentUpon>
|
<DependentUpon>LauncherFormExtended.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="SDK\NovetusSDK.resx">
|
<EmbeddedResource Include="SDK\NovetusSDK.resx">
|
||||||
<DependentUpon>NovetusSDK.cs</DependentUpon>
|
<DependentUpon>NovetusSDK.cs</DependentUpon>
|
||||||
|
|
|
||||||
|
|
@ -36,10 +36,10 @@ namespace NovetusLauncher
|
||||||
switch (GlobalVars.UserConfiguration.LauncherLayout)
|
switch (GlobalVars.UserConfiguration.LauncherLayout)
|
||||||
{
|
{
|
||||||
case Settings.UIOptions.Style.Compact:
|
case Settings.UIOptions.Style.Compact:
|
||||||
Application.Run(new MainForm_legacy());
|
Application.Run(new LauncherFormCompact());
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Application.Run(new MainForm());
|
Application.Run(new LauncherFormExtended());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
namespace NovetusURI
|
namespace NovetusURI
|
||||||
{
|
{
|
||||||
partial class Form1
|
partial class InstallForm
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InstallForm));
|
||||||
this.button1 = new System.Windows.Forms.Button();
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
|
|
@ -3,9 +3,9 @@ using System.Windows.Forms;
|
||||||
|
|
||||||
namespace NovetusURI
|
namespace NovetusURI
|
||||||
{
|
{
|
||||||
public partial class Form1 : Form
|
public partial class InstallForm : Form
|
||||||
{
|
{
|
||||||
public Form1()
|
public InstallForm()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
@ -86,29 +86,29 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Classes\URIReg.cs" />
|
<Compile Include="Classes\URIReg.cs" />
|
||||||
<Compile Include="Form1.cs">
|
<Compile Include="InstallForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Form1.Designer.cs">
|
<Compile Include="InstallForm.Designer.cs">
|
||||||
<DependentUpon>Form1.cs</DependentUpon>
|
<DependentUpon>InstallForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Classes\LocalVars.cs" />
|
<Compile Include="Classes\LocalVars.cs" />
|
||||||
<Compile Include="Program.cs" />
|
<Compile Include="Program.cs" />
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
<Compile Include="URI\LoaderForm.cs">
|
<Compile Include="LoaderForm.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="URI\LoaderForm.Designer.cs">
|
<Compile Include="LoaderForm.Designer.cs">
|
||||||
<DependentUpon>LoaderForm.cs</DependentUpon>
|
<DependentUpon>LoaderForm.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="URI\QuickConfigure.cs">
|
<Compile Include="QuickConfigure.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="URI\QuickConfigure.Designer.cs">
|
<Compile Include="QuickConfigure.Designer.cs">
|
||||||
<DependentUpon>QuickConfigure.cs</DependentUpon>
|
<DependentUpon>QuickConfigure.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<EmbeddedResource Include="Form1.resx">
|
<EmbeddedResource Include="InstallForm.resx">
|
||||||
<DependentUpon>Form1.cs</DependentUpon>
|
<DependentUpon>InstallForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="Properties\Resources.resx">
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
<Generator>ResXFileCodeGenerator</Generator>
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
|
|
@ -120,10 +120,10 @@
|
||||||
<DependentUpon>Resources.resx</DependentUpon>
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
<DesignTime>True</DesignTime>
|
<DesignTime>True</DesignTime>
|
||||||
</Compile>
|
</Compile>
|
||||||
<EmbeddedResource Include="URI\LoaderForm.resx">
|
<EmbeddedResource Include="LoaderForm.resx">
|
||||||
<DependentUpon>LoaderForm.cs</DependentUpon>
|
<DependentUpon>LoaderForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="URI\QuickConfigure.resx">
|
<EmbeddedResource Include="QuickConfigure.resx">
|
||||||
<DependentUpon>QuickConfigure.cs</DependentUpon>
|
<DependentUpon>QuickConfigure.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<None Include="packages.config" />
|
<None Include="packages.config" />
|
||||||
|
|
@ -150,6 +150,9 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="NovetusIcon.ico" />
|
<Content Include="NovetusIcon.ico" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="URI\" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PostBuildEvent>SET path=$(SolutionDir)build
|
<PostBuildEvent>SET path=$(SolutionDir)build
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ namespace NovetusURI
|
||||||
LauncherFuncs.Config(GlobalPaths.ConfigDir + "\\" + GlobalVars.ConfigName, false);
|
LauncherFuncs.Config(GlobalPaths.ConfigDir + "\\" + GlobalVars.ConfigName, false);
|
||||||
if (args.Length == 0)
|
if (args.Length == 0)
|
||||||
{
|
{
|
||||||
Application.Run(new Form1());
|
Application.Run(new InstallForm());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue