freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

一個(gè)用于打印datagrid里數(shù)據(jù)的類模塊-在線瀏覽

2024-11-05 17:44本頁(yè)面
  

【正文】 id = aGrid。dataSet1=(DataSet)。if(!){PageWidth = 。}else {PageWidth = 。}TopMargin = 。RightMargin=。printwidth=0。//鼠標(biāo)式樣 = 。RowCount = 0。}}else {if(ShowPageSetup) {pageSetup()。} = currentCursor。// = new PageSetupDialog()。if(() == ){ThePrintDocument=。PageHeight = 。PageHeight = 。BottomMargin = 。LeftMargin=。} }endregionregion 表格表頭public void DrawHeader(Graphics g){SolidBrush ForeBrush = new SolidBrush()。Pen TheLinePen = new Pen(, 1)。 = 。 = | 。int columnwidth = PageWidth/。// draw the table headerint startxposition =LeftMargin+ 。dgts=[0]。 k 。}if(printwidth)//確定打印區(qū)寬度{printwidth=。RectangleF HeaderBounds = new RectangleF(0, 0, 0, 0)。 = + TopMargin + (RowCount initialRowCount) * ( + kVerticalCellLeeway)。 = printwidthLeftMargin。for (int k = 0。 k++){string nextcolumn = [k].ToString()。//列寬為零RectangleF cellbounds = new RectangleF(startxposition, 5+ + TopMargin + (RowCount initialRowCount) * ( + kVerticalCellLeeway),[k].Width, + kVerticalCellLeeway)。if (startxposition + [k].Width = PageWidth){(nextcolumn, , ForeBrush, cellbounds, cellformat)。}if ( != )(TheLinePen, LeftMargin+ , , printwidth, )。float lastBottom = 0。try{SolidBrush ForeBrush = new SolidBrush()。SolidBrush AlternatingBackBrush = new SolidBrush()。StringFormat cellformat = new StringFormat()。 = | 。int columnwidth = PageWidth/。RectangleF RowBounds = new RectangleF(0, 0, 0, 0)。// draw vertical lines// draw the rows of the tablefor (int i = initialRowCount。 i++){DataRow dr = [i]。 = LeftMargin+ 。 = + kVerticalCellLeeway。()。}else{(AlternatingBackBrush, RowBounds)。dgts=[0]。 j 。RectangleF cellbounds = new RectangleF(startxposition, 5+ + TopMargin + ((RowCount initialRowCount) + 1) * ( + kVerticalCellLeeway),[j].Width, + kVerticalCellLeeway)。lastRowBottom = (int)。}startxposition =
點(diǎn)擊復(fù)制文檔內(nèi)容
外語相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1