Add text bullets to a C# form

后端 未结 5 1056
梦如初夏
梦如初夏 2021-02-08 17:41

I am creating a form in C# and need to display text on the form. I need some of the text to show up in a bulleted, unordered list. Is it possible to do this while using a label?

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-08 18:25

    Yes you can use text below:

    const string text = @"To continue please selected one of the actions below:
    
    . Click ButtonA to do this action.
    . Click ButtonB to do this action.";
    label1.Text = text;
    

    You can use special characters for the bullet as well such as *.

提交回复
热议问题