public void ShowServer() { HideSelection(); selectionButton.Show(); startServerButton.Show(); portBox.Show(); ScaleControls(); }
public void ShowClient() { HideSelection(); selectionButton.Show(); startClientButton.Show(); portBox.Show(); addressBox.Show(); nameBox.Show(); ScaleControls(); }
public void UpdateItemInfo() { if (itemSelected == -1) { return; } itemInfo.Show(); useButton.Show(); dropButton.Show(); ItemData item = itemData[itemSelected]; string text = item.GetInfo() + ":\n"; text += item.GetMoreInfo(); itemInfo.SetText(text); }