예제 #1
0
 public void ShowServer()
 {
     HideSelection();
     selectionButton.Show();
     startServerButton.Show();
     portBox.Show();
     ScaleControls();
 }
예제 #2
0
 public void ShowClient()
 {
     HideSelection();
     selectionButton.Show();
     startClientButton.Show();
     portBox.Show();
     addressBox.Show();
     nameBox.Show();
     ScaleControls();
 }
예제 #3
0
    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);
    }