private void ViewMoreOfContract(int idContract, bool contractOpened) { ContractMoreForm contMore = new ContractMoreForm(idContract, contractOpened); contMore.ShowDialog(); }
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(); }