Exemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            ChangePwd cp = new ChangePwd(this, this.labID.Text);

            cp.ShowDialog();
        }
Exemplo n.º 2
0
        private void btnChangePwd_Click(object sender, EventArgs e)
        {
            ChangePwd p = new ChangePwd(dataGridView1.Rows[dataGridView1.SelectedRows[0].Index].Cells["图书证号"].Value.ToString());

            p.ShowDialog();
        }