//private ChildInfoDatabse dbChild; public Link_DeLinkChild(int link, string cID) { linked = link; childID = cID; InitializeComponent(); this.db = new ChildInfoDatabse(); }
public win_AdminEditChildInfo(string parentID) { InitializeComponent(); this.ID = parentID; this.db = new ChildInfoDatabse(); cnv_ChildIcon.Background = new SolidColorBrush(Colors.Aqua); //setting canvas color so we can see it btn_Delete.Background = new SolidColorBrush(Colors.Red); LoadParentInfo(parentID); setChildBox(); lst_ChildBox.SelectionChanged += ListBoxSelectionChanged; }