Example #1
0
        private void 回复ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (gridView1.RowCount <= 0)//判断是否选中要删除的行
            {
                MessageBox.Show("请选中行");
                return;
            }
            string zerenren           = gridView1.GetRowCellValue(this.gridView1.FocusedRowHandle, "完成责任人").ToString();
            string neirong            = gridView1.GetRowCellValue(this.gridView1.FocusedRowHandle, "纪要内容").ToString();
            string shijian            = gridView1.GetRowCellValue(this.gridView1.FocusedRowHandle, "会议时间").ToString();
            string jiyaoshangchuanren = gridView1.GetRowCellValue(this.gridView1.FocusedRowHandle, "纪要上传人").ToString();

            string chuangjianshijian = gridView1.GetRowCellValue(this.gridView1.FocusedRowHandle, "创建时间").ToString();

            FrFenkaipifu form = new FrFenkaipifu();

            form.shijian            = shijian;
            form.jiyaoneirong       = jiyaoneirong;
            form.chuangjianshijian  = chuangjianshijian;
            form.yonghu             = yonghu;
            form.jiyaoshangchuanren = jiyaoshangchuanren;
            form.zerenren           = zerenren;
            form.dingwei            = dingwei;
            form.zhonglei           = "1";
            form.ShowDialog();
            if (form.DialogResult == DialogResult.OK)
            {
                Reload();
            }
        }
Example #2
0
        private void 创建新回复ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrFenkaipifu form = new FrFenkaipifu();

            form.shijian      = shijian;
            form.dingwei      = dingwei;
            form.jiyaoneirong = jiyaoneirong;

            form.yonghu             = yonghu;
            form.jiyaoshangchuanren = jiyaoshangchuanren;
            form.zerenren           = zerenren;
            form.zhonglei           = "2";
            form.ShowDialog();
            if (form.DialogResult == DialogResult.OK)
            {
                Reload();
            }
        }
Example #3
0
        private void 回复ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (dataGridViewX2.Rows.Count <= 0)//判断是否选中要删除的行
            {
                MessageBox.Show("请选中行");
                return;
            }

            string zerenren           = dataGridViewX2.CurrentRow.Cells["完成责任人"].Value.ToString();
            string neirong            = dataGridViewX2.CurrentRow.Cells["纪要内容"].Value.ToString();
            string shijian            = dataGridViewX2.CurrentRow.Cells["会议时间"].Value.ToString();
            string jiyaoshangchuanren = dataGridViewX2.CurrentRow.Cells["纪要上传人"].Value.ToString();

            string chuangjianshijian = dataGridViewX2.CurrentRow.Cells["创建时间"].Value.ToString();

            if (yonghu != jiyaoshangchuanren)
            {
                MessageBox.Show("非指示项发起人无权限批复!");
                return;
            }

            FrFenkaipifu form = new FrFenkaipifu();

            form.shijian            = shijian;
            form.jiyaoneirong       = jiyaoneirong;
            form.chuangjianshijian  = chuangjianshijian;
            form.yonghu             = yonghu;
            form.jiyaoshangchuanren = jiyaoshangchuanren;
            form.zerenren           = zerenren;
            form.dingwei            = dingwei;
            form.zhonglei           = "1";
            form.ShowDialog();
            if (form.DialogResult == DialogResult.OK)
            {
                Reload();
            }
        }