Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
QuestionKey Press Event : ctrl + C Pin
bonzaiholding5-Oct-09 4:19
bonzaiholding5-Oct-09 4:19 
AnswerRe: Key Press Event : ctrl + C Pin
DaveyM695-Oct-09 4:35
professionalDaveyM695-Oct-09 4:35 
GeneralRe: Key Press Event : ctrl + C Pin
bonzaiholding5-Oct-09 5:00
bonzaiholding5-Oct-09 5:00 
QuestionCrystal Report Plug-ins Pin
satsumatable5-Oct-09 4:02
satsumatable5-Oct-09 4:02 
Questionhelp in updating ms acess is needed! Pin
TGiril5-Oct-09 2:52
TGiril5-Oct-09 2:52 
AnswerRe: help in updating ms acess is needed! Pin
Henry Minute5-Oct-09 3:49
Henry Minute5-Oct-09 3:49 
GeneralRe: help in updating ms acess is needed! Pin
TGiril5-Oct-09 19:52
TGiril5-Oct-09 19:52 
Questioni need help Pin
Mohamed El-Wehishy5-Oct-09 2:46
Mohamed El-Wehishy5-Oct-09 2:46 
hi guys
i captured an image
ok
then i want to repeat this image to three times
and the all four images are saved in one file
that file in a jpg format


my code is
Graphics g1 = pictureBox1.CreateGraphics();
                
                Image  MyImage = new Bitmap(pictureBox1.ClientRectangle.Width, pictureBox1.ClientRectangle.Height, g1);
                Graphics g2 = Graphics.FromImage(MyImage);
                IntPtr dc1 = g1.GetHdc();
                IntPtr dc2 = g2.GetHdc();
                BitBlt(dc2, 0, 0, pictureBox1.ClientRectangle.Width, pictureBox1.ClientRectangle.Height, dc1, 0, 0, 13369376);
                MyImage.Clone();
                g1.ReleaseHdc(dc1);
                g2.ReleaseHdc(dc2);
                MyImage.Save(@"c:\PrintPage.jpg", ImageFormat.Jpeg);


thanks,
Mohamed El-Wehishy
AnswerRe: i need help Pin
Luc Pattyn5-Oct-09 3:08
sitebuilderLuc Pattyn5-Oct-09 3:08 
GeneralRe: i need help Pin
Mohamed El-Wehishy5-Oct-09 3:46
Mohamed El-Wehishy5-Oct-09 3:46 
GeneralRe: i need help Pin
Luc Pattyn5-Oct-09 4:33
sitebuilderLuc Pattyn5-Oct-09 4:33 
QuestionCD Burn Pin
Amit Patel19855-Oct-09 1:55
Amit Patel19855-Oct-09 1:55 
AnswerRe: CD Burn Pin
Vimalsoft(Pty) Ltd5-Oct-09 2:03
professionalVimalsoft(Pty) Ltd5-Oct-09 2:03 
QuestionUninstall on shutdown Pin
Ajithevn5-Oct-09 1:51
Ajithevn5-Oct-09 1:51 
AnswerRe: Uninstall on shutdown Pin
stancrm5-Oct-09 3:15
stancrm5-Oct-09 3:15 
GeneralRe: Uninstall on shutdown Pin
Ajithevn5-Oct-09 3:41
Ajithevn5-Oct-09 3:41 
GeneralRe: Uninstall on shutdown Pin
stancrm5-Oct-09 5:23
stancrm5-Oct-09 5:23 
AnswerRe: Uninstall on shutdown Pin
hardsoft5-Oct-09 10:09
hardsoft5-Oct-09 10:09 
QuestionOracle stored procedure call in C# Pin
sampath_dr5-Oct-09 1:43
sampath_dr5-Oct-09 1:43 
AnswerRe: Oracle stored procedure call in C# Pin
N a v a n e e t h5-Oct-09 2:17
N a v a n e e t h5-Oct-09 2:17 
GeneralRe: Oracle stored procedure call in C# Pin
sampath_dr5-Oct-09 17:50
sampath_dr5-Oct-09 17:50 
GeneralRe: Oracle stored procedure call in C# Pin
N a v a n e e t h5-Oct-09 18:08
N a v a n e e t h5-Oct-09 18:08 
GeneralRe: Oracle stored procedure call in C# Pin
sampath_dr5-Oct-09 18:43
sampath_dr5-Oct-09 18:43 
GeneralRe: Oracle stored procedure call in C# Pin
sampath_dr6-Oct-09 1:03
sampath_dr6-Oct-09 1:03 
QuestionHow to create a dynamic web service from windows application Pin
AhmedMasum5-Oct-09 0:52
AhmedMasum5-Oct-09 0:52 

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.