public MutualSettlementsFilterMenu(Form tMainForm, MutualSettlements tMutualSettlementsManager)
        {
            MainForm = tMainForm;
            MutualSettlementsManager = tMutualSettlementsManager;
            InitializeComponent();
            dgvClients.DataSource = tMutualSettlementsManager.FilterClientsBS;
            if (dgvClients.Columns.Contains("ClientID"))
            {
                dgvClients.Columns["ClientID"].Visible = false;
            }
            dgvClients.Columns["Check"].AutoSizeMode      = DataGridViewAutoSizeColumnMode.None;
            dgvClients.Columns["Check"].Width             = 60;
            dgvClients.Columns["ClientName"].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
            dgvClients.Columns["ClientName"].MinimumWidth = 100;
            int DisplayIndex = 0;

            dgvClients.Columns["Check"].DisplayIndex      = DisplayIndex++;
            dgvClients.Columns["ClientName"].DisplayIndex = DisplayIndex++;
            MutualSettlementsManager.CheckAllClients(false);
        }
 private void cbAllClients_CheckedChanged(object sender, EventArgs e)
 {
     MutualSettlementsManager.CheckAllClients(cbAllClients.Checked);
 }