Skip to content

Commit

Permalink
update form settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
yakobie committed Apr 23, 2020
1 parent 886c046 commit 417dc09
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions acnhpoker/Form1.Designer.cs

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

10 changes: 5 additions & 5 deletions acnhpoker/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private DataTable loadItemCSV(string filePath)

private void connectBtn_Click(object sender, EventArgs e)
{


string ipPattern = @"\b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b";

Expand Down Expand Up @@ -267,7 +267,11 @@ private void updateInventory()
btn.Text = "";

if (itemID == "FFFE")
{
btn.Image = null;
btn.Text = "";
continue;
}

string itemPath = getImagePathFromID(itemID);

Expand Down Expand Up @@ -532,8 +536,6 @@ private void deleteItemBtn_Click(object sender, EventArgs e)
int slotId = int.Parse(owner.SourceControl.Tag.ToString());
utilities.DeleteSlot(s, slotId);



var btnParent = (Button)owner.SourceControl;
btnParent.Image = null;
btnParent.Text = "";
Expand Down Expand Up @@ -610,9 +612,7 @@ private void spawnAllBtn_Click(object sender, EventArgs e)

private void refreshBtn_Click(object sender, EventArgs e)
{

updateInventory();

}
}
}

0 comments on commit 417dc09

Please sign in to comment.