void Update() { StaticPicture.Update(); InfoLabel.Text = StaticPicture.GetInfo(); pbShowPictures.Image = StaticPicture.BmpCopy; UpdateFeatures(); }
void UpdateNPA() { StaticPicture.namePic = textBoxPictureName.Text; StaticPicture.photographer = textBoxPicturePhotographer.Text; StaticPicture.adress = textBoxPeopleAdress.Text; StaticPicture.Update(); UpdateListBoxFeatures(); Update(); }
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(); }
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(); }