예제 #1
0
        private void Image_JPG_MouseDown(object sender, MouseButtonEventArgs e)
        {
            Window_Image window_Image = new Window_Image(bitmap);

            window_Image.ShowDialog();

            textboxactive();
        }
        private void Image_JPG_MouseDown(object sender, MouseButtonEventArgs e)
        {
            BitmapImage bitmap      = new BitmapImage();
            DataRowView dataRowView = (DataRowView)((Image)e.Source).DataContext;
            string      s_IndexRow  = dataRowView[8].ToString();

            if (s_IndexRow != "")
            {
                bitmap = new BitmapImage(new Uri(s_IndexRow));
            }

            Window_Image window_Image = new Window_Image(bitmap);

            window_Image.ShowDialog();

            Ean.Focus();
        }