private void button1_Click(object sender, EventArgs e) { int price = Int32.Parse(lbPrice.Text); if (shop.GetCurrentDiamond() >= price) { ManageUserAction.AddToOwnCharacterList(lbName.Text); shop.LoadAllCharacter(); shop.UpdateDiamond(price); } else { MessageBox.Show("Not enough diamond!"); } }