博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
显示列表控件(引用SourceGrid)
阅读量:4474 次
发布时间:2019-06-08

本文共 21214 字,大约阅读时间需要 70 分钟。

using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Data;using System.Linq;using System.Text;using System.Windows.Forms;using LUserControl.Properties;using SourceGrid.Selection;using ContentAlignment = DevAge.Drawing.ContentAlignment;using Model.ResponseModels;namespace LUserControl{    public partial class GridUc : UserControl    {        public SourceGrid.Grid DataGrid => grid;        public int GridHeight { get; set; }        ///         /// 最大行数10000        ///         public int RowMax { get; set; }        ///         /// 有无列头,0无,1有        ///         private int _top = 1;        ///         /// 多选状态记录        ///         private bool[] IsChoiceLst = new bool[30];        ///切图回调函数,一个是开锁信息,一个是选中还是不选中        public Action
LCheckBoxAction; ///点击显示完整文字事件,文字,第几列 public Action
LTxtBoxAction; ///点击显示完整文字事件,文字,第几列 public Action
LDeleteAction; //单击控制器 SourceGrid.Cells.Controllers.Button buttonClickEvent = new SourceGrid.Cells.Controllers.Button(); //单击控制器 SourceGrid.Cells.Controllers.Button buttonTxtClickEvent = new SourceGrid.Cells.Controllers.Button(); //单击控制器 SourceGrid.Cells.Controllers.Button buttonDeleteClickEvent = new SourceGrid.Cells.Controllers.Button(); /// /// 记录上一个点击cell /// private static SourceGrid.Cells.Cell _cell; /// /// /// public GridUc() { InitializeComponent(); } /// /// 添加到第一位状态 /// private void AddIsChoice(bool isChoice) { for (int i = IsChoiceLst.Length - 1; i > 0; i--) { IsChoiceLst[i] = IsChoiceLst[i - 1]; } IsChoiceLst[0] = isChoice; } #region 加载grid数据 /// /// 加载grid数据 /// public void Grid_Load(List
hearherLst, int height, int rowMax = 10000) { buttonClickEvent.Executed += new EventHandler(CellButton_Click); buttonTxtClickEvent.Executed += new EventHandler(CellButtonTxt_Click); buttonDeleteClickEvent.Executed += new EventHandler(CellButtonDelete_Click); RowMax = rowMax; if (hearherLst == null) { _top = 0; return; } _top = 1; grid.Rows.Clear(); grid.ColumnsCount = hearherLst.Count; #region 标头样式 SourceGrid.Cells.Views.Cell titleModel = new SourceGrid.Cells.Views.Cell { Font = new Font("微软雅黑", 15F, FontStyle.Regular, GraphicsUnit.Point, 134), BackColor = Color.FromArgb(14, 144, 210), ForeColor = Color.White, TextAlignment = DevAge.Drawing.ContentAlignment.MiddleCenter }; #endregion grid.Rows.Insert(0); for (int i = 0; i < hearherLst.Count; i++) { grid[0, i] = new SourceGrid.Cells.Cell(hearherLst[i].Title) { View = titleModel }; grid.Columns[i].Width = hearherLst[i].Width; } grid.Rows[0].Height = height; } ///
/// 加载grid数据 /// ///
列宽 ///
高度 ///
不能超过的数量 public void Grid_Load(int[] widthInts, int height = 35, int maxCount = 10) { _top = 0; grid.Rows.Clear(); grid.ColumnsCount = widthInts.Length; GridHeight = height; RowMax = maxCount; for (int i = 0; i < widthInts.Length; i++) { grid.Columns[i].Width = widthInts[i]; } } #endregion #region 添加一条数据至第一位 ///
/// 添加一条数据至第一位 /// ///
///
tag记录的对象 public void AddItem(List
stLst, params Object[] tagObj) { if (stLst == null) return; //设置列 if (grid.ColumnsCount < stLst.Count) { grid.ColumnsCount = stLst.Count; } SourceGrid.Cells.Views.Cell captionModel = new SourceGrid.Cells.Views.Cell { TextAlignment = DevAge.Drawing.ContentAlignment.MiddleCenter, ForeColor = Color.FromArgb(33, 33, 33), Font = new Font("微软雅黑", 15F, FontStyle.Regular, GraphicsUnit.Point, 134) }; if (grid.Rows.Count % 2 == 0) { captionModel.BackColor = Color.White; } else { captionModel.BackColor = Color.FromArgb(227, 241, 251); } grid.Rows.Insert(_top); for (var i = 0; i < stLst.Count && i < grid.ColumnsCount; i++) { //获取关键信息,这个关键信息只跟整条数据有关,如果多个就分别放在该条的单元格内 //跟该单元格并没什么关系 Object tag = ""; if (i < tagObj.Length) { tag = tagObj[i]; } if (stLst[i] == "False" || stLst[i] == "True") { grid[_top, i] = CreateImgCell(stLst[i], captionModel); } else { grid[_top, i] = new SourceGrid.Cells.Cell(stLst[i]) { View = captionModel }; } grid[_top, i].Tag = tag; } grid.Rows[_top].Height = GridHeight; //不能超过23 if (grid.RowsCount > RowMax) { grid.Rows.Remove(grid.RowsCount - 1); } //grid.AutoSizeCells(); } ///
/// 添加一条数据至第一位,数据加颜色 /// ///
///
tag记录的对象 public void AddItemColor(List
stLst,int[] intColors, Color color, params Object[] tagObj) { if (stLst == null) return; //设置列 if (grid.ColumnsCount < stLst.Count) { grid.ColumnsCount = stLst.Count; } DevAge.Drawing.RectangleBorder b = new DevAge.Drawing.RectangleBorder(); b.SetWidth(0); SourceGrid.Cells.Views.Cell captionModel = new SourceGrid.Cells.Views.Cell { TextAlignment = DevAge.Drawing.ContentAlignment.MiddleCenter, ForeColor = color, Font = new Font("微软雅黑", 15F, FontStyle.Regular, GraphicsUnit.Point, 134), Border = b }; SourceGrid.Cells.Views.Cell captionModel2 = new SourceGrid.Cells.Views.Cell { TextAlignment = DevAge.Drawing.ContentAlignment.MiddleCenter, ForeColor = Color.FromArgb(33, 33, 33), Font = new Font("微软雅黑", 15F, FontStyle.Regular, GraphicsUnit.Point, 134), Border = b }; //if (grid.Rows.Count % 2 == 0) //{ // captionModel.BackColor = Color.White; //} //else //{ // captionModel.BackColor = Color.FromArgb(227, 241, 251); //} captionModel.BackColor = Color.FromArgb(211, 211, 211); captionModel2.BackColor = Color.FromArgb(211, 211, 211); grid.Rows.Insert(_top); for (var i = 0; i < stLst.Count && i < grid.ColumnsCount; i++) { //获取关键信息,这个关键信息只跟整条数据有关,如果多个就分别放在该条的单元格内 //跟该单元格并没什么关系 Object tag = ""; if (i < tagObj.Length) { tag = tagObj[i]; } if (stLst[i] == "False" || stLst[i] == "True") { grid[_top, i] = CreateImgCell(stLst[i], captionModel); } else { grid[_top, i] = new SourceGrid.Cells.Cell(stLst[i]) { View = captionModel }; } grid[_top, i].Tag = tag; if (intColors.Contains(i)) { grid[_top, i].View = captionModel; } else { grid[_top, i].View = captionModel2; } } grid.Rows[_top].Height = GridHeight; //不能超过23 if (grid.RowsCount > RowMax) { grid.Rows.Remove(grid.RowsCount - 1); } //grid.AutoSizeCells(); } ///
/// 添加一条数据至第一位,多选 /// ///
///
tag记录的对象 public void AddItem2(List
stLst, params Object[] tagObj) { if (stLst == null) return; //设置列 if (grid.ColumnsCount < stLst.Count) { grid.ColumnsCount = stLst.Count; } SourceGrid.Cells.Views.Cell captionModel = new SourceGrid.Cells.Views.Cell { TextAlignment = DevAge.Drawing.ContentAlignment.MiddleCenter, ForeColor = Color.FromArgb(33, 33, 33), Font = new Font("微软雅黑", 15F, FontStyle.Regular, GraphicsUnit.Point, 134) }; if (grid.Rows.Count % 2 == 0) { captionModel.BackColor = Color.White; } else { captionModel.BackColor = Color.FromArgb(227, 241, 251); } //提示控件 //SourceGrid.Cells.Controllers.ToolTipText toolTipController = new SourceGrid.Cells.Controllers.ToolTipText(); //toolTipController.ToolTipTitle = "完整数据"; //toolTipController.ToolTipIcon = ToolTipIcon.Info; //toolTipController.IsBalloon = true; grid.Rows.Insert(_top); for (var i = 0; i < stLst.Count && i < grid.ColumnsCount; i++) { //获取关键信息,这个关键信息只跟整条数据有关,如果多个就分别放在该条的单元格内 //跟该单元格并没什么关系 Object tag = ""; if (i < tagObj.Length) { tag = tagObj[i]; } if (stLst[i] == "False" || stLst[i] == "True" || stLst[i] == "No") { //每行只有一个 if (i == 0) { AddIsChoice(stLst[i] == "True"); } grid[_top, i] = CreateImgCell(stLst[i], captionModel); } else { grid[_top, i] = new SourceGrid.Cells.Cell(stLst[i]) { View = captionModel }; //grid[_top, i].ToolTipText = stLst[i]; //grid[_top, i].AddController(toolTipController); } grid[_top, i].Tag = tag; } grid.Rows[_top].Height = GridHeight; //不能超过23 if (grid.RowsCount > RowMax) { grid.Rows.Remove(grid.RowsCount - 1); } //grid.AutoSizeCells(); } ///
/// 添加一条数据至第一位,显示文字版 /// ///
///
tag记录的对象 public void AddItem3(List
stLst, int[] colInts, params Object[] tagObj) { if (stLst == null) return; //设置列 if (grid.ColumnsCount < stLst.Count) { grid.ColumnsCount = stLst.Count; } SourceGrid.Cells.Views.Cell captionModel = new SourceGrid.Cells.Views.Cell { TextAlignment = DevAge.Drawing.ContentAlignment.MiddleLeft, ForeColor = Color.FromArgb(33, 33, 33), Font = new Font("微软雅黑", 15F, FontStyle.Regular, GraphicsUnit.Point, 134) }; if (grid.Rows.Count % 2 == 0) { captionModel.BackColor = Color.White; } else { captionModel.BackColor = Color.FromArgb(227, 241, 251); } //提示控件 //SourceGrid.Cells.Controllers.ToolTipText toolTipController = new SourceGrid.Cells.Controllers.ToolTipText(); //toolTipController.ToolTipTitle = "完整数据"; //toolTipController.ToolTipIcon = ToolTipIcon.Info; //toolTipController.IsBalloon = true; grid.Rows.Insert(_top); for (var i = 0; i < stLst.Count && i < grid.ColumnsCount; i++) { //获取关键信息,这个关键信息只跟整条数据有关,如果多个就分别放在该条的单元格内 //跟该单元格并没什么关系 Object tag = ""; if (i < tagObj.Length) { tag = tagObj[i]; } if (stLst[i] == "False" || stLst[i] == "True") { //每行只有一个 if (i == 0) { AddIsChoice(stLst[i] == "True"); } grid[_top, i] = CreateImgCell(stLst[i], captionModel); } else { grid[_top, i] = new SourceGrid.Cells.Cell(stLst[i]) { View = captionModel }; if (colInts.Contains(i)) { //为按钮增加事件 grid[_top, i].AddController(buttonTxtClickEvent); } //grid[_top, i].ToolTipText = stLst[i]; //grid[_top, i].AddController(toolTipController); } grid[_top, i].Tag = tag; } grid.Rows[_top].Height = GridHeight; //不能超过23 if (grid.RowsCount > RowMax) { grid.Rows.Remove(grid.RowsCount - 1); } //grid.AutoSizeCells(); } ///
/// 添加一条数据至第一位,指定位置是删除图标 /// ///
///
删除位置 ///
tag记录的对象 public void AddItemDelete(List
stLst, int col, Object tagObj) { if (stLst == null) return; //设置列 if (grid.ColumnsCount < stLst.Count) { grid.ColumnsCount = stLst.Count; } DevAge.Drawing.RectangleBorder b = new DevAge.Drawing.RectangleBorder(); b.SetWidth(0); SourceGrid.Cells.Views.Cell captionModel = new SourceGrid.Cells.Views.Cell { TextAlignment = DevAge.Drawing.ContentAlignment.MiddleLeft, ForeColor = Color.FromArgb(255, 255, 255), Font = new Font("微软雅黑", 15F, FontStyle.Regular, GraphicsUnit.Point, 134), Border = b }; captionModel.BackColor = Color.FromArgb(2, 168, 243); //提示控件 //SourceGrid.Cells.Controllers.ToolTipText toolTipController = new SourceGrid.Cells.Controllers.ToolTipText(); //toolTipController.ToolTipTitle = "完整数据"; //toolTipController.ToolTipIcon = ToolTipIcon.Info; //toolTipController.IsBalloon = true; grid.Rows.Insert(_top); for (var i = 0; i < stLst.Count && i < grid.ColumnsCount; i++) { //获取关键信息,这个关键信息只跟整条数据有关,如果多个就分别放在该条的单元格内 //跟该单元格并没什么关系 Object tag = ""; if (i == col) { tag = tagObj; } if (stLst[i] == "delete") { //每行只有一个 grid[_top, i] = CreateDeleteImgCell(captionModel); } else { grid[_top, i] = new SourceGrid.Cells.Cell(stLst[i]) { View = captionModel }; } grid[_top, i].Tag = tag; } grid.Rows[_top].Height = GridHeight; //不能超过23 if (grid.RowsCount > RowMax) { grid.Rows.Remove(grid.RowsCount - 1); } } #region 点击事件 private SourceGrid.Cells.Cell CreateImgCell(string isCheck, SourceGrid.Cells.Views.Cell captionModel) { //单击控制器 SourceGrid.Cells.Controllers.Button buttonClickEvent = new SourceGrid.Cells.Controllers.Button(); buttonClickEvent.Executed += new EventHandler(CellButton_Click); SourceGrid.Cells.Cell cell = new SourceGrid.Cells.Cell(""); switch (isCheck) { case "True": case "False": cell.Image = isCheck == "True" ? Resources.check_box : Resources.check_def; //为按钮增加事件 cell.AddController(buttonClickEvent); break; case "No": cell.Image = Resources.check_grey; break; } captionModel.ImageAlignment = ContentAlignment.MiddleCenter; cell.View = captionModel; return cell; } private SourceGrid.Cells.Cell CreateDeleteImgCell(SourceGrid.Cells.Views.Cell captionModel) { //单击控制器 SourceGrid.Cells.Controllers.Button buttonClickEvent = new SourceGrid.Cells.Controllers.Button(); buttonClickEvent.Executed += new EventHandler(CellButtonDelete_Click); SourceGrid.Cells.Cell cell = new SourceGrid.Cells.Cell(""); cell.Image = Resources.deleted; captionModel.ImageAlignment = ContentAlignment.MiddleCenter; cell.View = captionModel; //为按钮增加事件 cell.AddController(buttonClickEvent); return cell; } #endregion #endregion #region 按钮单击事件 ///
/// 按钮选中单击删除事件 /// ///
///
private void CellButtonDelete_Click(object sender, EventArgs e) { SourceGrid.CellContext context = (SourceGrid.CellContext)sender; SourceGrid.Cells.Cell btnCell = (SourceGrid.Cells.Cell)context.Cell; //MessageBox.Show(btnCell.Column.Index.ToString() + ":" + btnCell.Row.Index.ToString()); int currenRow = btnCell.Row.Index; grid.Columns.StretchToFit(); LDeleteAction?.Invoke(btnCell.Tag); } ///
/// 按钮选中单击事件 /// ///
///
private void CellButton_Click(object sender, EventArgs e) { SourceGrid.CellContext context = (SourceGrid.CellContext)sender; SourceGrid.Cells.Cell btnCell = (SourceGrid.Cells.Cell)context.Cell; #region 切换图片,单选形式 if (IsChoiceLst[btnCell.Row.Index]) { btnCell.Image = Resources.check_def; } else { btnCell.Image = Resources.check_box; } IsChoiceLst[btnCell.Row.Index] = !IsChoiceLst[btnCell.Row.Index]; #endregion //MessageBox.Show(btnCell.Column.Index.ToString() + ":" + btnCell.Row.Index.ToString()); int currenRow = btnCell.Row.Index; grid.Columns.StretchToFit(); LCheckBoxAction?.Invoke(btnCell.Tag, IsChoiceLst[btnCell.Row.Index]); } ///
/// 按钮单击事件 /// ///
///
private void CellButtonTxt_Click(object sender, EventArgs e) { SourceGrid.CellContext context = (SourceGrid.CellContext)sender; SourceGrid.Cells.Cell btnCell = (SourceGrid.Cells.Cell)context.Cell; //MessageBox.Show(btnCell.Column.Index.ToString() + ":" + btnCell.Row.Index.ToString()); int currenCol = btnCell.Column.Index; grid.Columns.StretchToFit(); LTxtBoxAction?.Invoke(btnCell.DisplayText, currenCol); } #endregion #region 改变指定列数据的位置的数据 ///
/// 改变指定列数据的位置的数据,该项目只有取详情里用到 /// /// ///
///
///
public void SetCell(int col, string data, int changeCol, string newSt,Color fColor,Color bColor) { //ForeColor = Color.FromArgb(124, 178, 7), // Font = new Font("微软雅黑", 15F, FontStyle.Regular, // GraphicsUnit.Point, 134), // BackColor = Color.FromArgb(211, 211, 211) SourceGrid.Cells.Views.Cell captionModel3 = new SourceGrid.Cells.Views.Cell { TextAlignment = DevAge.Drawing.ContentAlignment.MiddleCenter, ForeColor = fColor, Font = new Font("微软雅黑", 15F, FontStyle.Regular, GraphicsUnit.Point, 134), BackColor = bColor }; for (int j = 0; j < DataGrid.RowsCount; j++) { var temp = DataGrid[j, col].Tag as Check; if (temp.epcId == data) { DataGrid[j, changeCol] = new SourceGrid.Cells.Cell(newSt) { View = captionModel3 }; } } grid.Columns.StretchToFit(); } ///
/// 还原选中列为可选 /// ///
指定列 ///
找到标识行 ///
改变的列 ///
该列带的对象 public void ReductionCell(int col, string data, int changeCol, object tagObj) { SourceGrid.Cells.Views.Cell captionModel3 = new SourceGrid.Cells.Views.Cell { TextAlignment = DevAge.Drawing.ContentAlignment.MiddleLeft, ForeColor = Color.FromArgb(124, 178, 7), Font = new Font("微软雅黑", 15F, FontStyle.Regular, GraphicsUnit.Point, 134), BackColor = Color.FromArgb(211, 211, 211) }; for (int j = 0; j < DataGrid.RowsCount; j++) { var temp = DataGrid[j, col].Tag as FindInfoPageRp; if (temp.id == data) { if (j % 2 == 0) { captionModel3.BackColor = Color.White; } else { captionModel3.BackColor = Color.FromArgb(227, 241, 251); } DataGrid[j, changeCol] = CreateImgCell("False", captionModel3); DataGrid[j, changeCol].Tag = tagObj; } } grid.Columns.StretchToFit(); } #endregion #region 清掉除了标头 ///
/// 清掉除了标头 /// public void Clear() { int count = grid.RowsCount - _top; for (int i = 0; i < count; i++) { grid.Rows.Remove(_top); } } #endregion private void GridUc_Load(object sender, EventArgs e) { grid.Redim(3, 2); SourceGrid.Cells.Views.Cell titleModel = new SourceGrid.Cells.Views.Cell { BackColor = Color.FromArgb(14, 144, 210), ForeColor = Color.White, TextAlignment = DevAge.Drawing.ContentAlignment.MiddleCenter, Font = new Font("微软雅黑", 15F, FontStyle.Regular, GraphicsUnit.Point, 134) }; SourceGrid.Cells.Views.Cell captionModel = new SourceGrid.Cells.Views.Cell { BackColor = grid.BackColor }; int currentRow = 0; //#region Base Types //grid.Rows.Insert(0); //grid[currentRow, 0] = new SourceGrid.Cells.Cell("编码") {View = titleModel}; //grid[currentRow, 1] = new SourceGrid.Cells.Cell("打印") {View = titleModel}; //grid[currentRow, 2] = new SourceGrid.Cells.Cell("校验") { View = titleModel }; //grid[currentRow, 3] = new SourceGrid.Cells.Cell("发行时间") { View = titleModel }; //#endregion GridHeight = 48; //grid.Rows[0].Height = GridHeight; //grid.Columns[0].Width = 225; //grid.Columns[1].Width = 75; //grid.Columns[2].Width = 75; //grid.Columns[3].Width = 125; // 选择行 grid.SelectionMode = SourceGrid.GridSelectionMode.Cell; //选择框的大小 var selection = grid.Selection as SelectionBase; if (selection != null) { DevAge.Drawing.RectangleBorder b = selection.Border; b.SetWidth(0); selection.Border = b; } grid.Columns.StretchToFit(); grid.AutoSizeCells(); //List
lst = new List
(); //lst.Add("False"); //lst.Add("身份证身份证"); //AddItem(lst, "1"); //List
lst = new List
(); //lst.Add("32132132132"); //lst.Add("false"); //lst.Add("true"); //lst.Add(DateTime.Now.ToString()); //AddItem(lst); //int[] wInts = new[] { 80, 80, 120, 220, 90 }; //Grid_Load(wInts, 45, 6); //List
stList = new List
(); //stList.Add("False"); //stList.Add("白正伟"); //stList.Add("*****5526"); //stList.Add("2018-01-08 18:07"); //stList.Add("在库"); //for (int i = 0; i < 20; i++) //{ // AddItem(stList); //} //int[] wInts = new[] { 70, 100, 110, 80 }; //Grid_Load(wInts, 45, 7); //List
stList = new List
(); //stList.Add("槽1"); //stList.Add("白正伟"); //stList.Add("*****5526"); //stList.Add("待取"); //for (int i = 0; i < 20; i++) //{ // AddItemColor(stList,new int[] { 3}, Color.FromArgb(2, 168, 243)); //} //查看 int[] wInts = new[] { 200, 321, 300,120 }; Grid_Load(wInts, 35, 7); List
stList = new List
(); stList.Add("白正伟"); stList.Add("*****5526"); stList.Add("2018-01-08 18:07"); stList.Add("12"); for (int i = 0; i < 20; i++) { AddItem(stList); } } } public class Heaher { ///
/// 文字 /// public string Title { get; set; } ///
/// 高度 /// public int Width { get; set; } }}
namespace LUserControl{    partial class GridUc    {        ///          /// 必需的设计器变量。        ///         private System.ComponentModel.IContainer components = null;        ///          /// 清理所有正在使用的资源。        ///         /// 如果应释放托管资源,为 true;否则为 false。        protected override void Dispose(bool disposing)        {            if (disposing && (components != null))            {                components.Dispose();            }            base.Dispose(disposing);        }        #region 组件设计器生成的代码        ///          /// 设计器支持所需的方法 - 不要修改        /// 使用代码编辑器修改此方法的内容。        ///         private void InitializeComponent()        {            this.grid = new SourceGrid.Grid();            this.SuspendLayout();            //             // grid            //             this.grid.Dock = System.Windows.Forms.DockStyle.Fill;            this.grid.EnableSort = true;            this.grid.Location = new System.Drawing.Point(0, 0);            this.grid.Name = "grid";            this.grid.OptimizeMode = SourceGrid.CellOptimizeMode.ForRows;            this.grid.SelectionMode = SourceGrid.GridSelectionMode.Cell;            this.grid.Size = new System.Drawing.Size(944, 343);            this.grid.TabIndex = 0;            this.grid.TabStop = true;            this.grid.ToolTipText = "";            //             // GridUc            //             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;            this.Controls.Add(this.grid);            this.Name = "GridUc";            this.Size = new System.Drawing.Size(944, 343);            this.Load += new System.EventHandler(this.GridUc_Load);            this.ResumeLayout(false);        }        #endregion        private SourceGrid.Grid grid;    }}

 

转载于:https://www.cnblogs.com/lsgsanxiao/p/9020366.html

你可能感兴趣的文章
poj 2104 K-th Number(可持久化线段树)/hdu 2665
查看>>
如何在vue2.0项目中引用element-ui和echart.js
查看>>
VS单元测试
查看>>
python的set集合去重功能
查看>>
struts2 result type的类型
查看>>
Git教程
查看>>
无向图连通图(割)
查看>>
一年以后,又回来了
查看>>
找错题
查看>>
分布式环境下限流方案的实现redis RateLimiter Guava,Token Bucket, Leaky Bucket
查看>>
Spring笔记
查看>>
C# 如何查看源程序的IL代码
查看>>
maven+springmvc出现:java.sql.SQLException: Unknown system variable 'query_cache_size'
查看>>
java中的上传下载----ajaxFileUpload+struts2
查看>>
RMAN简明教程之六——RMAN的管理
查看>>
Silverlight/Windows8/WPF/WP7/HTML5周学习导读(8月13日-8月19日)
查看>>
BZOJ 1004([HNOI2008]Cards-Polya计数+k背包)
查看>>
也谈分层
查看>>
深入理解JVM(二)JVM内存模型
查看>>
ELK 安装笔记
查看>>