private void GetDescription(int c) { if (c > MainText.Length - 1) { c = MainText.Length - 1; } string texts = MainText.Substring(0, c); rb.Clear(); rb.Text = texts; SetAsBold(package.GetFullName()); }