Click here to Skip to main content
15,899,825 members
Home / Discussions / C#
   

C#

 
QuestionDataGridView updating datasource problem Pin
half-life5-Apr-09 21:24
half-life5-Apr-09 21:24 
AnswerRe: DataGridView updating datasource problem Pin
Greg Chelstowski5-Apr-09 22:07
Greg Chelstowski5-Apr-09 22:07 
GeneralRe: DataGridView updating datasource problem Pin
half-life5-Apr-09 22:25
half-life5-Apr-09 22:25 
GeneralRe: DataGridView updating datasource problem Pin
Henry Minute6-Apr-09 1:57
Henry Minute6-Apr-09 1:57 
GeneralRe: DataGridView updating datasource problem Pin
half-life6-Apr-09 2:03
half-life6-Apr-09 2:03 
GeneralRe: DataGridView updating datasource problem Pin
Henry Minute6-Apr-09 2:08
Henry Minute6-Apr-09 2:08 
QuestionSizing issue with rotate Graphic Pin
FrankeyJames5-Apr-09 20:22
FrankeyJames5-Apr-09 20:22 
AnswerRe: Sizing issue with rotate Graphic Pin
Christian Graus5-Apr-09 20:29
protectorChristian Graus5-Apr-09 20:29 
You're on the right step with your translate code, so that you rotate around the centre. I'm not sure how to calculate the required size of the new image, but obviously you need to know it when you create newImage, so you can create an image of the right size. I would imagine you could work out some triangles that are formed by the outline of the old image and the new one, and use trig to work out the length of the new sides, and thus work out the size of your new image.

Christian Graus

Driven to the arms of OSX by Vista.

"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )

GeneralRe: Sizing issue with rotate Graphic Pin
FrankeyJames5-Apr-09 20:57
FrankeyJames5-Apr-09 20:57 
GeneralRe: Sizing issue with rotate Graphic Pin
Christian Graus5-Apr-09 21:07
protectorChristian Graus5-Apr-09 21:07 
GeneralRe: Sizing issue with rotate Graphic Pin
FrankeyJames5-Apr-09 21:19
FrankeyJames5-Apr-09 21:19 
GeneralRe: Sizing issue with rotate Graphic Pin
Luc Pattyn6-Apr-09 3:14
sitebuilderLuc Pattyn6-Apr-09 3:14 
QuestionHow to Execute C# / SQL statement in outlook Pin
dabuskol5-Apr-09 20:14
dabuskol5-Apr-09 20:14 
AnswerRe: How to Execute C# / SQL statement in outlook Pin
Christian Graus5-Apr-09 20:21
protectorChristian Graus5-Apr-09 20:21 
QuestionHow to make FTP Pin
E_Gold5-Apr-09 19:56
E_Gold5-Apr-09 19:56 
AnswerRe: How to make FTP Pin
Rajdeep.NET is BACK5-Apr-09 20:03
Rajdeep.NET is BACK5-Apr-09 20:03 
GeneralRe: How to make FTP Pin
stancrm5-Apr-09 21:03
stancrm5-Apr-09 21:03 
QuestionHow to preserve file attributes Pin
sumit70345-Apr-09 19:51
sumit70345-Apr-09 19:51 
AnswerRe: How to preserve file attributes Pin
stancrm5-Apr-09 21:04
stancrm5-Apr-09 21:04 
QuestionHiding a process....help guys! Pin
Rajdeep.NET is BACK5-Apr-09 19:45
Rajdeep.NET is BACK5-Apr-09 19:45 
AnswerRe: Hiding a process....help guys! Pin
King Julien5-Apr-09 20:19
King Julien5-Apr-09 20:19 
GeneralRe: Hiding a process....help guys! Pin
Christian Graus5-Apr-09 20:30
protectorChristian Graus5-Apr-09 20:30 
GeneralRe: Hiding a process....help guys! Pin
King Julien5-Apr-09 20:48
King Julien5-Apr-09 20:48 
GeneralRe: Hiding a process....help guys! Pin
Rajdeep.NET is BACK5-Apr-09 21:36
Rajdeep.NET is BACK5-Apr-09 21:36 
AnswerRe: Hiding a process....help guys! Pin
Christian Graus5-Apr-09 20:31
protectorChristian Graus5-Apr-09 20:31 

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.