private void button3_Click(object sender, EventArgs e)
        {
            this.client = Library.clientsList.Find(x => x.FirstName == textBox1.Text);
            if (client != null)
            {
                client.FirstName = textBox1.Text;
            }

            this.client = Library.clientsList.Find(x => x.LastName == textBox2.Text);
            if (client != null)
            {
                client.LastName = textBox2.Text;
            }

            this.client = Library.clientsList.Find(x => x.Address == textBox3.Text);
            if (client != null)
            {
                client.Address = textBox3.Text;
            }

            this.client = Library.clientsList.Find(x => x.Phone == textBox4.Text);
            if (client != null)
            {
                client.Phone = textBox4.Text;
            }
        }
 public ClientForm(User client)
 {
     InitializeComponent();
     this.client = client;
     comboBox4.DataSource = System.Enum.GetValues(typeof(Language));
     listBox1.DataSource = Library.booksList;
 }