Yes, I know, the code is F#, but it's pretty similar to C#, so I hope you can find where is the problem!! I'm trying to rotate an image, but nothing happens. Can anyone tell me why?
openMenuItem.Click.Add(fun _ ->
let dialog = new OpenFileDialog()
if dialog.ShowDialog()= DialogResult.OK then
//Turn image
let mutable myBitmap = new Bitmap(dialog.FileName)
let mutable emptyBitmap = new Bitmap(myBitmap.Width, myBitmap.Height)
let mutable myBitmap1 = Graphics.FromImage(emptyBitmap)
Bookmarks