Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
AnswerRe: Mappath Pin
A.Grover6-Mar-06 22:56
A.Grover6-Mar-06 22:56 
GeneralRe: Mappath Pin
AB77716-Mar-06 23:02
AB77716-Mar-06 23:02 
GeneralRe: Mappath Pin
A.Grover7-Mar-06 18:58
A.Grover7-Mar-06 18:58 
QuestionLinks in RichTextBox Pin
Beringer6-Mar-06 20:50
Beringer6-Mar-06 20:50 
AnswerRe: Links in RichTextBox Pin
AB77716-Mar-06 21:03
AB77716-Mar-06 21:03 
QuestionRegarding Taskbar popup Pin
A.Grover6-Mar-06 19:35
A.Grover6-Mar-06 19:35 
AnswerRe: Regarding Taskbar popup Pin
AB77716-Mar-06 19:42
AB77716-Mar-06 19:42 
GeneralRe: Regarding Taskbar popup Pin
A.Grover6-Mar-06 22:47
A.Grover6-Mar-06 22:47 
as u have written i have done all the things. i am getting problem in redrawing the form . at every tick the i m changing the position of the form.but form is not gettin drawn properly. i refer the code given in the link which i have send eailier. i use the following code for redraw the form

protected override void OnPaintBackground(PaintEventArgs pea)
{
Graphics grfx = pea.Graphics;
grfx.PageUnit = GraphicsUnit.Pixel;

Graphics offScreenGraphics;
Bitmap offscreenBitmap;

offscreenBitmap = new Bitmap(BackgroundBitmap.Width, BackgroundBitmap.Height);

offScreenGraphics = Graphics.FromImage(offscreenBitmap);

if (BackgroundBitmap != null)
{
/* problem is here actually i don'nt know which method i have to
used here in this example they are using DrawImage method.which is basically for an Image.for form i didn't understand which method i should use */

offScreenGraphics.DrawImage(BackgroundBitmap, 0, 0, BackgroundBitmap.Width, BackgroundBitmap.Height);
}

grfx.DrawImage(offscreenBitmap, 0, 0);
}



Amit Grover
CDAC R&D

GeneralRe: Regarding Taskbar popup Pin
AB77716-Mar-06 23:08
AB77716-Mar-06 23:08 
GeneralRe: Regarding Taskbar popup Pin
A.Grover6-Mar-06 23:49
A.Grover6-Mar-06 23:49 
GeneralRe: Regarding Taskbar popup Pin
AB77717-Mar-06 1:05
AB77717-Mar-06 1:05 
GeneralRe: Regarding Taskbar popup Pin
A.Grover7-Mar-06 18:47
A.Grover7-Mar-06 18:47 
GeneralRe: Regarding Taskbar popup Pin
AB77717-Mar-06 18:53
AB77717-Mar-06 18:53 
GeneralRe: Regarding Taskbar popup Pin
A.Grover7-Mar-06 19:13
A.Grover7-Mar-06 19:13 
GeneralRe: Regarding Taskbar popup Pin
AB77717-Mar-06 23:19
AB77717-Mar-06 23:19 
QuestionHelp Me with "Directory" Pin
hackerhcm6-Mar-06 19:01
hackerhcm6-Mar-06 19:01 
AnswerRe: Help Me with "Directory" Pin
DigitalKing6-Mar-06 19:09
DigitalKing6-Mar-06 19:09 
GeneralRe: Help Me with "Directory" Pin
hackerhcm6-Mar-06 19:47
hackerhcm6-Mar-06 19:47 
AnswerRe: Help Me with "Directory" Pin
Maqsood Ahmed6-Mar-06 19:10
Maqsood Ahmed6-Mar-06 19:10 
Questionmonthcalendar Pin
nassimnastaran6-Mar-06 18:47
nassimnastaran6-Mar-06 18:47 
AnswerRe: monthcalendar Pin
JacquesDP6-Mar-06 18:56
JacquesDP6-Mar-06 18:56 
GeneralRe: monthcalendar Pin
nassimnastaran6-Mar-06 22:29
nassimnastaran6-Mar-06 22:29 
GeneralRe: monthcalendar Pin
Drew McGhie7-Mar-06 9:31
Drew McGhie7-Mar-06 9:31 
QuestionArrayList Problem Pin
AB77716-Mar-06 18:40
AB77716-Mar-06 18:40 
AnswerRe: ArrayList Problem Pin
DigitalKing6-Mar-06 19:03
DigitalKing6-Mar-06 19: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.