private void button2_Click(object sender, EventArgs e)
 {
     dataGridViewClients.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
     selectedIdFromClients             = Convert.ToInt32(dataGridViewClients.SelectedRows[0].Cells[0].Value.ToString());
     FAddContact.ClientId = selectedIdFromClients;
     FAddContact.Button  += new EventHandler(ButtonAddClicked);
     FAddContact.ShowDialog();
 }
        public FClients(IClientService clientService, IContactService contactService, IProjectService projectService, FAddClient fAddClient, FaddProject faddProject, FUpdateProject fUpdateProject, FAddContact fAddContact, FUpdateContact fUpdateContact)
        {
            InitializeComponent();

            clientPresenter  = new ClientPresenter(this, clientService);
            contactPresenter = new ContactPresenter(this, contactService);
            projectPresenter = new ProjectPresenter(this, projectService);
            FAddClient       = fAddClient;
            FaddProject      = faddProject;
            FUpdateProject   = fUpdateProject;
            FAddContact      = fAddContact;
            FUpdateContact   = fUpdateContact;
        }