コード例 #1
0
        private void btnEditSourceOfIncome_Click(object sender, EventArgs e)
        {
            ClientSourceOfIncomeDetailUI loClientSourceOfIncomeDetail = new ClientSourceOfIncomeDetailUI(txtClientId.Text, dgvSourceOfIncome.CurrentRow.Cells[0].Value.ToString());

            loClientSourceOfIncomeDetail.ShowDialog();
            if (loClientSourceOfIncomeDetail.lFromSave)
            {
                dgvSourceOfIncome.DataSource = loClientSourceOfIncome.getAllData(txtClientId.Text, "");
            }
        }
コード例 #2
0
        private void btnAddSourceOfIncome_Click(object sender, EventArgs e)
        {
            ClientSourceOfIncomeDetailUI loClientSourceOfIncomeDetail = new ClientSourceOfIncomeDetailUI(txtClientId.Text);

            loClientSourceOfIncomeDetail.ShowDialog();
            if (loClientSourceOfIncomeDetail.lFromSave)
            {
                dgvSourceOfIncome.DataSource = loClientSourceOfIncome.getAllData(txtClientId.Text, "");
            }
        }