void item7_MouseUp(object sender, MouseButtonEventArgs e) { selectGrid.Children.Clear(); UserIconControl userIconControl = new UserIconControl(); selectGrid.Children.Add(userIconControl); }
void item2_MouseUp(object sender, MouseButtonEventArgs e) { selectGrid.Children.Clear(); if (Login._UserInfo.Kind == (int)UserKind.ServiceWoman) { AlbermControl albermControl = new AlbermControl(); albermControl.pictureList(iconInfoList); selectGrid.Children.Add(albermControl); } else { UserIconControl userIconControl = new UserIconControl(); //userIconControl.IconList(); selectGrid.Children.Add(userIconControl); } }