Click here to Skip to main content
15,889,216 members
Home / Discussions / C#
   

C#

 
GeneralRe: Send Error Message From Web Service To its client Pin
Mazdak27-Jul-03 4:38
Mazdak27-Jul-03 4:38 
GeneralRe: Send Error Message From Web Service To its client Pin
SimonS27-Jul-03 6:24
SimonS27-Jul-03 6:24 
GeneralRe: Send Error Message From Web Service To its client Pin
Mazdak27-Jul-03 9:58
Mazdak27-Jul-03 9:58 
QuestionHow to set a datasource for a usercontrol? Pin
STW26-Jul-03 9:21
STW26-Jul-03 9:21 
AnswerRe: How to set a datasource for a usercontrol? Pin
StealthyMark27-Jul-03 23:58
StealthyMark27-Jul-03 23:58 
QuestionNew to graphics drawing.....any assistance? Pin
LongRange.Shooter26-Jul-03 3:26
LongRange.Shooter26-Jul-03 3:26 
AnswerRe: New to graphics drawing.....any assistance? Pin
leppie26-Jul-03 7:42
leppie26-Jul-03 7:42 
GeneralRe: New to graphics drawing.....any assistance? Pin
LongRange.Shooter28-Jul-03 3:25
LongRange.Shooter28-Jul-03 3:25 
Well....I cannot override a method of a control in my form from my form. But that was the start of my searching.

First I hooked into the Paint event for the control and used control.Invalidate() to fire that event. It worked somewhat but I had a result that was not all that visible and I was having problems drawing points.

My second attemt did work though which I extended from the DrGUI article on doing Conway's Life.

I created a Bitmap object Bitmap img;, created a graphics object Graphics g = Graphics.FromImage(img); then I just set my pictureBox.Image = img once I drew my graphics inside the image. Works great.

Now all I have to do is get factor in form resizing, image scaling, and I have it all done!

_____________________________________________
The world is a dangerous place.
Not because of those that do evil,
    but because of those who look on and do nothing.

QuestionHow to open a registered file in application Pin
BigAndy25-Jul-03 23:59
BigAndy25-Jul-03 23:59 
AnswerRe: How to open a registered file in application Pin
Mazdak26-Jul-03 4:59
Mazdak26-Jul-03 4:59 
GeneralRe: How to open a registered file in application Pin
BigAndy26-Jul-03 5:39
BigAndy26-Jul-03 5:39 
GeneralRe: How to open a registered file in application Pin
Rocky Moore27-Jul-03 0:01
Rocky Moore27-Jul-03 0:01 
GeneralRe: How to open a registered file in application Pin
BigAndy27-Jul-03 22:06
BigAndy27-Jul-03 22:06 
GeneralMidi interfacing Pin
NareshkBajaj25-Jul-03 22:52
NareshkBajaj25-Jul-03 22:52 
GeneralRe: Midi interfacing Pin
Rocky Moore25-Jul-03 23:08
Rocky Moore25-Jul-03 23:08 
General.NET Licensing Pin
Alex Korchemniy25-Jul-03 21:56
Alex Korchemniy25-Jul-03 21:56 
GeneralReflections for automatic casting Pin
Ista25-Jul-03 18:12
Ista25-Jul-03 18:12 
GeneralRe: Reflections for automatic casting Pin
Ista25-Jul-03 18:12
Ista25-Jul-03 18:12 
GeneralShowing the newest event in a list box Pin
eggie525-Jul-03 17:38
eggie525-Jul-03 17:38 
GeneralRe: Showing the newest event in a list box Pin
Rocky Moore25-Jul-03 22:33
Rocky Moore25-Jul-03 22:33 
GeneralRe: Showing the newest event in a list box Pin
eggie525-Jul-03 22:39
eggie525-Jul-03 22:39 
GeneralRe: Showing the newest event in a list box Pin
Rocky Moore25-Jul-03 23:12
Rocky Moore25-Jul-03 23:12 
GeneralFindWindow analogue in C# Pin
zecodela25-Jul-03 16:23
zecodela25-Jul-03 16:23 
GeneralRe: FindWindow analogue in C# Pin
J. Dunlap25-Jul-03 16:41
J. Dunlap25-Jul-03 16:41 
GeneralRe: FindWindow analogue in C# Pin
zecodela25-Jul-03 16:50
zecodela25-Jul-03 16:50 

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.