private void addToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SettlementForm form = new SettlementForm();

            form.ShowDialog();
            refreshDataGrid();
        }
 private void editToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (dataGridSettlements.SelectedRows.Count > 0)
     {
         SettlementForm form = new SettlementForm(list[dataGridSettlements.SelectedRows[0].Index]);
         form.ShowDialog();
         refreshDataGrid();
     }
 }