public void New_Card(Page page) { int index = Find_Number(); PageCard card = new PageCard(index + 1, this); if (page == null) { page = new Page(index + 1); _baseform.file.Pages.Insert(index, page); } card.Contents = this; card.Set_Page_Num(index + 1); card.PageData = page; card.Set_Summary(page.Description); card.WasClicked += UsersGrid_WasClicked; flp_Page_Cards.Controls.Add(card); flp_Page_Cards.Controls.SetChildIndex(card, index); Reset_Numbers(); }