请下载最新版本 错误修正: 1、private void Export2Excel(DataGridView datagridview, bool captions) int i = 0; int c = 0; int m = 0; for (c = 0; c < datagridview.Columns.Count; c++) { for (int j = 0; j 0) return; //此行这样修改 3、private int _cellHeight = 23; //原来是17,
using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Data.OleDb; namespace DormMIS { /// /// Form1 的摘要说明。 /// public class Login : System.Windows.For
自定义winform 窗口标题栏 主要代码 public partial class ZForm : Form { private bool moving = false; private Point oldMousePosition; public new FormBorderStyle FormBorderStyle { get { return base.FormBorderStyle; } set { if (value != FormBorderStyle.Sizable && va