Click here to Skip to main content
15,918,109 members
Home / Discussions / C#
   

C#

 
GeneralRe: Just a few more Pin
James T. Johnson6-Apr-02 16:22
James T. Johnson6-Apr-02 16:22 
GeneralRe: Just a few more Pin
Mazdak6-Apr-02 17:47
Mazdak6-Apr-02 17:47 
GeneralRe: Just a few more Pin
James T. Johnson6-Apr-02 18:36
James T. Johnson6-Apr-02 18:36 
GeneralAn idea to greatly improve your internet connection. Pin
generic_user_id6-Apr-02 0:16
generic_user_id6-Apr-02 0:16 
GeneralRe: An idea to greatly improve your internet connection. Pin
James T. Johnson6-Apr-02 1:58
James T. Johnson6-Apr-02 1:58 
GeneralRe: An idea to greatly improve your internet connection. Pin
generic_user_id6-Apr-02 4:16
generic_user_id6-Apr-02 4:16 
GeneralGetting the DoubleBuffered Bitmap Pin
Neil Van Note5-Apr-02 18:46
Neil Van Note5-Apr-02 18:46 
GeneralRe: Getting the DoubleBuffered Bitmap Pin
Mazdak5-Apr-02 19:01
Mazdak5-Apr-02 19:01 
This is a double buffering code: (Its from Beginnning C# books by wrox publisher).Maybe it helps you:

Graphics displayGraphics = e.Graphics;
Random r = new Random();
Image i = new Bitmap(ClientRectangle.Width, ClientRectangle.Height);
Graphics g = Graphics.FromImage(i);
g.FillRectangle(Brushes.White, ClientRectangle);

for (int x = 0; x < ClientRectangle.Width; x++)
{
for (int y = 0; y < ClientRectangle.Height; y += 10)
{
Color c = Color.FromArgb (r.Next(255), r.Next(255),
						r.Next(255));
Pen p = new Pen(c, 1);
g.DrawLine(p, new Point(0, 0), new Point(x, y));
p.Dispose();
}
}
displayGraphics.DrawImage(i, ClientRectangle);
i.Dispose();


Mazy

"The path you tread is narrow and the drop is shear and very high,
The ravens all are watching from a vantage point near by,
Apprehension creeping like a choo-train uo your spine,
Will the tightrope reach the end;will the final cuplet rhyme?"Cymbaline-Pink Floyd

GeneralRe: Getting the DoubleBuffered Bitmap Pin
Neil Van Note5-Apr-02 19:18
Neil Van Note5-Apr-02 19:18 
GeneralRe: Getting the DoubleBuffered Bitmap Pin
Mazdak5-Apr-02 19:27
Mazdak5-Apr-02 19:27 
GeneralRe: Getting the DoubleBuffered Bitmap Pin
James T. Johnson6-Apr-02 12:52
James T. Johnson6-Apr-02 12:52 
GeneralRe: Getting the DoubleBuffered Bitmap Pin
Neil Van Note6-Apr-02 14:36
Neil Van Note6-Apr-02 14:36 
GeneralRe: Getting the DoubleBuffered Bitmap Pin
James T. Johnson6-Apr-02 14:48
James T. Johnson6-Apr-02 14:48 
GeneralRe: Getting the DoubleBuffered Bitmap Pin
Neil Van Note6-Apr-02 15:03
Neil Van Note6-Apr-02 15:03 
GeneralRe: Getting the DoubleBuffered Bitmap Pin
James T. Johnson6-Apr-02 15:41
James T. Johnson6-Apr-02 15:41 
GeneralRe: Getting the DoubleBuffered Bitmap Pin
Neil Van Note6-Apr-02 17:49
Neil Van Note6-Apr-02 17:49 
GeneralRe: Getting the DoubleBuffered Bitmap Pin
James T. Johnson6-Apr-02 17:55
James T. Johnson6-Apr-02 17:55 
GeneralRe: Getting the DoubleBuffered Bitmap Pin
Neil Van Note6-Apr-02 18:07
Neil Van Note6-Apr-02 18:07 
GeneralData Encoding (System.Text.Encoding) Pin
BLaZiNiX5-Apr-02 18:37
BLaZiNiX5-Apr-02 18:37 
GeneralRe: Data Encoding (System.Text.Encoding) Pin
Neil Van Note5-Apr-02 19:48
Neil Van Note5-Apr-02 19:48 
GeneralRe: Data Encoding (System.Text.Encoding) Pin
BLaZiNiX5-Apr-02 20:17
BLaZiNiX5-Apr-02 20:17 
GeneralRe: Data Encoding (System.Text.Encoding) Pin
Neil Van Note5-Apr-02 20:30
Neil Van Note5-Apr-02 20:30 
GeneralRe: Data Encoding (System.Text.Encoding) Pin
BLaZiNiX5-Apr-02 21:30
BLaZiNiX5-Apr-02 21:30 
GeneralRe: Data Encoding (System.Text.Encoding) Pin
Neil Van Note5-Apr-02 21:39
Neil Van Note5-Apr-02 21:39 
GeneralDoing a simplistic 'extender provider' Pin
Zombies with Coffee, LLC5-Apr-02 10:56
professionalZombies with Coffee, LLC5-Apr-02 10:56 

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.