コード例 #1
0
        private void personDataGridView_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            frmPersonDetail frmPerson = new frmPersonDetail(Convert.ToInt32(idLabel1.Text));

            frmPerson.ShowDialog();
            listData(txtSearch.Text);
        }
コード例 #2
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            frmPersonDetail frmPerson = new frmPersonDetail();

            frmPerson.ShowDialog();
            personBindingSource.DataSource = _objPerson.listPerson(txtSearch.Text);
            _objPerson = new PersonController();

            //listData(txtSearch.Text);
        }