Denis Tarasn

Denis Tarasn

  • NA
  • 7
  • 1.6k

help as separate color numbers, text?

May 26 2016 9:51 AM
private void listBox2_SelectedIndexChanged(object sender, EventArgs e)
{
str1 = str;
str1 += listBox2.Text;
wassaw.Text = str1;
TextBox1.ForeColor = Color.Red;
switch (str1)
{
case "??????1" :
TextBox1.Text = "" + Environment.NewLine + "1. ?????? " + Environment.NewLine + "2. ?????? " + Environment.NewLine + "3. ?????? ";
break;
case "??????2" :
TextBox1.Text = "" + Environment.NewLine + "1. ?????? ";
break;
case "???????3" :
TextBox1.Text = "" + Environment.NewLine + "1 ?????? ";
break;
case "???????4" :
TextBox1.Text = "" + Environment.NewLine + "1 ?????? ";
break;
}
}
 
 
help as separate color numbers, text?
to red figures, black text? there is nothing to turn color separately .. usually as black ((((

Attachment: ??????.rar

Answers (1)