Esempio n. 1
0
        private void Image_MouseUp(object sender, MouseButtonEventArgs e)
        {
            Point mouse = e.GetPosition(this);

            findcolor = Util.getColorOfPixel(this.sipScreenImage.Source as BitmapImage, (int)mouse.X, (int)mouse.Y);

            control.colorPanel.Background = Util.setColor(findcolor);
        }
Esempio n. 2
0
        private void sipScreenImage_MouseUp(object sender, MouseButtonEventArgs e)
        {
            Point p = e.GetPosition(this);

            papawindow.setColor(Util.getColorOfPixel(this.sipScreenImage.Source as BitmapImage, (int)p.X, (int)p.Y));
        }