コード例 #1
0
ファイル: CreditorForm.cs プロジェクト: SatyukovED/Bank
        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();
        }
コード例 #2
0
ファイル: CreditorForm.cs プロジェクト: SatyukovED/Bank
        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();
        }