private void creditorShowFullClientWithDebtCreditsInfoButton_Click(object sender, EventArgs e) { if (selectedClientWithDebtRow == -1) { MessageBox.Show("Выберите клиента", "Клиент не выбран", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } ClientCreditsInfoForm cif = new ClientCreditsInfoForm((int)creditorClientsWithDebtGrid.Rows[selectedClientWithDebtRow].Cells[0].Value, true); cif.Show(); }
private void creditorShowShortClientCreditsInfoButton_Click(object sender, EventArgs e) { if (selectedCreditRequestRow == -1) { MessageBox.Show("Выберите заявку клиента", "Заявка не выбрана", MessageBoxButtons.OK, MessageBoxIcon.Warning); return; } ClientCreditsInfoForm cif = new ClientCreditsInfoForm((int)creditorCreditRequestsGrid.Rows[selectedCreditRequestRow].Cells[1].Value, false); cif.Show(); }