Click here to Skip to main content
15,887,027 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: serial communication Pin
Henri Aghaei19-Nov-14 6:49
Henri Aghaei19-Nov-14 6:49 
GeneralRe: serial communication Pin
User 1106097919-Nov-14 6:52
User 1106097919-Nov-14 6:52 
GeneralRe: serial communication Pin
Henri Aghaei19-Nov-14 7:02
Henri Aghaei19-Nov-14 7:02 
GeneralRe: serial communication Pin
User 1106097919-Nov-14 7:11
User 1106097919-Nov-14 7:11 
GeneralRe: serial communication Pin
Henri Aghaei19-Nov-14 7:31
Henri Aghaei19-Nov-14 7:31 
GeneralRe: serial communication Pin
User 1106097919-Nov-14 7:36
User 1106097919-Nov-14 7:36 
GeneralRe: serial communication Pin
Henri Aghaei19-Nov-14 8:45
Henri Aghaei19-Nov-14 8:45 
GeneralRe: serial communication Pin
User 1106097919-Nov-14 8:51
User 1106097919-Nov-14 8:51 

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.