public Bitmap SearchNewPicture(string nameForObject)
        {
            var pic = new PictureProvider(nameForObject);

            picProviderInstance = pic;
            return(pic.GetPic());
        }
        public Bitmap SearchNewPicture()
        {
            var pic = new PictureProvider();

            picProviderInstance = pic;
            return(pic.GetPic());
        }