Exemplo n.º 1
0
        /// <summary>
        /// 添加新方案
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmFollowInfo frm = new frmFollowInfo("");

            frm.ShowDialog();
            InitTable("");
        }
Exemplo n.º 2
0
        /// <summary>
        /// 修改按钮
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void 修改ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmFollowInfo frm = new frmFollowInfo(dgvFollowMethod.Rows[dgvFollowMethod.CurrentRow.Index].Cells["方案号"].Value.ToString());

            frm.ShowDialog();
            InitTable("");
        }