private void NameSerch_Click(object sender, EventArgs e)
        {
            this.Hide();
            LecSearchByName f = new LecSearchByName(c, l);

            f.ShowDialog(this);
        }
        private void button2_Click(object sender, EventArgs e)
        {
            this.Hide();
            LecSearchByName n = new LecSearchByName(c, l);

            n.ShowDialog(this);
        }