private void tabMiner_Enter(object sender, EventArgs e)
        {
            string jsonMinor  = rest.getRESTData("/minors/");
            string jsoncourse = rest.getRESTData("/courses/");

            //Minors Minor = JToken.Parse(jsonMinor).ToObject<Minors>();
            Minor = JToken.Parse(jsonMinor).ToObject <Minors>();
            // Course courses = JToken.Parse(jsoncourse).ToObject<Course>();
            min1.Text = Minor.UgMinors[0].title;
            min2.Text = Minor.UgMinors[1].title;
            min3.Text = Minor.UgMinors[2].title;
            min4.Text = Minor.UgMinors[3].title;
            min5.Text = Minor.UgMinors[4].title;
            min6.Text = Minor.UgMinors[5].title;
            min7.Text = Minor.UgMinors[6].title;
            min8.Text = Minor.UgMinors[7].title;
        }
        public minorDes(Object id, Minors mn, Form that)
        {
            InitializeComponent();
            this.parent = that;
            this.id     = id;
            this.mn     = mn;

            int TagNum = Int32.Parse(id.ToString()) - 1;  //subtract one as the array is 0 based

            minName.Text  = mn.UgMinors[TagNum].name;
            minTitle.Text = mn.UgMinors[TagNum].title;
            minDes.Text   = mn.UgMinors[TagNum].description;
            minNote.Text  = mn.UgMinors[TagNum].note;

            grid_course.BackgroundColor   = Color.White;
            grid_course.RowHeadersVisible = false;
            for (int i = 0; i < mn.UgMinors[TagNum].courses.Count; i++)
            {
                grid_course.Columns.Add(null, mn.UgMinors[TagNum].courses[i]);
            }
        }