Click here to Skip to main content
15,891,375 members
Home / Discussions / C#
   

C#

 
AnswerRe: TCP Header structure Pin
Dave Kreskowiak19-Sep-10 7:21
mveDave Kreskowiak19-Sep-10 7:21 
GeneralRe: TCP Header structure Pin
95ulisse19-Sep-10 9:08
95ulisse19-Sep-10 9:08 
GeneralRe: TCP Header structure Pin
Dave Kreskowiak19-Sep-10 9:56
mveDave Kreskowiak19-Sep-10 9:56 
QuestionPInvoke Pin
Saksida Bojan19-Sep-10 0:08
Saksida Bojan19-Sep-10 0:08 
AnswerRe: PInvoke Pin
Luc Pattyn19-Sep-10 3:23
sitebuilderLuc Pattyn19-Sep-10 3:23 
GeneralRe: PInvoke Pin
Saksida Bojan19-Sep-10 3:59
Saksida Bojan19-Sep-10 3:59 
AnswerRe: PInvoke Pin
Luc Pattyn19-Sep-10 4:16
sitebuilderLuc Pattyn19-Sep-10 4:16 
QuestionWhy i get an exception on this code ? ( code attached ) Pin
Yanshof18-Sep-10 21:53
Yanshof18-Sep-10 21:53 
I have some pictureBox (simple winform) that i change the image every 3 seconds.
When i stop changing the images - and i move the mouse on the picture i get an exception about 'arguments are not valid'.
In debug i see that all the arguments are fine - and the image that appear on the pictureBox is valid.
The Bitmap b is also valid and is not null - and i see in debug the bitmap information.

The exception appear on line 5


1       private Color OnMouseMove_PictureBox( object sender, MouseEventArgs e )
        {
2           Color c = null;
3           if( pictureBox.Image != null )
            {
4                Bitmap b = ( Bitmap )pictureBox.Image;             // ref to the current pic
5                c = b.GetPixel( e.X, e.Y );
            }
            return c;
        }

AnswerRe: Why i get an exception on this code ? ( code attached ) Pin
Paul Michalik18-Sep-10 23:32
Paul Michalik18-Sep-10 23:32 
GeneralRe: Why i get an exception on this code ? ( code attached ) Pin
Yanshof18-Sep-10 23:49
Yanshof18-Sep-10 23:49 
AnswerRe: Why i get an exception on this code ? ( code attached ) Pin
Saksida Bojan19-Sep-10 1:19
Saksida Bojan19-Sep-10 1:19 
AnswerRe: Why i get an exception on this code ? ( code attached ) Pin
Manfred Rudolf Bihy19-Sep-10 22:11
professionalManfred Rudolf Bihy19-Sep-10 22:11 
Questionexcel import wizard (fixed line) Pin
eyeshield2118-Sep-10 15:16
eyeshield2118-Sep-10 15:16 
QuestionAnyone have an RDLC Example with SQL Server 2008 R2 Pin
gmhanna18-Sep-10 7:01
gmhanna18-Sep-10 7:01 
AnswerRe: Anyone have an RDLC Example with SQL Server 2008 R2 Pin
Mycroft Holmes18-Sep-10 17:16
professionalMycroft Holmes18-Sep-10 17:16 
QuestionCustom look for NumericUpDown control Pin
Mazdak18-Sep-10 1:05
Mazdak18-Sep-10 1:05 
AnswerRe: Custom look for NumericUpDown control Pin
OriginalGriff18-Sep-10 6:13
mveOriginalGriff18-Sep-10 6:13 
GeneralRe: Custom look for NumericUpDown control Pin
Mazdak18-Sep-10 6:16
Mazdak18-Sep-10 6:16 
GeneralRe: Custom look for NumericUpDown control Pin
OriginalGriff18-Sep-10 6:25
mveOriginalGriff18-Sep-10 6:25 
QuestionHow can i define the ConcurrentQueue size ? Pin
Yanshof18-Sep-10 0:48
Yanshof18-Sep-10 0:48 
Questioncopy control with relative code Pin
behzadcp18-Sep-10 0:38
professionalbehzadcp18-Sep-10 0:38 
AnswerRe: copy control with relative code Pin
Saksida Bojan18-Sep-10 23:59
Saksida Bojan18-Sep-10 23:59 
QuestionpInvoke Struct Pin
Saksida Bojan17-Sep-10 22:18
Saksida Bojan17-Sep-10 22:18 
AnswerRe: pInvoke Struct Pin
#realJSOP18-Sep-10 1:03
mve#realJSOP18-Sep-10 1:03 
GeneralRe: pInvoke Struct Pin
Saksida Bojan18-Sep-10 2:13
Saksida Bojan18-Sep-10 2:13 

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.