コード例 #1
0
        private void ViewMoreOfContract(int idContract, bool contractOpened)
        {
            ContractMoreForm contMore = new ContractMoreForm(idContract, contractOpened);

            contMore.ShowDialog();
        }
コード例 #2
0
        private void tsbtnContractMore_Click(object sender, EventArgs e)
        {
            ContractMoreForm moreContract = new ContractMoreForm(int.Parse(dgvContracts.SelectedRows[0].Cells[0].Value.ToString()), bool.Parse(dgvContracts.SelectedRows[0].Cells[7].Value.ToString()), false);

            moreContract.ShowDialog();
        }