摘要:
public DataSet GetCraftInformation(string connectionString, string opName, string productType) { string sqlCmd = "select 对应零件序号 as 工步序号,装配工步 as 工步 from Gongbu where 产品型号='" + productType + "' and 工位号='" + opName + "'"; SqlConnection conn = new SqlConnect 阅读全文
posted @ 2013-07-19 14:09
佳序
阅读(325)
评论(0)
推荐(0)
摘要:
public Bitmap PictureShow(string connectionString, string opName, string productType) { SqlConnection conn = new SqlConnection(connectionString); conn.Open(); //MessageBox.Show("连接成功"); string sqlCmd = "select 产品图片 from Tupian where 产品型号='" + productType + "' and 工位号 阅读全文
posted @ 2013-07-19 14:07
佳序
阅读(434)
评论(0)
推荐(0)
摘要:
public string GetProductType(string connectionString, string barCode) { string productType; SqlConnection conn = new SqlConnection(connectionString); conn.Open(); //MessageBox.Show("连接成功"); string sqlCmd = "select 产品型号 from ProName where 壳体编号 = '"+ barCode + "'" 阅读全文
posted @ 2013-07-19 14:03
佳序
阅读(739)
评论(0)
推荐(0)
摘要:
用button时间 调出颜色对话框来: private void btnForeColor_Click(object sender, EventArgs e) { using (ColorDialog cdialog = new ColorDialog()) { cdialog.AnyColor = true; if (cdialog.ShowDialog() == DialogResult.OK) { this.b.ForeColor = cdialog.Color; this.btnForeColor.BackColor = this.b.ForeColor; } } 阅读全文
posted @ 2013-07-02 09:56
佳序
阅读(410)
评论(0)
推荐(0)
浙公网安备 33010602011771号