Пример #1
0
 protected void RefreshPictures()
 {
     ServiceInterface server = new ServiceInterface();
     List<string> p = server.GetAllPicturePaths();
     cbPicturePath.Items.Clear();
     foreach (string s in p)
       cbPicturePath.Items.Add(s);
     if (p.Count>0)
       cbPicturePath.SelectedIndex = 0;
 }