Ejemplo n.º 1
0
        private void btnRegister_Click(object sender, EventArgs e)
        {
            fmStudent fm = new fmStudent();

            if (fm.ShowDialog() == DialogResult.OK)
            {
                BindRegisterList();
            }
        }
Ejemplo n.º 2
0
        private void 编辑ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var       sd = dataGridView1.CurrentRow.Cells[0].Value.ToString();
            fmStudent fm = new fmStudent(sd.ToInt());

            if (fm.ShowDialog() == DialogResult.OK)
            {
                BindRegisterList();
            }
        }