Click here to Skip to main content
15,900,258 members
Home / Discussions / C#
   

C#

 
GeneralRe: int.Parse() and Converter.toInt() Pin
Seraph_summer9-Jun-09 0:03
Seraph_summer9-Jun-09 0:03 
GeneralRe: int.Parse() and Converter.toInt() Pin
saanj9-Jun-09 0:11
saanj9-Jun-09 0:11 
QuestionTimer in C# Pin
Håkan Axheim8-Jun-09 23:11
Håkan Axheim8-Jun-09 23:11 
AnswerRe: Timer in C# Pin
Christian Graus8-Jun-09 23:26
protectorChristian Graus8-Jun-09 23:26 
AnswerRe: Timer in C# Pin
Mirko19808-Jun-09 23:29
Mirko19808-Jun-09 23:29 
QuestionMultiple bitmaps into one final image. Pin
E3pO8-Jun-09 23:01
E3pO8-Jun-09 23:01 
GeneralRe: Multiple bitmaps into one final image. Pin
harold aptroot8-Jun-09 23:09
harold aptroot8-Jun-09 23:09 
GeneralRe: Multiple bitmaps into one final image. Pin
E3pO8-Jun-09 23:15
E3pO8-Jun-09 23:15 
Oh, I'm sorry. I need help with code to do that, That was just an example of what needs to happen.

And here is code in VB i was working with awhile back, i'm not sure if it was ever finished.. loaded up in visual studio gives me the error

Error 1 Overload resolution failed because no accessible 'DrawImage' can be called with these arguments:
'Public Sub DrawImage(image As System.Drawing.Image, x As Integer, y As Integer)': Value of type 'System.Drawing.Brush' cannot be converted to 'System.Drawing.Image'.
'Public Sub DrawImage(image As System.Drawing.Image, x As Single, y As Single)': Value of type 'System.Drawing.Brush' cannot be converted to 'System.Drawing.Image'. N:\XP\My Docs\My Documents\Visual Studio 2008\Projects\HaloVideo\****Video\Form1.vb 12 9 ****Video


Dim img3 As New Bitmap(PictureBox1.Image.Height + PictureBox2.Image.Height, PictureBox1.Image.Width)
Dim g As Graphics = Graphics.FromImage(img3)
g.DrawImage(Brushes.Blue, 0, 0)
g.DrawImage(PictureBox1.Image, 0, 0)
g.DrawImage(PictureBox2.Image, PictureBox2.Image.Width + 1, 0)
PictureBox3.Image = img3

But i need for C#, and i need it to actually do what i want it to do. lol

I guess a way would to possibly have a blue background graphic and then overlay images ontop of it with 1 px distance from eachother?
AnswerRe: Multiple bitmaps into one final image. Pin
Christian Graus8-Jun-09 23:25
protectorChristian Graus8-Jun-09 23:25 
QuestionTarget machine Pin
arkiboys8-Jun-09 22:24
arkiboys8-Jun-09 22:24 
QuestionSuggest me Datagrid view event Pin
deepseeindeepsy8-Jun-09 21:39
deepseeindeepsy8-Jun-09 21:39 
AnswerRe: Suggest me Datagrid view event Pin
Mycroft Holmes8-Jun-09 21:56
professionalMycroft Holmes8-Jun-09 21:56 
GeneralRe: Suggest me Datagrid view event Pin
deepseeindeepsy8-Jun-09 22:01
deepseeindeepsy8-Jun-09 22:01 
GeneralRe: Suggest me Datagrid view event Pin
Mycroft Holmes8-Jun-09 22:10
professionalMycroft Holmes8-Jun-09 22:10 
GeneralRe: Suggest me Datagrid view event Pin
Nagy Vilmos8-Jun-09 22:11
professionalNagy Vilmos8-Jun-09 22:11 
GeneralRe: Suggest me Datagrid view event Pin
Mycroft Holmes8-Jun-09 22:14
professionalMycroft Holmes8-Jun-09 22:14 
GeneralRe: Suggest me Datagrid view event Pin
Luc Pattyn9-Jun-09 1:41
sitebuilderLuc Pattyn9-Jun-09 1:41 
GeneralRe: Suggest me Datagrid view event Pin
deepseeindeepsy8-Jun-09 22:17
deepseeindeepsy8-Jun-09 22:17 
GeneralRe: Suggest me Datagrid view event Pin
Nagy Vilmos8-Jun-09 22:11
professionalNagy Vilmos8-Jun-09 22:11 
Questionremoting and client devices that switch network cards on the fly Pin
Martijn van Kleef8-Jun-09 21:24
Martijn van Kleef8-Jun-09 21:24 
QuestionCall OnPaint from other form Pin
Ankata8-Jun-09 21:05
Ankata8-Jun-09 21:05 
AnswerRe: Call OnPaint from other form Pin
Nagy Vilmos8-Jun-09 21:36
professionalNagy Vilmos8-Jun-09 21:36 
AnswerRe: Call OnPaint from other form Pin
Christian Graus8-Jun-09 23:27
protectorChristian Graus8-Jun-09 23:27 
QuestionTo record hearbeat of web application in event viewer. Pin
pravinkgarg8-Jun-09 21:00
pravinkgarg8-Jun-09 21:00 
AnswerRe: To record hearbeat of web application in event viewer. Pin
saanj8-Jun-09 21:24
saanj8-Jun-09 21:24 

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.