Click here to Skip to main content
15,881,757 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to convert pounds(Lb) to ounce(Oz) and Ounce(Oz) to Pounds(Lb) in C#.Net code Pin
Pete O'Hanlon2-Jun-16 5:37
mvePete O'Hanlon2-Jun-16 5:37 
GeneralRe: How to convert pounds(Lb) to ounce(Oz) and Ounce(Oz) to Pounds(Lb) in C#.Net code Pin
OriginalGriff2-Jun-16 6:05
mveOriginalGriff2-Jun-16 6:05 
GeneralRe: How to convert pounds(Lb) to ounce(Oz) and Ounce(Oz) to Pounds(Lb) in C#.Net code Pin
Mycroft Holmes2-Jun-16 13:03
professionalMycroft Holmes2-Jun-16 13:03 
AnswerRe: How to convert pounds(Lb) to ounce(Oz) and Ounce(Oz) to Pounds(Lb) in C#.Net code Pin
Gerry Schmitz2-Jun-16 4:58
mveGerry Schmitz2-Jun-16 4:58 
Questionplz introduce appropriate component Pin
Member 125609791-Jun-16 22:15
Member 125609791-Jun-16 22:15 
AnswerRe: plz introduce appropriate component Pin
OriginalGriff1-Jun-16 23:07
mveOriginalGriff1-Jun-16 23:07 
AnswerRe: plz introduce appropriate component Pin
Gerry Schmitz2-Jun-16 5:20
mveGerry Schmitz2-Jun-16 5:20 
AnswerRe: plz introduce appropriate component Pin
Eddy Vluggen3-Jun-16 0:06
professionalEddy Vluggen3-Jun-16 0:06 
There is rarely a component that does all you require out of the box, and in the few cases it does, it is often rather expensive.

I'd recommend using a Panel

Member 12560979 wrote:
I could draw polygon and lines and points in panel component
In that case, you can also create a new Panel (or PictureBox or whatever) and put it in that location, right? You'd need the coordinates (which you got), and add the thing to the controls-property of the panel. Things are easier if you give them different colors.

Something like;
var p = new Panel { BackColor = Blue, Location = new Location(x,y), Size = new Size(10, 10) };
Form1.MainPanel.Controls.Add(p);

This would give you a non-transparent panel on top of another. You could override the painting-event in the panel you added, only drawing the desired line. Moving the panel can be done by hooking the mouse-events of the child.

You could take a look at Paint.NET, Google for such examples and/or post more here if stuck Thumbs Up | :thumbsup:
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

QuestionTest Methods Are Grayed out Pin
MadDashCoder1-Jun-16 19:24
MadDashCoder1-Jun-16 19:24 
AnswerRe: Test Methods Are Grayed out Pin
Gerry Schmitz2-Jun-16 5:13
mveGerry Schmitz2-Jun-16 5:13 
QuestionShow message box on top from windows tray application. Pin
raydebojyoti1-Jun-16 0:25
raydebojyoti1-Jun-16 0:25 
AnswerRe: Show message box on top from windows tray application. Pin
OriginalGriff1-Jun-16 1:08
mveOriginalGriff1-Jun-16 1:08 
GeneralRe: Show message box on top from windows tray application. Pin
raydebojyoti1-Jun-16 1:59
raydebojyoti1-Jun-16 1:59 
QuestionHow to find method is implemented Pin
Amit Patel198531-May-16 23:56
Amit Patel198531-May-16 23:56 
AnswerRe: How to find method is implemented Pin
Garth J Lancaster1-Jun-16 0:01
professionalGarth J Lancaster1-Jun-16 0:01 
GeneralRe: How to find method is implemented Pin
Amit Patel19851-Jun-16 20:17
Amit Patel19851-Jun-16 20:17 
AnswerRe: How to find method is implemented Pin
Bernhard Hiller1-Jun-16 4:09
Bernhard Hiller1-Jun-16 4:09 
Questionhow to use jcrop while uploading image Pin
Member 1255141831-May-16 21:00
Member 1255141831-May-16 21:00 
QuestionRe: how to use jcrop while uploading image Pin
Richard MacCutchan31-May-16 21:03
mveRichard MacCutchan31-May-16 21:03 
AnswerRe: how to use jcrop while uploading image Pin
Member 1255141831-May-16 21:10
Member 1255141831-May-16 21:10 
GeneralRe: how to use jcrop while uploading image Pin
Pete O'Hanlon31-May-16 21:20
mvePete O'Hanlon31-May-16 21:20 
GeneralRe: how to use jcrop while uploading image Pin
Member 125514181-Jun-16 1:01
Member 125514181-Jun-16 1:01 
GeneralRe: how to use jcrop while uploading image PinPopular
Pete O'Hanlon1-Jun-16 1:07
mvePete O'Hanlon1-Jun-16 1:07 
GeneralRe: how to use jcrop while uploading image Pin
Member 125514181-Jun-16 3:40
Member 125514181-Jun-16 3:40 
GeneralRe: how to use jcrop while uploading image Pin
Pete O'Hanlon1-Jun-16 5:31
mvePete O'Hanlon1-Jun-16 5:31 

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.