Underline a single word in List & Label [closed] - c#

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I'm creating a form in combit List&Label 16 and trying to underline a single word in a label but I can't find the option to do so...
Do you know if and how I can to this?
The way I did it now is to split the label in 3 parts and to underline the middle one but I refuse to believe that this is the way to go in 2015 :D
Thanks in advance

Use the Formatted Text object instead of unformatted text. This gives you all the options to format single words.

Related

How to create a file with the user input name? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I have a textbox to get user input and a button.
When user fill the textbox and click the button,it will create a file
with the name of the text from the textbox.
I tried using
system.IO.File.Create and system.IO.File.Rename
but did not work.
For your problem as you wrote in the comments use this:
System.IO.File.Create(#"C:\" + textbox.Text);
You cant use textbox.Text inside of brackets to get the text from it, add a plus if you are using it from inside the textbox
Here is also a link to some useful documentation: documentation

Allow Specific Characters in a textbox C# [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I need to allow specific characters in my textbox but not range of letters only those ( T, A, G, C ).. the problem is I can't find the regular expression pattern for that.
I think you can make it just with /[TAGC]/g.
I strongly recommend you to check out this site, you can test every regular expression you need there:
RegExr

C# - Find text inside a certain string in a RichTextBox [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
Lets say a rich text box has this inside:
This is a rich text box with a hidden meaning.
How would I find all text between a and a?
You could use RegEx:
Regex.Match("This is a rich text box with a hidden meaning.", #"a([^a]*)a").Groups[1].Value

How To Compare two strings on Percentage Basis [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to compare two strings on percentage basis
like i have this
Player and wmplayer
Manager and IDMan
Mail and WINMail
Explorer and iexplorer
Any Help Please
You can probably make use of a library such as ScoreSharp. It is designed to do fuzzy matching to find similarities between strings.

ContextMenu: Remove the icon column and unnecessary space? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I need to remove the icon column and the unnecessary space on the right side of a contextmenu. Here's a screenshot explaining it:
alt text http://www.imagebanana.com/img/6j1g4896/contextmenu.png
Thanks for any hint!
Check this out: Default ContextMenu Style - WPF

Categories