private void UpdateAmountLabel() { lblAmount.Clear(); if (item != null && item.Amount >= 0) { lblAmount.Append(item.Amount.ToString()); } }
private void ClearText() { text.Clear(); textLine.Clear(); }
private void UpdateLabel() { label.Clear(); label.Append(text ?? ""); this.Resize(label.TextWidth + TabPadding * 2, tabHeight); }