Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Looking for ideas to collect data points selected from picture

Looking for ideas to collect data points selected from picture

Scheduled Pinned Locked Moved The Lounge
tutorialdatabasehelpdiscussion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kyle P
    wrote on last edited by
    #1

    Looking for ideas on how to draw graphic/convert image to a compilation of custom button(s) or other means to display on screen and be able to select/highlight those selected points. then store the selected points to a database for later review/display. For example, a static map is displayed and then by mouse selection the data points are taken and then an area is highlighted. Any help would or thoughts would be appreciated. thanks

    M P 2 Replies Last reply
    0
    • K Kyle P

      Looking for ideas on how to draw graphic/convert image to a compilation of custom button(s) or other means to display on screen and be able to select/highlight those selected points. then store the selected points to a database for later review/display. For example, a static map is displayed and then by mouse selection the data points are taken and then an area is highlighted. Any help would or thoughts would be appreciated. thanks

      M Offline
      M Offline
      Marc Clifton
      wrote on last edited by
      #2

      Actually, that sounds like a perfect fit for Microsoft's WPF technology. Marc

      Thyme In The Country Interacx My Blog

      1 Reply Last reply
      0
      • K Kyle P

        Looking for ideas on how to draw graphic/convert image to a compilation of custom button(s) or other means to display on screen and be able to select/highlight those selected points. then store the selected points to a database for later review/display. For example, a static map is displayed and then by mouse selection the data points are taken and then an area is highlighted. Any help would or thoughts would be appreciated. thanks

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #3

        Well - as Marc said, this could be done in WPF and you would end up creating polygon buttons. Here's a sample:

        <Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        x:Class="GlassyButton.Window2"
        x:Name="Window"
        Title="Window2"
        Width="640" Height="480">

        <Window.Resources>
        <Style TargetType="Button">
        <Setter Property="OverridesDefaultStyle" Value="True" />
        <Setter Property="Template">
        <Setter.Value>
        <ControlTemplate TargetType="Button">
        <Grid>
        <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" />
        <Polygon Points="10,20 10,100 100,200 300,205 10,20" Stroke="Red">
        <Polygon.Fill>
        <LinearGradientBrush EndPoint="0.473,0.464" StartPoint="0.25,0.039">
        <GradientStop Color="#8FFFFFFC" Offset="0"/>
        <GradientStop Color="#33FFFFFF" Offset="1"/>
        </LinearGradientBrush>
        </Polygon.Fill>
        </Polygon>
        </Grid>
        </ControlTemplate>
        </Setter.Value>
        </Setter>
        </Style>
        </Window.Resources>

        <Grid x:Name="LayoutRoot">
        	<Button HorizontalAlignment="Left" VerticalAlignment="Top" Content="Button"/>
        </Grid>
        

        </Window>

        Deja View - the feeling that you've seen this post before.

        My blog | My articles

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups