Ejemplo n.º 1
0
        private void 修改ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string a, b, c, d;

            a = dataGridView1.SelectedCells[0].Value.ToString();
            b = dataGridView1.SelectedCells[1].Value.ToString();
            c = dataGridView1.SelectedCells[2].Value.ToString();
            d = dataGridView1.SelectedCells[3].Value.ToString();

            string[]       str = { a, b, c, d };
            admin_addadmin f   = new admin_addadmin(str, this);

            f.ShowDialog();
        }
Ejemplo n.º 2
0
        private void 添加ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            admin_addadmin f = new admin_addadmin(this);

            f.ShowDialog();
        }