예제 #1
0
        private void AddToListButton_Click(object sender, RoutedEventArgs e)
        {
            MemberServices ms = new MemberServices();
            int            a  = ms.AddtoPhotographer(searchId, searchName, searchConatact, searchEmail, searchDemand);

            if (a == 1)
            {
                addedListDataGrid.ItemsSource = ms.SearchPhotogrpaherhData();
            }
        }