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

正文內(nèi)容

項目十四物聯(lián)網(wǎng)技術(shù)綜合實踐-資料下載頁

2025-07-14 02:23本頁面
  

【正文】 private void btnOk_Click(object sender, EventArgs e) { ()。 gii = new ()。 = 。 = ()。 //GoodsInInfo表操作,GoodsInCode這里是入庫單的條碼 ()。 for (int i = 0。 i 。i++ ) { gid = new ()。 = [i].()。 = [i].SubItems[0].Text。 = [i].SubItems[1].Text。 = [i].SubItems[2].Text。 = 12。 = [i].SubItems[4].Text。 =[i].SubItems[5].Text。 = ([i].SubItems[6].Text)。 int id=(gid)。 (,id)。 } (商品入庫登記完成)。 } /// summary /// 清空按鈕事件 /// /summary /// param name=sender/param /// param name=e/param private void btnClear_Click(object sender, EventArgs e) { ()。 } /// summary /// 關(guān)閉窗體事件 /// /summary /// param name=sender/param /// param name=e/param private void frmGoodsIn_FormClosing(object sender, FormClosingEventArgs e) { CloseRFID()。 ()。 } /// summary /// timer控件事件 /// /summary /// param name=sender/param /// param name=e/param private void timer1_Tick(object sender, EventArgs e) { = false。 = false。 ()。 GetNumber()。 AllocateLocation()。 = true。 = true。 } 出庫單繪制事件 /// summary /// 出庫單繪制事件 /// /summary /// param name=sender/param /// param name=e/param private void printDocument1_PrintPage(object sender, PrintPageEventArgs e) { Graphics g = 。 Liststring[] list1 = new Liststring[]()。 string[] row1 = new string[] { }。 string[] header = new string[] { 商品名稱, 所在貨架, 商品數(shù)量 }。 Pen pen = new Pen(, 3)。 for (int i = 0。 i 。 i++) { row1 = new string[] { [i].SubItems[2].(), [i].SubItems[6].(), 1 }。 int x = 100。 int y = 300。 Font font = new Font(宋體, 20)。 Point point1 = new Point(x, y + i * 30)。//橫向起點 Point point2 = new Point(x + 600, y + i * 30)。//橫向終點 Point pointLine3 = new Point(x, y + 10 + (i + 1) * 30)。//左邊線縱向終點 Point pointLine4 = new Point(x + 600, y + 10 + (i + 1) * 30)。//右邊線縱向終點 Point point7 = new Point(x + 40 + 2, y + 2 + i * 30)。//左側(cè)文字起點 Point point8 = new Point(x + 190 + 102, y + 2 + i * 30)。//中間文字起點 Point point9 = new Point(x + 290 + 202, y + 2 + i * 30)。//右側(cè)位子起點 //最后一條線 if ( i == 1) { (pen, pointLine3, pointLine4)。//橫線 (g, , (float)450, (float)(y + 30 + (i + 1) * 30))。 } (row1[0], font, , point7)。 (row1[1], font, , point8)。 (row1[2], font, , point9)。 } Point pointLine1 = new Point(100, 280)。 Point pointLine2 = new Point(700, 280)。 Point pointTitle = new Point(200 + 102, 100 + 2 + 30)。 Font titlefont = new Font(宋體, 40)。 Font headerfont = new Font(宋體, 20)。 Point pointHeader1 = new Point(142, 204 + 30)。 Point pointHeader2 = new Point(342, 204 + 30)。 Point pointHeader3 = new Point(542, 204 + 30)。 (pen, pointLine1, pointLine2)。 (header[0], headerfont, , pointHeader1)。 (header[1], headerfont, , pointHeader2)。 (header[2], headerfont, , pointHeader3)。 (入庫單, titlefont, , pointTitle)。 }使用了GDI+繪制了入庫單的,入庫單上要有入庫單的名稱,單號,單號代表的條碼。和入庫貨物的信息。公共語言運行庫使用名為 GDI+ 的 Windows 圖形設(shè)計界面 (GDI) 的高級實現(xiàn)。GDI+ 使您可以創(chuàng)建圖形、繪制文本以及將圖形圖像作為對象操作。GDI+ 旨在提供較好的性能并且易于使用。可以使用 GDI+ 在 Windows 窗體和控件上呈現(xiàn)圖形圖像。GDI+ 已完全替代 GDI,目前是在 Windows 窗體應(yīng)用程序中以編程方式呈現(xiàn)圖形的唯一方法。也可以在設(shè)計時使用圖像編輯器來創(chuàng)建圖像以便應(yīng)用程序以后使用。雖然無法對 Web 窗體直接使用 GDI+,但可以通過 Web 服務(wù)器“圖像”(Image) 控件顯示圖形圖像。商品出庫出庫的過程類似于一個入庫的方向過程,為了方便理解,我們將單獨為出庫的過程做幾個類似與入庫的類,如:出庫單,出庫詳細,出庫貨物。(1)窗體界面設(shè)計圖146商品出庫界面設(shè)計(2)窗體屬性設(shè)置窗體StartPosition屬性MaximizeBox屬性MinimizeBox屬性FormBorderStyle屬性Text屬性frmGoodsOutCenterParentFalseFalseFixedSingle商品出庫設(shè)置Label控件屬性控件Name屬性Text屬性LablelblOutCode出庫單號LablelblOutNum出庫數(shù)量LablelblSelectGoods選擇商品LablelblCargo選擇貨架LablelblNum選擇數(shù)量LablelblOutDetail出庫詳單設(shè)置TextBox控件屬性控件Name屬性ReadOnly屬性TextBoxtxtOutCodeTrueTextBoxtxtOutNumTrueTextBoxtxtNumFalse設(shè)置ComboBox控件屬性控件Name屬性DropDownStyle屬性ComboBoxcboGoodsDropDownComboBoxcboCargoDropDownList設(shè)置GroudBox控件屬性控件Name屬性GroudBoxgbSelectGoods設(shè)置 Button控件屬性控件Name屬性Text屬性ButtonbtnAdd添加ButtonbtnOk確認ButtonbtnClear清空設(shè)置ListView控件屬性控件Name屬性ViewListViewlsvOutDetailDetails(3)后臺代碼編寫獲取入庫單號方法 /// summary /// 獲取入庫單號 /// /summary private string GetCodeNum() { long codeNo = 100000000001。 string code = 。 string codeLast = 。 codeLast = ((select max(GoodsOutCode) from GoodsOutInfo))。 if (codeLast == ) { code = o + ()。 } else { codeNo = ((1, 12))。 code = o + (codeNo + 1).ToString()。 } return code。 }綁定商品名稱下拉框的方法 /// summary /// 綁定商品名稱 /// /summary private void BindNameCombox() {
點擊復(fù)制文檔內(nèi)容
電大資料相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1