Click here to Skip to main content
15,901,426 members
Home / Discussions / C#
   

C#

 
AnswerRe: Loading and parsing a html-page Pin
Spunky Coder24-Oct-07 0:48
Spunky Coder24-Oct-07 0:48 
GeneralRe: Loading and parsing a html-page Pin
Tomerland24-Oct-07 1:47
Tomerland24-Oct-07 1:47 
AnswerRe: Loading and parsing a html-page Pin
Anthony Mushrow24-Oct-07 0:59
professionalAnthony Mushrow24-Oct-07 0:59 
GeneralRe: Loading and parsing a html-page Pin
Tomerland24-Oct-07 1:49
Tomerland24-Oct-07 1:49 
QuestionLasso tool for free image selections Pin
Barbarus24-Oct-07 0:02
Barbarus24-Oct-07 0:02 
AnswerRe: Lasso tool for free image selections Pin
Christian Graus24-Oct-07 0:36
protectorChristian Graus24-Oct-07 0:36 
JokeRe: Lasso tool for free image selections Pin
Luc Pattyn24-Oct-07 2:02
sitebuilderLuc Pattyn24-Oct-07 2:02 
QuestionRe: Lasso tool for free image selections Pin
Barbarus24-Oct-07 3:06
Barbarus24-Oct-07 3:06 
Thanks to both for replying so quickly Smile | :)

Hmmm so if for example I try and find the maximum outer points of a selection

(btw any idea on how to draw such a selection? would ControlPaint allow a freehand selection? I'm using it to draw a square selection on the image but not sure it can handle a freehand one?)

then lets say I copy this square, keep the selection in mind and turn every pixel outside that selection to blank...
the problem would be how can I determine if the pixel is inside the selection?

What I did for the square selection is take the rectanle, find its coordinates in the picture and used the DrawImage with a source rectanle (knowing that the ControlPaint uses a rectanle to draw a reversible frame)


Lool sorry if I'm repeating myself a little through the post, try to imagine how I can find the pixel inside the selection... what is outside doesn't need to be transparent (lucky me the client doesn't want that)


its our widgets that make us men

QuestionAdd File in System New menu Pin
Abhijit Jana23-Oct-07 23:53
professionalAbhijit Jana23-Oct-07 23:53 
AnswerRe: Add File in System New menu Pin
Anthony Mushrow24-Oct-07 1:11
professionalAnthony Mushrow24-Oct-07 1:11 
GeneralRe: Add File in System New menu Pin
Abhijit Jana24-Oct-07 2:13
professionalAbhijit Jana24-Oct-07 2:13 
QuestionProperly Creating / Disposing of Socket connections Pin
hammerstein0523-Oct-07 23:41
hammerstein0523-Oct-07 23:41 
QuestionHow to cancel BindingNavigator event. Pin
azifaliazif23-Oct-07 23:26
azifaliazif23-Oct-07 23:26 
AnswerRe: How to cancel BindingNavigator event. Pin
c0ax_lx23-Oct-07 23:52
c0ax_lx23-Oct-07 23:52 
GeneralRe: How to cancel BindingNavigator event. Pin
azifaliazif24-Oct-07 0:15
azifaliazif24-Oct-07 0:15 
AnswerRe: How to cancel BindingNavigator event. Pin
azifaliazif24-Oct-07 23:11
azifaliazif24-Oct-07 23:11 
QuestionDateTime insert SQL Query in C# Pin
dataminers23-Oct-07 23:22
dataminers23-Oct-07 23:22 
AnswerRe: DateTime insert SQL Query in C# Pin
Christian Graus23-Oct-07 23:30
protectorChristian Graus23-Oct-07 23:30 
GeneralRe: DateTime insert SQL Query in C# Pin
Guffa23-Oct-07 23:54
Guffa23-Oct-07 23:54 
AnswerRe: DateTime insert SQL Query in C# Pin
Colin Angus Mackay23-Oct-07 23:36
Colin Angus Mackay23-Oct-07 23:36 
AnswerRe: DateTime insert SQL Query in C# Pin
Guffa24-Oct-07 0:08
Guffa24-Oct-07 0:08 
Questionhow get data from database [modified] Pin
alok217123-Oct-07 23:05
alok217123-Oct-07 23:05 
AnswerRe: how get data into drop down box from database Pin
pmarfleet23-Oct-07 23:11
pmarfleet23-Oct-07 23:11 
Questionproperty grid Pin
sindhutiwari23-Oct-07 22:47
sindhutiwari23-Oct-07 22:47 
AnswerRe: property grid Pin
Christian Graus23-Oct-07 23:03
protectorChristian Graus23-Oct-07 23:03 

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.