Esempio n. 1
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SilverTune;component/SilverTuneGraph.xaml", System.UriKind.Relative));
     this.ThemeContainer = ((System.Windows.Controls.Theming.Theme)(this.FindName("ThemeContainer")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.statusText = ((System.Windows.Controls.TextBlock)(this.FindName("statusText")));
     this.@switch = ((System.Windows.Controls.Button)(this.FindName("switch")));
     this.audioGraph = ((System.Windows.Controls.DataVisualization.Charting.Chart)(this.FindName("audioGraph")));
     this.audioScatterSeries = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(this.FindName("audioScatterSeries")));
 }
Esempio n. 2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SilverTune;component/MainPage.xaml", System.UriKind.Relative));
     this.ThemeContainer = ((System.Windows.Controls.Theming.Theme)(this.FindName("ThemeContainer")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.button_StartCapture = ((System.Windows.Controls.Button)(this.FindName("button_StartCapture")));
     this.button_StopCapture = ((System.Windows.Controls.Button)(this.FindName("button_StopCapture")));
     this.saveCheck = ((System.Windows.Controls.CheckBox)(this.FindName("saveCheck")));
     this.graphButton = ((System.Windows.Controls.Button)(this.FindName("graphButton")));
     this.FrequencyLabel = ((System.Windows.Controls.TextBlock)(this.FindName("FrequencyLabel")));
     this.SampleSizeLabel = ((System.Windows.Controls.TextBlock)(this.FindName("SampleSizeLabel")));
     this.SampleRateLabel = ((System.Windows.Controls.TextBlock)(this.FindName("SampleRateLabel")));
     this.textBox_Freq = ((System.Windows.Controls.TextBox)(this.FindName("textBox_Freq")));
     this.textBox_SampleSize = ((System.Windows.Controls.TextBox)(this.FindName("textBox_SampleSize")));
     this.textBox_SampleRate = ((System.Windows.Controls.TextBox)(this.FindName("textBox_SampleRate")));
     this.CalculateManualFreq_Button = ((System.Windows.Controls.Button)(this.FindName("CalculateManualFreq_Button")));
     this.listBox_AudioSources = ((System.Windows.Controls.ListBox)(this.FindName("listBox_AudioSources")));
     this.ClearButton = ((System.Windows.Controls.Button)(this.FindName("ClearButton")));
     this.freqItemsControl = ((System.Windows.Controls.ItemsControl)(this.FindName("freqItemsControl")));
     this.TextBlock_Note = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_Note")));
     this.TextBlock_Accidental = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_Accidental")));
     this.TextBlock_FundFreq = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_FundFreq")));
     this.TextBlock_Cents = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_Cents")));
     this.TextBlock_hz = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_hz")));
     this.TextBlock_cents = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_cents")));
 }