Search results for query: *

  • Users: bhs67
  • Content: Threads
  • Order by date
  1. B

    Simple C#/WPF code for a MouseDoubleClick on a ListBox item?

    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...
  2. B

    Resolved How do I group pairs of List<double> in a List<List<double>>

    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 =...
  3. B

    Visual Studio 2019 stopped opening .cs / .xaml files that were open before?

    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.
  4. B

    trouble with the links

    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?
  5. B

    Adding the first left point frequency spectrum to the right side end to make it perfectly symmetrical does not fix the problem?

    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...
  6. B

    How do I combine two signals on one XY plot?

    The .xaml code: <Grid Grid.Row="0" Grid.Column="0"> <Canvas x:Name="gCanvasPlot0" Width="500" Height="150" ... /> </Grid> <Grid Grid.Row="1" Grid.Column="0"> <Canvas x:Name="gCanvasPlot1" Width="500" Height="150" ... /> </Grid> The .cs code: //------------------------------ ...
  7. B

    The xaml ignoring <TextBox FontWeight="Bold" ... />

    This xaml ignores FontWeight="Bold": <TextBox x:Name="gTBxTitle" FontWeight="Bold" Margin="0,6,0,0" Width="500" VerticalAlignment="Center"...
  8. B

    Why does a WPF canvas result in System.InvalidOperationException?

    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 =...
  9. B

    C# DFT and Reverse DFT

    Is there C# code that converts from the Time Domain to the Frequency Domain via DFT ... then back to the Time Domain via Reverse DFT?
  10. B

    How do I go to Matching Braces in Visual Studio 2019?

    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 '}'...
  11. B

    Question Can both "code" icons be adjacent?

    It would be helpful if both "code" icons were adjacent. Also, it would be helpful if mousing over the far left icon stated, "multiline code" . Thanks!
  12. B

    How do I implement charts in WPF?

    "Charts" are in the Toolbox in the C# tutorial that uses Forms => www.youtube.com/watch?v=DqQlNoQW00w. I do not see "Charts" in the WPF Toolbox.
  13. B

    MathNet.Numerics is incompatible with WPF?

    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...
  14. B

    Question Is there a way to thank the organizers of C# Forums?

    Is there a way to thank the organizers of C# Forums? It's good to see a new, high quality forum!!!
  15. B

    Resolved Which VS C# project type creates Form1.resx?

    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 => ???
Back
Top Bottom