Click here to Skip to main content
15,791,229 members
Home / Discussions / C#
   

C#

 
QuestionHow can I make Command at runtime? Pin
bania6-Feb-03 16:40
bania6-Feb-03 16:40 
AnswerRe: How can I make Command at runtime? Pin
leppie6-Feb-03 22:53
leppie6-Feb-03 22:53 
GeneralThanks a lot!! Pin
bania7-Feb-03 4:32
bania7-Feb-03 4:32 
Questionassociate an object with datagrid's row ? Pin
Paresh Gheewala6-Feb-03 15:11
Paresh Gheewala6-Feb-03 15:11 
QuestionDrawString Diagonally on Image object? Pin
wkoch6-Feb-03 11:23
wkoch6-Feb-03 11:23 
AnswerRe: DrawString Diagonally on Image object? Pin
Paresh Gheewala6-Feb-03 11:43
Paresh Gheewala6-Feb-03 11:43 
AnswerRe: DrawString Diagonally on Image object? Pin
James T. Johnson6-Feb-03 16:37
James T. Johnson6-Feb-03 16:37 
GeneralRe: DrawString Diagonally on Image object? Pin
b99koch17-Mar-03 10:58
sussb99koch17-Mar-03 10:58 
Thanks for the tip. That worked out great!

I adapted it to VB, but basically I had to add the following lines:

Dim myMatrix As New Matrix()
Dim rotatePoint As New PointF(xPos, yPos)

'Rotate the matrix "Me.Angle" degrees
myMatrix.RotateAt(Me.Angle, rotatePoint, MatrixOrder.Append)

' Draw the rectangle to the screen again after applying the
' transform.
grPhoto.Transform = myMatrix


'draw the string of text onto the graphics object.
grPhoto.DrawString(mWMString, crFont, semiTransBrush2, rotatePoint, StrFormat) 'string of text
'font
'Brush
'Position

''prep the image for saving.
imgPhoto = bmPhoto

GeneralManaged DirectDraw Pin
Tomas Petricek6-Feb-03 10:49
Tomas Petricek6-Feb-03 10:49 
GeneralUsing Bitmap.Save(FileName, ImageFormat.Icon) Pin
draco_iii6-Feb-03 9:28
draco_iii6-Feb-03 9:28 
GeneralRe: Using Bitmap.Save(FileName, ImageFormat.Icon) Pin
Paresh Gheewala6-Feb-03 10:32
Paresh Gheewala6-Feb-03 10:32 
GeneralRe: Using Bitmap.Save(FileName, ImageFormat.Icon) Pin
draco_iii6-Feb-03 12:55
draco_iii6-Feb-03 12:55 
GeneralWhich PixelFormat. to use Pin
draco_iii6-Feb-03 15:54
draco_iii6-Feb-03 15:54 
GeneralShow System Menu on a borderless form Pin
Peter Dedene6-Feb-03 8:58
Peter Dedene6-Feb-03 8:58 
Generalproblem with saving XML to xml file Pin
Wizard_016-Feb-03 6:33
Wizard_016-Feb-03 6:33 
GeneralRe: problem with saving XML to xml file Pin
Paresh Gheewala6-Feb-03 8:46
Paresh Gheewala6-Feb-03 8:46 
GeneralRe: problem with saving XML to xml file Pin
Ryan Cromwell7-Feb-03 10:23
Ryan Cromwell7-Feb-03 10:23 
GeneralSerialization Pin
Filip Strugar6-Feb-03 5:56
Filip Strugar6-Feb-03 5:56 
GeneralRe: Serialization Pin
Furty7-Feb-03 15:16
Furty7-Feb-03 15:16 
GeneralRe: Serialization Pin
Victor Vogelpoel8-Feb-03 0:06
Victor Vogelpoel8-Feb-03 0:06 
GeneralDocking Windows Pin
Braulio Dez6-Feb-03 2:20
Braulio Dez6-Feb-03 2:20 
GeneralRe: Docking Windows Pin
TigerNinja_6-Feb-03 4:52
TigerNinja_6-Feb-03 4:52 
GeneralRe: Docking Windows Pin
Braulio Dez6-Feb-03 5:31
Braulio Dez6-Feb-03 5:31 
GeneralRe: Docking Windows Pin
Paul Riley6-Feb-03 5:45
Paul Riley6-Feb-03 5:45 
GeneralRe: Docking Windows Pin
Braulio Dez6-Feb-03 6:12
Braulio Dez6-Feb-03 6:12 

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.