private void btAlbum_Click(object sender, EventArgs e) { AdminAlbumForm adminAlbumForm = new AdminAlbumForm(); this.Controls.Clear(); adminAlbumForm.TopLevel = false; this.Controls.Add(adminAlbumForm); adminAlbumForm.Show(); }
public void refreshUI() { AdminAlbumForm form = new AdminAlbumForm(); this.Controls.Clear(); form.TopLevel = false; this.Controls.Add(form); form.Show(); }