您好,欢迎光临本网站![请登录][注册会员]  

搜索资源列表

  1. 文本文件与RichTextBox,openFileDialog,saveFileDialog的应用,C#源代码

  2. 文本文件与RichTextBox,openFileDialog,saveFileDialog的应用,C#源代码 用VisualStudio2008创建
  3. 所属分类:C#

    • 发布日期:2008-12-24
    • 文件大小:40960
    • 提供者:wenli19900212
  1. 二进制文件的读写,当前时间写入到dat文件中,可以读入读出.C#源代码

  2. 二进制文件的读写,当前时间写入到dat文件中,可以读入读出.C#源代码 用VisualStudio2008创建 http://download.csdn.net/user/gouyue下载
  3. 所属分类:C#

    • 发布日期:2008-12-24
    • 文件大小:36864
    • 提供者:fengws_sd
  1. 读写ini配置文件,一般来说,ini是ASCII的,exe是二进制的,txt是ASCII的

  2. 读写ini配置文件,一般来说,ini是ASCII的,exe是二进制的,txt是ASCII的 什么文件在本质上都是相同的,都是"0"\"1"组成的。只不过有些文件能被程序(包括Windows\Liunx等操作系统)读出来并释义,而有些可能读出来他报错。C#源代码 注:ini文件被保存在bin文件夹中。 用VisualStudio2008创建
  3. 所属分类:C#

    • 发布日期:2008-12-24
    • 文件大小:36864
    • 提供者:gouyue
  1. 创建轨迹梯度,渐变五角星,C#源代码

  2. 创建轨迹梯度,渐变五角星,C#源代码 // Put the points of a polygon in an array. Point[] points = { new Point(75, 0), new Point(100, 50), new Point(150, 50), new Point(112, 75), new Point(150, 150), new Point(75, 100), new Point(0, 150), new Point(37, 75), new Point(
  3. 所属分类:C#

    • 发布日期:2008-12-31
    • 文件大小:33792
    • 提供者:lxh1020wx
  1. 多种风格的端点,switch ,case,的用法实例,C#源代码//启发Paint事件并执行其中的代码

  2. 多种风格的端点,switch ,case,的用法实例,C#源代码//启发Paint事件并执行其中的代码 this.Invalidate(); VisualStudio2008创建
  3. 所属分类:C#

    • 发布日期:2008-12-31
    • 文件大小:36864
    • 提供者:gouyue
  1. 全局变形和局部变形,图形填充,PaintC#源代码Graphics myGraphics=e.Graphics;

  2. 全局变形和局部变形,图形填充,PaintC#源代码Graphics myGraphics=e.Graphics; Rectangle myRectangle = new Rectangle(100, 100, 60, 60); GraphicsPath myGraphicsPath = new GraphicsPath(); myGraphicsPath.AddRectangle(myRectangle); SolidBrush mySolidBrush1=new SolidBrush(Col
  3. 所属分类:C#

    • 发布日期:2008-12-31
    • 文件大小:33792
    • 提供者:dongfangyun
  1. 用C#编写图形美丽的眼睛,图形容器的应用,C#源代码// Draw an ellipse centered at (100,

  2. 用C#编写图形美丽的眼睛,图形容器的应用,C#源代码// Draw an ellipse centered at (100, 100). Graphics myGraphics=e.Graphics; Pen myBlackPen=new Pen(Color.Black); myGraphics.TranslateTransform(100, 100); myGraphics.DrawEllipse(myBlackPen, -40, -60, 80, 120); // Draw the eye
  3. 所属分类:C#

    • 发布日期:2008-12-31
    • 文件大小:34816
    • 提供者:gouyue
  1. 创建线性梯度,C#源代码LinearGradientBrush linGrBrush = new LinearGradientBrush(

  2. 创建线性梯度,C#源代码LinearGradientBrush linGrBrush = new LinearGradientBrush( new Point(0, 0), new Point(200, 100), Color.FromArgb(255, 0, 0, 255), // opaque blue Color.FromArgb(255, 0, 255, 0)); // opaque green Pen pen = new Pen(linGrBrush, 10); e.Graphics
  3. 所属分类:C#

    • 发布日期:2008-12-31
    • 文件大小:33792
    • 提供者:gouyue
  1. 用C#绘制自定义虚线,C#源代码float[] dashValues = { 5, 2, 15, 4 };

  2. 用C#绘制自定义虚线,C#源代码float[] dashValues = { 5, 2, 15, 4 }; Pen blackPen = new Pen(Color.Red, 5); blackPen.DashPattern = dashValues; e.Graphics.DrawLine(blackPen, new Point(5, 5), new Point(405, 100)); VisualStudio2008创建
  3. 所属分类:C#

    • 发布日期:2008-12-31
    • 文件大小:33792
    • 提供者:onihility
  1. 梯度渐变,C#源代码LinearGradientBrush linGrBrush = new LinearGradientBrush(

  2. 梯度渐变,C#源代码LinearGradientBrush linGrBrush = new LinearGradientBrush( new Point(0, 10), new Point(200, 10), Color.Red, Color.Blue); e.Graphics.FillRectangle(linGrBrush, 0, 0, 200, 50); linGrBrush.GammaCorrection = true; e.Graphics.FillRectangle(linGrB
  3. 所属分类:C#

    • 发布日期:2008-12-31
    • 文件大小:20480
    • 提供者:lijinqiang
  1. 绘制用纹理填充的图形,C#源代码Bitmap bitmap = new Bitmap("..\\..\\test.jpg");

  2. 绘制用纹理填充的图形,C#源代码Bitmap bitmap = new Bitmap("..\\..\\test.jpg"); TextureBrush tBrush = new TextureBrush(bitmap); Pen texturedPen = new Pen(tBrush, 30); e.Graphics.DrawImage(bitmap, 0, 0, bitmap.Width, bitmap.Height); e.Graphics.DrawEllipse(texturedPe
  3. 所属分类:C#

    • 发布日期:2008-12-31
    • 文件大小:34816
    • 提供者:george_lijz
  1. 显示动画光标(C#源代码编写)显示动画光标,当运行程序时,光标将变成动画光标

  2. 显示动画光标(C#源代码编写)显示动画光标,当运行程序时,光标将变成动画光标 VisualStudio2008创建[DllImport("user32")] private static extern IntPtr SetCursor(IntPtr hCursor); [DllImport("user32")] private static extern IntPtr LoadCursorFromFile(string lpFileName); const int WM_SETCURSOR =
  3. 所属分类:C#

    • 发布日期:2009-01-07
    • 文件大小:34816
    • 提供者:stiven900804
  1. 旋转、反射和扭曲图像程序(C#源代码编写)Image image = new Bitmap("..\\..\\test.bmp");

  2. 旋转、反射和扭曲图像程序(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
  3. 所属分类:C#

    • 发布日期:2009-01-07
    • 文件大小:57344
    • 提供者:qq358291270
  1. 用图像平铺形状程序(C#源代码编写)private void Form1_Paint(object sender, PaintEventArgs e)

  2. 用图像平铺形状程序(C#源代码编写)private void Form1_Paint(object sender, PaintEventArgs e) { Image image = new Bitmap("..\\..\\test.bmp"); TextureBrush tBrush = new TextureBrush(image); tBrush.WrapMode = WrapMode.TileFlipXY; e.Graphics.FillRectangle(tBrush, new Re
  3. 所属分类:C#

    • 发布日期:2009-01-07
    • 文件大小:36864
    • 提供者:zlyczc
  1. 抓取并显示程序中的鼠标程序(C#源代码编写)Graphics g;

  2. 抓取并显示程序中的鼠标程序(C#源代码编写)Graphics g; private void Form1_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e) { Cursor.Draw(g,new Rectangle(e.X,e.Y,10,10)); } private void Form1_Load(object sender, System.EventArgs e) { g=this.CreateGraphics();
  3. 所属分类:C#

    • 发布日期:2009-01-07
    • 文件大小:36864
    • 提供者:scarbetter
  1. 阴影效果的文字程序(C#源代码编写) Graphics g = e.Graphics;

  2. 阴影效果的文字程序(C#源代码编写) Graphics g = e.Graphics; Font myFont; myFont = new Font("SansSerif", 40); SolidBrush textShadowBrush = new SolidBrush(Color.FromArgb(70, Color.Blue)); VisualStudio2008创建
  3. 所属分类:C#

    • 发布日期:2009-01-07
    • 文件大小:33792
    • 提供者:qq223857666
  1. 进度条例子(C#源代码编写)进度条例子,动态连续显示{

  2. 进度条例子(C#源代码编写)进度条例子,动态连续显示{ if (progressBar1.Value >= 200 ) { progressBar1.Value = 0; return; } progressBar1.Value += 20; } VisualStudio2008创建
  3. 所属分类:C#

    • 发布日期:2009-01-08
    • 文件大小:50176
    • 提供者:itxiaobaobao
  1. 初始化颜色对话框自定义颜色集,显示颜色对话框的自定义颜色控件C#源代码 //初始化颜色对话框自定义颜色集

  2. 初始化颜色对话框自定义颜色集,显示颜色对话框的自定义颜色控件C#源代码 //初始化颜色对话框自定义颜色集 ColorDialog MyDlg = new ColorDialog(); MyDlg.CustomColors = new int[]{6916092, 15195440, 16107657, 1836924, 3758726, 12566463, 7526079, 7405793, 6945974, 241502, 2296476, 5130294, 3102017, 7324121
  3. 所属分类:C#

    • 发布日期:2009-01-09
    • 文件大小:38912
    • 提供者:aron3zx
  1. 为字体对话框添加应用功能,设置字体大小及字体各类,在字体对话框中添加颜色设置功能C#源代码private FontDialog MyApplyDlg;

  2. 为字体对话框添加应用功能,设置字体大小及字体各类,在字体对话框中添加颜色设置功能C#源代码private FontDialog MyApplyDlg; private void button1_Click(object sender, EventArgs e) { //为字体对话框添加应用功能 MyApplyDlg = new FontDialog(); MyApplyDlg.ShowApply = true; MyApplyDlg.Font = this.button1.Font; MyAp
  3. 所属分类:C#

    • 发布日期:2009-01-09
    • 文件大小:36864
    • 提供者:toutouaizheni
  1. 数字时钟,动态显示当前时间,C#源代码public string ProcessTime()

  2. 数字时钟,动态显示当前时间,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)
  3. 所属分类:C#

    • 发布日期:2009-01-09
    • 文件大小:37888
    • 提供者:tzlsoft
« 1 2 3 4 5 6 78 9 10 11 »