コード例 #1
0
        private void btnSuaOfTaiKhoan_Click(object sender, EventArgs e)
        {
            ThemThanhVien frmAddMember = new ThemThanhVien();

            frmAddMember.txtSDT.Text            = drgvMember.CurrentRow.Cells[0].Value.ToString();
            frmAddMember.txtName.Text           = drgvMember.CurrentRow.Cells[1].Value.ToString();
            frmAddMember.txtPass.Text           = drgvMember.CurrentRow.Cells[2].Value.ToString();
            frmAddMember.txtCurrentMoney.Text   = drgvMember.CurrentRow.Cells[5].Value.ToString();
            frmAddMember.txtAddMoney.Text       = "0";
            frmAddMember.grbTimeManager.Enabled = true;
            frmAddMember.ShowDialog();
        }
コード例 #2
0
        private void picUpdateMember_Click_1(object sender, EventArgs e)
        {
            ThemThanhVien addMem = new ThemThanhVien();

            addMem.ShowDialog();
        }
コード例 #3
0
        private void picAddMember_Click(object sender, EventArgs e)
        {
            ThemThanhVien frmAddMember = new ThemThanhVien();

            frmAddMember.ShowDialog();
        }