コード例 #1
0
ファイル: AreaSeries.cs プロジェクト: Chimnutz/WorkoutBuilder
        /// <summary>
        /// IndependentAxisProperty property changed handler.
        /// </summary>
        /// <param name="d">AreaSeries that changed its IndependentAxis.</param>
        /// <param name="e">Event arguments.</param>
        private static void OnIndependentAxisPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            AreaSeries source   = (AreaSeries)d;
            IAxis      newValue = (IAxis)e.NewValue;

            source.OnIndependentAxisPropertyChanged(newValue);
        }
コード例 #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this._chart = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target));
     return;
     case 2:
     this._triangleSeries = ((System.Windows.Controls.DataVisualization.Charting.AreaSeries)(target));
     return;
     case 3:
     this._lineSeries = ((System.Windows.Controls.DataVisualization.Charting.AreaSeries)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\..\MainWindow.xaml"
     ((HLTAssignment.MainWindow)(target)).Closed += new System.EventHandler(this.Window_Closed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.RootTabControl = ((System.Windows.Controls.TabControl)(target));
     return;
     case 3:
     this.SetupTabItem = ((System.Windows.Controls.TabItem)(target));
     return;
     case 4:
     this.ClassesListBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 5:
     this.CorpusTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.CorpusButton = ((System.Windows.Controls.Button)(target));
     
     #line 179 "..\..\..\MainWindow.xaml"
     this.CorpusButton.Click += new System.Windows.RoutedEventHandler(this.CorpusButton_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.MinRangeTextBox = ((HLTAssignment.NumberTextBox)(target));
     return;
     case 8:
     this.MaxRangeTextBox = ((HLTAssignment.NumberTextBox)(target));
     return;
     case 9:
     this.TrainingDataTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.TrainingDataButton = ((System.Windows.Controls.Button)(target));
     
     #line 205 "..\..\..\MainWindow.xaml"
     this.TrainingDataButton.Click += new System.Windows.RoutedEventHandler(this.TrainingDataButton_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.ClassifierComboBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 214 "..\..\..\MainWindow.xaml"
     this.ClassifierComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ClassifierComboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 12:
     this.KNNControls = ((System.Windows.Controls.Border)(target));
     return;
     case 13:
     this.SimilarityMeasureComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 14:
     this.KTextBox = ((HLTAssignment.NumberTextBox)(target));
     return;
     case 15:
     this.PerceptronControls = ((System.Windows.Controls.Border)(target));
     return;
     case 16:
     this.LearningRateTextBox = ((HLTAssignment.NumberTextBox)(target));
     return;
     case 17:
     this.StartButton = ((System.Windows.Controls.Button)(target));
     
     #line 271 "..\..\..\MainWindow.xaml"
     this.StartButton.Click += new System.Windows.RoutedEventHandler(this.StartButton_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.FeaturesTabItem = ((System.Windows.Controls.TabItem)(target));
     return;
     case 19:
     this.NumberOfFeaturesTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 20:
     this.NumberOfDocumentsTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 21:
     this.MinDocFrequencyTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 22:
     this.MaxDocFrequencyTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 23:
     this.FeaturesListView = ((System.Windows.Controls.ListView)(target));
     return;
     case 24:
     this.ZipfGraphTabItem = ((System.Windows.Controls.TabItem)(target));
     return;
     case 25:
     this.ZipfGraphChart = ((System.Windows.Controls.DataVisualization.Charting.Chart)(target));
     return;
     case 26:
     this.ZipfGraphAreaSeries = ((System.Windows.Controls.DataVisualization.Charting.AreaSeries)(target));
     return;
     case 27:
     this.RangeMinGraphLineSeries = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));
     return;
     case 28:
     this.RangeMaxGraphLineSeries = ((System.Windows.Controls.DataVisualization.Charting.LineSeries)(target));
     return;
     case 29:
     this.ResultsTabItem = ((System.Windows.Controls.TabItem)(target));
     return;
     case 30:
     this.SetupControlGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 31:
     this.SetupTaskTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 32:
     this.ParsingSpeedTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 33:
     this.EstimatedTimeLeftTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 34:
     this.SetupProgressBar = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 35:
     this.SetupProgressTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 36:
     this.ResultsListView = ((System.Windows.Controls.ListView)(target));
     
     #line 420 "..\..\..\MainWindow.xaml"
     this.ResultsListView.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ResultsListView_MouseDoubleClick);
     
     #line default
     #line hidden
     return;
     case 37:
     this.OutputTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 38:
     this.CountButton = ((System.Windows.Controls.Button)(target));
     
     #line 470 "..\..\..\MainWindow.xaml"
     this.CountButton.Click += new System.Windows.RoutedEventHandler(this.CountButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }