Search results for query: *

  1. D

    mouse event not fire on shapes

    I'm new in wpf, I need to recreate the behavior of an old winform drawing app. In the winform app I used this event MouseMove MouseClick MouseDown MouseUp Basically there are 2 main behavior: single click managed from MouseClick(that contains drawing logic) and "press and move" managed by...
  2. D

    exposing costituent control property

    I have a usercontrol(UCGraph2d) which contains a canvas colled pbxWork. I need to read the size from another class, so I tryed to expose like I've made before in the past, but the proprerty is not accessible. It's the first time that I target .net core, could be the iusse related? here some...
  3. D

    usercontrol class not recognized

    Hello, I'm trying to build a "spotlight control", when I try to compile I get BC30002 SpotLight:LedControl is not defined, but it actually exist. Any advice? <UserControl x:Class="StopLight" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"...
  4. D

    mixing StreamGeometry and shapes

    I'm drawing a chart from a binary file with StreamGeometry, and work fine; I need to do a "selection effect" so I tryed to add the code that I have tested alone that draw a semitrasparent rectangle clicking the mouse, but it have an odd behavier: before to draw the chart(done by clicking the...
  5. D

    Question Calculate angle between bytes value.

    Hello, I've an array of bytes that contains Y values of a chart; I need to calculate the angles between each point, so: Dim numbers = New Byte() {&H0, &H0, &H0, &HA0, &H0, &HA0, &H0, &HA0, &H0, &HA0, &H0, &HA0, &H0, &HA0, &H0, &HA0, &H0, &HA0, &H0, &HA0, &H0, &HA0, &H0, &HA0, &H0, &HA0...
  6. D

    Advice for learn to design database tables

    I'm looking to resources to learn how best practices how to design database tables; any advice?
Back
Top