示例#1
0
        private void btnEditOwnedProperty_Click(object sender, EventArgs e)
        {
            ClientOwnedPropertyDetailUI loClientOwnedPropertyDetail = new ClientOwnedPropertyDetailUI(txtClientId.Text, dgvOwnedProperties.CurrentRow.Cells[0].Value.ToString());

            loClientOwnedPropertyDetail.ShowDialog();
            if (loClientOwnedPropertyDetail.lFromSave)
            {
                dgvOwnedProperties.DataSource = loClientOwnedProperty.getAllData(txtClientId.Text, "");
            }
        }
示例#2
0
        private void btnAddOwnedProperty_Click(object sender, EventArgs e)
        {
            ClientOwnedPropertyDetailUI loClientOwnedPropertyDetail = new ClientOwnedPropertyDetailUI(txtClientId.Text);

            loClientOwnedPropertyDetail.ShowDialog();
            if (loClientOwnedPropertyDetail.lFromSave)
            {
                dgvOwnedProperties.DataSource = loClientOwnedProperty.getAllData(txtClientId.Text, "");
            }
        }