旋转、反射和扭曲图像程序(C#源代码编写)Image image = new Bitmap("..\\..\\test.bmp"); e.Graphics.DrawImage(image, 200, 200, 300, 300); Point[] destinationPoints = { new Point(0, 20), // destination for upper-left point of // original new Point(300, 50), // destination
阴影效果的文字程序(C#源代码编写) Graphics g = e.Graphics; Font myFont; myFont = new Font("SansSerif", 40); SolidBrush textShadowBrush = new SolidBrush(Color.FromArgb(70, Color.Blue)); VisualStudio2008创建
数字时钟,动态显示当前时间,C#源代码public string ProcessTime() { string sTime; // Get the current time int iHour = DateTime.Now.Hour; int iMin = DateTime.Now.Minute; int iSec = DateTime.Now.Second; // Format the current time into a string... sTime = (iHour < 10)