private void AddEventBtn_Click(object sender, EventArgs e)
        {
            this.Hide();
            NewEvent createEvent = new NewEvent();

            createEvent.Show();
        }
        private void AddEventBtn_Click_1(object sender, EventArgs e)
        {
            List <Form> openForms = new List <Form>();

            foreach (Form f in Application.OpenForms)
            {
                openForms.Add(f);
            }

            foreach (Form f in openForms)
            {
                if (f.Name == "FormMain")
                {
                    f.Close();
                }
            }

            NewEvent createEvent = new NewEvent();

            createEvent.Show();
        }