private void addClientToolStripMenuItem_Click(object sender, EventArgs e) { var client = new Client(); _formClient.Client = client; if (_formClient.ShowDialog() == DialogResult.OK) { try { _RentService.AddClient(client); } catch (Exception exception) { MessageBox.Show(exception.Message); } } }