inputbox comment C#

inputbox comment C#

k005
Advisor Advisor
720 Views
3 Replies
Message 1 of 4

inputbox comment C#

k005
Advisor
Advisor

Hello

 

How can I add comment lines to inputbox?

 

Thanks.

 

For example inputbox

 

inputbox.png

 

inputbox

2 Grobeton

1 Temel Betonu

140 Tabliye

114 Duvar

30 guse

14 katran

 

 

string layerName = Interaction.InputBox("Layer Ayarları", "Layer Kodu giriniz:", "2: Grobeton", 0, 0);

 

2

1

140

114

30

14

layer.Color = Color.FromRgb(255, 0, 0);

 

 

0 Likes
Accepted solutions (1)
721 Views
3 Replies
Replies (3)
Message 2 of 4

essam-salah
Advisor
Advisor
Accepted solution

hi @k005 

try this:

string massage = "2 Grobeton \n1 Temel Betonu \n140 Tabliye \n114 Duvar \n30 guse \n14 katran";
            string title = "Layer Kodu giriniz";
            string layerName = Interaction.InputBox(massage, title, "2: Grobeton", 0, 0);
Message 3 of 4

k005
Advisor
Advisor

@essam-salah 

 

Thank you very much, It's OK

 

🤗

0 Likes
Message 4 of 4

k005
Advisor
Advisor

@essam-salah 

 

Ok.

0 Likes