Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Commit

Permalink
added search bar default text, updated v to 112
Browse files Browse the repository at this point in the history
  • Loading branch information
potatoes1286 committed Mar 6, 2021
1 parent b71110f commit b4e54d9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions ModInstaller/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion ModInstaller/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ void startdebugconsole()

private void LoadGUI(object sender, EventArgs e)
{
AutoUpdater.InstalledVersion = new Version("1.1.1");
AutoUpdater.InstalledVersion = new Version("1.1.2");
AutoUpdater.Start("https://raw.githubusercontent.com/WFIOST/H3VR-Mod-Installer-Database/main/Database/updateinfo.xml");
//displays screen if out of date, updates automatically. no downside other than it uses fucking xml -- potaotes
//also note it gets the current ver from the assembly file ver, so make sure to update that!
Expand All @@ -170,6 +170,8 @@ private void LoadGUI(object sender, EventArgs e)
UpdateCatagories();
DisEnaButton.Hide();

textBox1.Text = "Search for mod name here...";

CatagoriesComboBox.SelectedIndex = 0;
}

Expand Down Expand Up @@ -614,6 +616,13 @@ private void textBox1_TextChanged(object sender, EventArgs e)
{
UpdateModList("n/a", textBox1.Text );
}
private void textBox1_Click(object sender, EventArgs e)
{
if (textBox1.Text == "Search for mod name here...")
{
textBox1.Text = "";
}
}


private void button1_Click(object sender, EventArgs e)
Expand Down

0 comments on commit b4e54d9

Please sign in to comment.