Click here to Skip to main content
15,885,309 members
Home / Discussions / C#
   

C#

 
GeneralI cann't send mail to the other server Pin
Velichko Sarev25-Aug-03 20:54
Velichko Sarev25-Aug-03 20:54 
GeneralRe: I cann't send mail to the other server Pin
Corinna John28-Aug-03 1:28
Corinna John28-Aug-03 1:28 
GeneralFast graphics in C# Pin
Stephane David25-Aug-03 20:37
Stephane David25-Aug-03 20:37 
GeneralRe: Fast graphics in C# Pin
Meysam Mahfouzi25-Aug-03 23:35
Meysam Mahfouzi25-Aug-03 23:35 
GeneralRe: Fast graphics in C# Pin
Stephane David26-Aug-03 1:26
Stephane David26-Aug-03 1:26 
GeneralRe: Fast graphics in C# Pin
Ista26-Aug-03 4:46
Ista26-Aug-03 4:46 
GeneralRe: Fast graphics in C# Pin
Philip Fitzsimons26-Aug-03 2:28
Philip Fitzsimons26-Aug-03 2:28 
GeneralRe: Fast graphics in C# Pin
Stephane David26-Aug-03 3:55
Stephane David26-Aug-03 3:55 
I draw all the 400 tiles each times, because if the user clicks on the globalview "somewhere", I need to redraw all of it.
However, I do it only when the map change (scroll or editor change of terrain), no when things in the layers (a unit animation change).
I move them on screen in one move : I start by drawing them in a bitmap, which is stored, and then in the render function (with a timer), I draw the stored bitmap in the PictureBox.

This last part is fast. I don't understand why drawing the 400 128x64 tiles in the backbuffer is so much longer than drawing the whole image in a 1024x768 PictureBox?
GeneralRe: Fast graphics in C# Pin
Philip Fitzsimons26-Aug-03 4:25
Philip Fitzsimons26-Aug-03 4:25 
GeneralRe: Fast graphics in C# Pin
Philip Fitzsimons26-Aug-03 4:43
Philip Fitzsimons26-Aug-03 4:43 
GeneralRe: Fast graphics in C# Pin
Stephane David26-Aug-03 5:06
Stephane David26-Aug-03 5:06 
GeneralRe: Fast graphics in C# Pin
Philip Fitzsimons26-Aug-03 5:46
Philip Fitzsimons26-Aug-03 5:46 
GeneralRe: Fast graphics in C# Pin
Stephane David26-Aug-03 11:04
Stephane David26-Aug-03 11:04 
GeneralRe: Fast graphics in C# Pin
Philip Fitzsimons26-Aug-03 23:11
Philip Fitzsimons26-Aug-03 23:11 
GeneralRe: Fast graphics in C# Pin
Ista26-Aug-03 4:45
Ista26-Aug-03 4:45 
GeneralRe: Fast graphics in C# Pin
J. Dunlap26-Aug-03 11:37
J. Dunlap26-Aug-03 11:37 
Generalgrid control Pin
Member 52474025-Aug-03 19:39
Member 52474025-Aug-03 19:39 
GeneralSplitting a string Pin
Member 50926225-Aug-03 18:52
Member 50926225-Aug-03 18:52 
GeneralRe: Splitting a string Pin
Nick Parker25-Aug-03 19:18
protectorNick Parker25-Aug-03 19:18 
GeneralRe: Splitting a string Pin
Member 50926225-Aug-03 19:35
Member 50926225-Aug-03 19:35 
GeneralRe: Splitting a string Pin
A.Wegierski25-Aug-03 19:29
A.Wegierski25-Aug-03 19:29 
GeneralRe: Splitting a string Pin
Member 50926225-Aug-03 19:33
Member 50926225-Aug-03 19:33 
GeneralRe: Splitting a string Pin
A.Wegierski25-Aug-03 19:39
A.Wegierski25-Aug-03 19:39 
GeneralRe: Splitting a string Pin
Philip Fitzsimons26-Aug-03 2:29
Philip Fitzsimons26-Aug-03 2:29 
GeneralRe: Splitting a string Pin
Donald_a26-Aug-03 6:26
Donald_a26-Aug-03 6:26 

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.