コード例 #1
0
 void UpdatePictureListBox()
 {
     lbPictureListBox.Items.Clear();
     foreach (string name in StaticAlbum.ShowNames())
     {
         lbPictureListBox.Items.Add(name);
     }
 }
コード例 #2
0
 private void LbPictureListBox_MouseHover(object sender, EventArgs e)
 {
     lbPictureListBox.Items.Clear();
     foreach (string name in StaticAlbum.ShowNames())
     {
         lbPictureListBox.Items.Add(name);
     }
 }
コード例 #3
0
 void UpdateListPicturebox()
 {
     AllPicsListBox.Items.Clear();
     foreach (string name in StaticAlbum.ShowNames())
     {
         AllPicsListBox.Items.Add(name);
     }
     SelectedPicListBox.Items.Clear();
     foreach (string name in StaticAlbum.ShowSelectedNames())
     {
         SelectedPicListBox.Items.Add(name);
     }
 }
コード例 #4
0
 private void AllPicsListBox_MouseHover(object sender, EventArgs e)
 {
     AllPicsListBox.Items.Clear();
     foreach (string name in StaticAlbum.ShowNames())
     {
         AllPicsListBox.Items.Add(name);
     }
     SelectedPicListBox.Items.Clear();
     foreach (string name in StaticAlbum.ShowSelectedNames())
     {
         SelectedPicListBox.Items.Add(name);
     }
 }
コード例 #5
0
        //PICTURE SUBMENU EVENTS-----------------------------------------------------------------------------------------------------------------------

        private void LbPictureListBox_MouseHover(object sender, EventArgs e)
        {
            try
            {
                lbPictureListBox.Items.Clear();
                foreach (string name in StaticAlbum.ShowNames())
                {
                    lbPictureListBox.Items.Add(name);
                }
            }
            catch (NullReferenceException)
            {
            }
        }