/// <summary> /// Label Refresh /// </summary> /// <param name="s">Stuff Data</param> /// <param name="StuffLabel">Stuff Name LinkLabel</param> /// <param name="DetailLabel">Stuff Price Label</param> private void CheckStuff(Stuff s, LinkLabel StuffLabel, Label DetailLabel) { DetailLabel.Text = ""; DetailLabel.Visible = false; StuffLabel.LinkArea = new LinkArea(0, 0); //if (s.sSellingPoint.Contains(Stuff.SellerName.요리)) if (s.sSellingPoint.Contains(Seller.toString(14))) { StuffLabel.LinkArea = new LinkArea(0, StuffLabel.Text.Length); } int i; if ((i = s.sPrice) != 0) { DetailLabel.Visible = true; DetailLabel.Text = "(" + i.ToString() + " G)"; DetailLabel.Location = new Point(StuffLabel.Location.X + StuffLabel.Width, DetailLabel.Location.Y); } else { DetailLabel.Location = new Point(StuffLabel.Location.X + StuffLabel.Width, DetailLabel.Location.Y); } }
private bool FindStuffName(Stuff o) { if (o.sName == ChkKeyword) return true; else return false; }