Description: This is a sample code to Demo how to spin a picture in C#. C# only have rotate 90,180,270 degree in picture, if you want other degree your need to write your source code by yourself. You can see how to new graphics in c#, TranslateTransform demo and use timer to rotate 360 degree in dialog. This is a complete working sample, you can build it on your VC 2005 c# environment.
File list (Check if you may need any files):
DemoSpin
........\MyTest1
........\.......\bin
........\.......\...\Debug
........\.......\...\.....\MyTest1.exe
........\.......\...\.....\MyTest1.pdb
........\.......\...\.....\MyTest1.vshost.exe
........\.......\Form1.cs
........\.......\Form1.Designer.cs
........\.......\Form1.resx
........\.......\MyTest1.csproj
........\.......\obj
........\.......\...\Debug
........\.......\...\.....\MyTest1.csproj.GenerateResource.Cache
........\.......\...\.....\MyTest1.exe
........\.......\...\.....\MyTest1.Form1.resources
........\.......\...\.....\MyTest1.pdb
........\.......\...\.....\MyTest1.Properties.Resources.resources
........\.......\...\.....\TempPE
........\.......\...\MyTest1.csproj.FileListAbsolute.txt
........\.......\Program.cs
........\.......\Properties
........\.......\..........\AssemblyInfo.cs
........\.......\..........\Resources.Designer.cs
........\.......\..........\Resources.resx
........\.......\..........\Settings.Designer.cs
........\.......\..........\Settings.settings
........\MyTest1.sln