Thanks for the response! Perhaps this feature could be added to .NET? I don't know which forum is a place to request this feature. There are many who would use it. Thanks!
There are numerous comments about MouseDoubleClick for a ListBox and ListView. Most are a bit complicated.
One that looks simple is MouseBinding.Gesture Property (System.Windows.Input). However, it is not clear if this would work for a ListBox, or how to implement it.
Is there an example...
It works to create:
List<Point> listPointsTop = new List<Point>();
List<Point> listPointsMiddle = new List<Point>();
List<Point> listPointsBottom = new List<Point>();
then
CreateXYPoints(, ref listPointsTop);
CreateXYPoints(listdSignal1X, listdSignal1Y, ref listPointsMiddle)...
I have:
List<Tuple<List<double>, List<double>>> listtupledSignals = new List<Tuple<List<double>, List<double>>>();
listtupledSignals.Add(listdSignalX, listdSignalY);
Error message, "No overload for method 'Add' takes 2 arguments".
The pairs of XY lists are the same length. Each pair of XY...
I have 6 lists.
List<double> listdSignal0X = new List<double>();
List<double> listdSignal0Y = new List<double>();
List<double> listdSignal1X = new List<double>();
List<double> listdSignal1Y = new List<double>();
List<double> listdSignal2X = new List<double>();
List<double> listdSignal2Y =...
When opening a Project / Solution, Visual Studio 2019 also opened the .cs and .xaml files that were open when the Project / Solution was closed. It stopped doing that. Please advise.
I had trouble with the links in the first post. Remove the "." and the link is changed to the title on that website. How do I stop this from happening?
This is one of the greatest discoveries, thanks to Nyquist. It is used in the music recording business ... store a minimum number of values, then reconstruct the original signal.
Start with a 2 Hz signal. The signal is sampled at a 4.167 Hz sample rate. See .https://nyquist.foxping.com/ => "DFT Images 2 Hz, 0 zeros.pdf". The intent is to reconstruct a sampled signal (top right side) to be identical to the original signal (top left side).
This code converts a signal to...
I have Arial Narrow for Word, Excel, etc. (Win10).
For the xaml, when I change the font from Arial Narrow to Arial, the font displayed changes.
Are you able to replicate what I'm seeing?
I forgot to mention, many years ago I switched --- for(int i = 0; --- to --- for (int ii = 0; --- because it was easier to find ii.
When there was an inside --- for --- I used iii.
Thanks for identifying the problem. In MainWindow I had
Polyline poXYTop = new Polyline { Stroke = Brushes.Blue};
Polyline poXYBottom = new Polyline { Stroke = Brushes.Blue};
OnePlot(listdSignalXValues, listdSignalYValues, poXYTop, "Signal");
TwoPlots(listdSignalXValues, listdSignalYValues...
I use a variation of Hungarian. The "g" means global within that .xaml / .cs. The iNumOfPoints means that is an int. An "adValues" means an array of doubles. A "listdParams" means List<double>.
Below is more of the code. Before I call dlgDisplayTwoXYPlots(), I define poXY:
Polyline...
With this code:
.xaml
<Canvas x:Name="gCanvasPlotTop"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Margin="0,0,0,0"
Width="500"
Height="150" />
.cs
for (int ii = 0; ii < iNumOfPoints; ii++) {
var pointResult = new Point {
X =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.