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