Esempio n. 1
0
 void Update()
 {
     StaticPicture.Update();
     InfoLabel.Text       = StaticPicture.GetInfo();
     pbShowPictures.Image = StaticPicture.BmpCopy;
     UpdateFeatures();
 }
Esempio n. 2
0
 void UpdateNPA()
 {
     StaticPicture.namePic      = textBoxPictureName.Text;
     StaticPicture.photographer = textBoxPicturePhotographer.Text;
     StaticPicture.adress       = textBoxPeopleAdress.Text;
     StaticPicture.Update();
     UpdateListBoxFeatures();
     Update();
 }
Esempio n. 3
0
 void UpdateFeatures()
 {
     textBoxPictureName.Text         = StaticPicture.namePic;
     textBoxPicturePhotographer.Text = StaticPicture.photographer;
     textBoxPeopleAdress.Text        = StaticPicture.adress;
     lblAspectRatioLabel.Text        = StaticPicture.aspectRatio;
     lblResolutionLabel.Text         = StaticPicture.resolution;
     lblSaturationLabel.Text         = StaticPicture.saturation;
     StaticPicture.Update();
 }
Esempio n. 4
0
 void UpdateListBox()
 {
     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);
     }
     b = false;
     StaticPicture.Update();
 }