Exemple #1
0
 void UpdatePictureListBox()
 {
     lbPictureListBox.Items.Clear();
     foreach (string name in StaticAlbum.ShowNames())
     {
         lbPictureListBox.Items.Add(name);
     }
 }
 private void LbPictureListBox_MouseHover(object sender, EventArgs e)
 {
     lbPictureListBox.Items.Clear();
     foreach (string name in StaticAlbum.ShowNames())
     {
         lbPictureListBox.Items.Add(name);
     }
 }
Exemple #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);
     }
 }
 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);
     }
 }
Exemple #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)
            {
            }
        }