摘要:
//////设置DataGrid所有行的行高//////DataGrid对象///行高publicvoidSetGridDefaultRowHeight(DataGriddg,intcy){FieldInfofi=dg.GetType().GetField("m_cyRow",BindingFlag... 阅读全文
摘要:
利用DataGrid的MouseDown和MouseMove事件,模拟滑动浏览的效果intx=0,y=0;privatevoiddataGrid_MouseDown(objectsender,MouseEventArgse){x=e.X;y=e.Y;}privatevoiddataGrid_Mous... 阅读全文