//HomeScreen -> Nebulae
        public void ButtonNebulae(object sender, EventArgs e)
        {
            userControlNebulae = new DigiScriptor.UserControlNebulae();
            userControlNebulae.btnNebulaeBack.Click += ButtonNebulaeBack;

            this.btnSubmit.Hide();
            this.Controls.Add(userControlNebulae);
            userControlNebulae.Show();
            userControlNebulae.BringToFront();
            this.userControlHome.Hide();
        }
        public EditPopularNebulaePopup(UserControlNebulae NebulaeP)
        {
            InitializeComponent();

            //make the SqlConnection with local file path
            connect = new SqlConnection(sqlPath);

            //Load nebulae database table into data grid
            LoadTable();

            nebulaePanel = NebulaeP;
        }