Beispiel #1
0
        /// <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();
        }
Beispiel #2
0
        /// <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();
        }
Beispiel #3
0
        /// <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();
            }
        }