private void SelectPhoto(object sender, RoutedEventArgs e)
        {
            string imgBT = RegistrationClass.FileLoader();

            photoBox.Text = imgBT;
            Bitmap      BT  = new Bitmap(imgBT);
            BitmapImage nBT = RegistrationClass.ConvertToImage(BT);

            photoImage.Source = nBT;
        }
Beispiel #2
0
        private void SelectPhoto(object sender, RoutedEventArgs e)
        {
            string filename = RegistrationClass.FileLoader();

            tbFilename.Text = filename;
            Bitmap      BT   = new Bitmap(filename);
            BitmapImage imBT = RegistrationClass.ConvertToImage(BT);

            logo.Source = imBT;
        }