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...
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?
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...
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 =...
In the past, ctrl+] would jump to the matching brace of '{' => '}'. Creating a shortcut --- Tools => Options => Environment => Keyboard =>Edit.GoToBrace => Use new shortcut in: Global => Ctrl+] => Assign --- does not work.
In the past, selecting a '{' would highlight the matching brace '}'...
I'm striving to create a sine wave and an FFT in WPF. The YouTube FFT in C# tutorial uses Forms => www.youtube.com/watch?v=DqQlNoQW00w.
Starting with:
public partial class MainWindow : Window
Add to References:
MathNet.Numerics (from NuGet)
Add:
using MathNet.Numerics;
Results in:
Error...
I switched to WPF many years ago ... do not recall which project template I selected that creates: Form1.cs ... Form1.Designer.cs ... Form1.resx.
File => New => Project => ???
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.