winfrom
ohyoyo2014
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Winform中的dataGridView添加自动编号
新建一个WinForm项目,在工具栏里拖一个dataGriView到窗体中,默认名称为dataGridView1,把数据源添加到dataGridView1中,运行,看到dataGriView1有数据显示,但没有行编号,所以我们需要添加一列,用来显示行号,以便我们知道这是第几条记录。选中dataGriView1,然后在属性列表的事件选择RowPostPaint事件,双击后添加事件处理函数,代码如下:转载 2014-08-02 11:39:24 · 19167 阅读 · 6 评论 -
C# winfrom TabConTrol控件背景颜色问题
C# TabConTrol控件背景颜色问题 大家肯定都遇到过这样的问题,在做WinForm项目的时候,需要对窗体和控件进行美化,而使用第三方控件的话也没有什么免费的,这时就需要自己用VS 自带的美化样式进行美化,而当美化到TabControl控件时,难题来了: 属性中,并没有直接设置控件的BackImage属性,没办法设置主控件的背景。以下我给大家转载 2014-08-09 08:56:01 · 11473 阅读 · 4 评论 -
TabControl选中的标签的头部颜色
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;namespace testTabFlash{ publi转载 2014-08-09 08:50:14 · 5504 阅读 · 0 评论 -
c# winform 窗口实现自动隐藏
private void Form1_Load(object sender, EventArgs e) { //自动隐藏 System.Windows.Forms.Timer StopRectTimer = new System.Windows.Forms.Timer(); Sto转载 2014-08-09 17:55:37 · 5719 阅读 · 1 评论
分享