public RemoveChildForm(List <Child> listChild) { InitializeComponent(); ListOfChildren = listChild; FormToolsHelpers.ShowListInCheckedListBox(ListOfChildren, checkedListBoxChildren); }
public RemoveEnjoymentCategoryForm(List <string> listCategories) { InitializeComponent(); ListOfEnjoymentsCategories = listCategories; FormToolsHelpers.ShowListInCheckedListBox(ListOfEnjoymentsCategories, checkedListBoxCategories); }
public EnjoymentsForm(List <Child> listChild, List <string> listCategories, List <Enjoyment> listEnjoyments) { InitializeComponent(); ListOfEnjoymentCategories = listCategories; FormToolsHelpers.ShowListInCheckedListBox(ListOfEnjoymentCategories, checkedListBoxCategories); ListOfEnjoyments = listEnjoyments; FormToolsHelpers.ShowListInRichTextBox(ListOfEnjoyments, richTextBoxEnjoyments); richTextBoxEnjoyments.ReadOnly = true; }
public AddEnjoymentForm(List <Child> listChild, List <string> listCategories, List <Enjoyment> listEnjoyments) { InitializeComponent(); lblActualDate.Text = actualDateAndTime; checkedChildList = new List <Child>(); checkedCategoriesList = new List <string>(); ListOfChildren = listChild; FormToolsHelpers.ShowListInCheckedListBox(ListOfChildren, checkedListBoxChildren); ListOfEnjoymentCategories = listCategories; FormToolsHelpers.ShowListInCheckedListBox(ListOfEnjoymentCategories, checkedListBoxEnjoymentsCategories); ListOfEnjoyments = listEnjoyments; }