Click here to Skip to main content
15,894,410 members
Home / Discussions / C#
   

C#

 
GeneralRe: Data at the root level is invalid. Line 1, position 1. Pin
PIEBALDconsult19-Nov-14 5:56
mvePIEBALDconsult19-Nov-14 5:56 
GeneralRe: Data at the root level is invalid. Line 1, position 1. Pin
ASPnoob19-Nov-14 6:54
ASPnoob19-Nov-14 6:54 
GeneralMessage Closed Pin
19-Nov-14 2:27
Kalyan Chandrasekharan19-Nov-14 2:27 
GeneralRe: Please take up this survey for .Net BDD tools Pin
BillWoodruff19-Nov-14 3:31
professionalBillWoodruff19-Nov-14 3:31 
GeneralRe: Please take up this survey for .Net BDD tools Pin
Gerry Schmitz19-Nov-14 3:49
mveGerry Schmitz19-Nov-14 3:49 
QuestionWifi scan, SSID, Signalstrength Pin
Nikolaj jensen19-Nov-14 0:45
Nikolaj jensen19-Nov-14 0:45 
AnswerRe: Wifi scan, SSID, Signalstrength Pin
Nagy Vilmos19-Nov-14 3:36
professionalNagy Vilmos19-Nov-14 3:36 
Questionasp.net certification Pin
Member 1124574618-Nov-14 20:35
Member 1124574618-Nov-14 20:35 
AnswerRe: asp.net certification Pin
Richard MacCutchan18-Nov-14 21:20
mveRichard MacCutchan18-Nov-14 21:20 
AnswerRe: asp.net certification Pin
ZurdoDev19-Nov-14 5:26
professionalZurdoDev19-Nov-14 5:26 
Questionserial communication Pin
Henri Aghaei18-Nov-14 7:29
Henri Aghaei18-Nov-14 7:29 
AnswerRe: serial communication Pin
OriginalGriff18-Nov-14 8:01
mveOriginalGriff18-Nov-14 8:01 
GeneralRe: serial communication Pin
Henri Aghaei19-Nov-14 6:44
Henri Aghaei19-Nov-14 6:44 
GeneralRe: serial communication Pin
OriginalGriff19-Nov-14 8:07
mveOriginalGriff19-Nov-14 8:07 
GeneralRe: serial communication Pin
Henri Aghaei19-Nov-14 9:01
Henri Aghaei19-Nov-14 9:01 
AnswerRe: serial communication Pin
BillWoodruff18-Nov-14 23:58
professionalBillWoodruff18-Nov-14 23:58 
Assuming the picture background doesn't need to change, I would use Windows Forms, and:

0. create a new WinForms project.

1. prepare a background picture using whatever Graphic program I was familiar with, and save it in .jpg or .png format the one of the folders in the WinForms project.

2. on a Form in the project put a PictureBox, re-size it to hold the picture you created; load the picture you created into the Image property of the PictureBox.

3. place a Label with its background color set to be the same as the background of the Form on top of the PictureBox positioned where it's text will appear over the PictureBox so it appears as you show above.

4. as you receive data from the serial port, do the right thing to display the text representation of the data as the 'Text property of the Label.

Since I follow a programming methodology called "The Path of Slack," which holds that laziness is an ultimate value Smile | :) , I might do something like this in WinForms.

1. Put a Panel with BorderStyle set to 'FixedSingle on the Form.

2. repeat steps 3,4 above.

The only thing to watch for in this second approach is to make sure the Panel doesn't "swallow" the Label (while you drag it over the Panel assign the Label to the Panel's ControlCollection).
«If you search in Google for 'no-one ever got fired for buying IBM:' the top-hit is the Wikipedia article on 'Fear, uncertainty and doubt'»  What does that tell you about sanity in these times?


modified 19-Nov-14 6:09am.

GeneralRe: serial communication Pin
Henri Aghaei19-Nov-14 9:05
Henri Aghaei19-Nov-14 9:05 
GeneralRe: serial communication Pin
Henri Aghaei20-Apr-15 9:57
Henri Aghaei20-Apr-15 9:57 
AnswerRe: serial communication Pin
User 1106097919-Nov-14 0:48
User 1106097919-Nov-14 0:48 
GeneralRe: serial communication Pin
Henri Aghaei19-Nov-14 6:39
Henri Aghaei19-Nov-14 6:39 
GeneralRe: serial communication Pin
Henri Aghaei19-Nov-14 6:39
Henri Aghaei19-Nov-14 6:39 
GeneralRe: serial communication Pin
User 1106097919-Nov-14 6:43
User 1106097919-Nov-14 6:43 
GeneralRe: serial communication Pin
Henri Aghaei19-Nov-14 6:46
Henri Aghaei19-Nov-14 6:46 
GeneralRe: serial communication Pin
User 1106097919-Nov-14 6:51
User 1106097919-Nov-14 6:51 
GeneralRe: serial communication Pin
Henri Aghaei20-Apr-15 9:55
Henri Aghaei20-Apr-15 9:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.