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

Commit b4e54d9

Browse files
committed
added search bar default text, updated v to 112
1 parent b71110f commit b4e54d9

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

ModInstaller/Form1.Designer.cs

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ModInstaller/Form1.cs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ void startdebugconsole()
146146

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

173+
textBox1.Text = "Search for mod name here...";
174+
173175
CatagoriesComboBox.SelectedIndex = 0;
174176
}
175177

@@ -614,6 +616,13 @@ private void textBox1_TextChanged(object sender, EventArgs e)
614616
{
615617
UpdateModList("n/a", textBox1.Text );
616618
}
619+
private void textBox1_Click(object sender, EventArgs e)
620+
{
621+
if (textBox1.Text == "Search for mod name here...")
622+
{
623+
textBox1.Text = "";
624+
}
625+
}
617626

618627

619628
private void button1_Click(object sender, EventArgs e)

0 commit comments

Comments
 (0)