/// <summary> /// 图片上传 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void buttonX2_Click(object sender, EventArgs e) { AddImage adb = new AddImage(_idenName); adb.iden = _iden; adb.ShowDialog(); }
/// <summary> /// 查看申请 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void toolStripMenuItem4_Click(object sender, EventArgs e) { DataGridViewRow row = dataGridViewX1.Rows[CurrentRowIndex]; DataRow model = ds.Tables[0].Rows[CurrentRowIndex]; AddImage ad = new AddImage(_idenName); ad.imageDr = model; ad.isSee = true; ad.ShowDialog(); }
/// <summary> /// 修改 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void toolStripMenuItem1_Click(object sender, EventArgs e) { DataGridViewRow row = dataGridViewX1.Rows[CurrentRowIndex]; if (!"已审核".Equals(row.Cells["Column13"].Value)) { DataRow model = ds.Tables[0].Rows[CurrentRowIndex]; AddImage ad = new AddImage(_idenName); ad.imageDr = model; ad.ShowDialog(); } }