diff --git a/Signal Generator/AddSignalWindow.xaml.cs b/Signal Generator/AddSignalWindow.xaml.cs index 1f02cde..b6a0b20 100644 --- a/Signal Generator/AddSignalWindow.xaml.cs +++ b/Signal Generator/AddSignalWindow.xaml.cs @@ -21,9 +21,13 @@ namespace Signal_Generator public partial class AddSignalWindow : Window { ObservableCollection signalProps = new ObservableCollection(); + ObservableCollection typesOfSignal = new ObservableCollection(); public AddSignalWindow() { InitializeComponent(); + typesOfSignal.Add(new SinusoidalSignal(0, 0)); + typesOfSignal.Add(new FmSignal(0, 0, 0)); + signalType_ComboBox.ItemsSource = typesOfSignal; signalProps_DataGrid.ItemsSource = signalProps; } diff --git a/Signal Generator/MainWindow.xaml b/Signal Generator/MainWindow.xaml index 96d1b59..99a2495 100644 --- a/Signal Generator/MainWindow.xaml +++ b/Signal Generator/MainWindow.xaml @@ -5,7 +5,7 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:local="clr-namespace:Signal_Generator" mc:Ignorable="d" - Title="Генератор сигналов" Height="450" Width="489"> + Title="Генератор сигналов" Height="450" Width="600"> @@ -39,6 +39,7 @@ Grid.Row="2" Margin="5,0,0,0"/>