add ShowBox to WriteConfigValues
This commit is contained in:
parent
1cf0758ef0
commit
2b871ad56c
|
|
@ -119,8 +119,7 @@ namespace NovetusLauncher
|
|||
|
||||
void Button5Click(object sender, EventArgs e)
|
||||
{
|
||||
launcherForm.WriteConfigValues();
|
||||
MessageBox.Show("Config Saved!");
|
||||
launcherForm.WriteConfigValues(true);
|
||||
}
|
||||
|
||||
void TextBox2TextChanged(object sender, EventArgs e)
|
||||
|
|
|
|||
|
|
@ -815,11 +815,15 @@ namespace NovetusLauncher
|
|||
ReadClientValues(initial);
|
||||
}
|
||||
|
||||
public void WriteConfigValues()
|
||||
public void WriteConfigValues(bool ShowBox = false)
|
||||
{
|
||||
GlobalFuncs.Config(GlobalPaths.ConfigDir + "\\" + GlobalPaths.ConfigName, true);
|
||||
GlobalFuncs.ReadClientValues(ConsoleBox);
|
||||
GlobalFuncs.ConsolePrint("Config Saved.", 3, ConsoleBox);
|
||||
if (ShowBox)
|
||||
{
|
||||
MessageBox.Show("Config Saved!");
|
||||
}
|
||||
}
|
||||
|
||||
public void WriteCustomizationValues()
|
||||
|
|
|
|||
Loading…
Reference in New Issue