Exemplo n.º 1
0
        /// <summary>
        /// 追加
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnAdd_Click(object sender, EventArgs e)
        {
            FormTestManager form = new FormTestManager();

            form.ShowDialog();
            getAllTest();
        }
Exemplo n.º 2
0
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnUpdate_Click(object sender, EventArgs e)
        {
            int             id   = (int)(dgvUser.SelectedRows[0].Cells[0].Value);
            FormTestManager form = new FormTestManager(id);

            form.ShowDialog();
            getAllTest();
        }