コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.logList = ((System.Windows.Controls.ListView)(target));
                return;

            case 2:
                this.storedLogs_ListView = ((System.Windows.Controls.GridView)(target));
                return;

            case 3:
                this.liveGraph1 = ((WindowsPerformanceMonitor.Graphs.LiveLineGraph)(target));
                return;

            case 4:
                this.liveGraph2 = ((WindowsPerformanceMonitor.Graphs.LiveLineGraph)(target));
                return;

            case 5:
                this.logList2 = ((System.Windows.Controls.ListView)(target));
                return;

            case 6:
                this.storedLogs_ListView2 = ((System.Windows.Controls.GridView)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\SummaryView.xaml"
                ((WindowsPerformanceMonitor.SummaryView)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.SummaryView_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.t1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.t2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.t3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.liveGraph1 = ((WindowsPerformanceMonitor.Graphs.LiveLineGraph)(target));
                return;

            case 6:
                this.liveGraph2 = ((WindowsPerformanceMonitor.Graphs.LiveLineGraph)(target));
                return;

            case 7:
                this.liveGraph3 = ((WindowsPerformanceMonitor.Graphs.LiveLineGraph)(target));
                return;

            case 8:

            #line 25 "..\..\SummaryView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DetailedView_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\Logging.xaml"
                ((WindowsPerformanceMonitor.Logging)(target)).Loaded += new System.Windows.RoutedEventHandler(this.OnControlLoaded);

            #line default
            #line hidden
                return;

            case 2:
                this.liveGraph = ((WindowsPerformanceMonitor.Graphs.LiveLineGraph)(target));
                return;

            case 3:
                this.listView_gridView = ((System.Windows.Controls.GridView)(target));
                return;

            case 4:
                this.comboBox1 = ((System.Windows.Controls.ComboBox)(target));

            #line 91 "..\..\Logging.xaml"
                this.comboBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.radioButtons = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 6:
                this.cbAll = ((System.Windows.Controls.CheckBox)(target));

            #line 97 "..\..\Logging.xaml"
                this.cbAll.Checked += new System.Windows.RoutedEventHandler(this.CBAllChanged);

            #line default
            #line hidden

            #line 97 "..\..\Logging.xaml"
                this.cbAll.Unchecked += new System.Windows.RoutedEventHandler(this.CBAllChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.cpu = ((System.Windows.Controls.CheckBox)(target));

            #line 98 "..\..\Logging.xaml"
                this.cpu.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden

            #line 98 "..\..\Logging.xaml"
                this.cpu.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.gpu = ((System.Windows.Controls.CheckBox)(target));

            #line 99 "..\..\Logging.xaml"
                this.gpu.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden

            #line 99 "..\..\Logging.xaml"
                this.gpu.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.memory = ((System.Windows.Controls.CheckBox)(target));

            #line 100 "..\..\Logging.xaml"
                this.memory.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden

            #line 100 "..\..\Logging.xaml"
                this.memory.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.disk = ((System.Windows.Controls.CheckBox)(target));

            #line 101 "..\..\Logging.xaml"
                this.disk.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden

            #line 101 "..\..\Logging.xaml"
                this.disk.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden
                return;

            case 11:
                this.network = ((System.Windows.Controls.CheckBox)(target));

            #line 102 "..\..\Logging.xaml"
                this.network.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden

            #line 102 "..\..\Logging.xaml"
                this.network.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.gpuTemp = ((System.Windows.Controls.CheckBox)(target));

            #line 103 "..\..\Logging.xaml"
                this.gpuTemp.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden

            #line 103 "..\..\Logging.xaml"
                this.gpuTemp.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.cpuTemp = ((System.Windows.Controls.CheckBox)(target));

            #line 104 "..\..\Logging.xaml"
                this.cpuTemp.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden

            #line 104 "..\..\Logging.xaml"
                this.cpuTemp.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden
                return;

            case 14:

            #line 111 "..\..\Logging.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ChooseLocation_Click);

            #line default
            #line hidden
                return;

            case 15:

            #line 112 "..\..\Logging.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StartLog_Click);

            #line default
            #line hidden
                return;

            case 16:

            #line 113 "..\..\Logging.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.StopLog_Click);

            #line default
            #line hidden
                return;

            case 17:

            #line 114 "..\..\Logging.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.DeleteLog_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.logList = ((System.Windows.Controls.ListView)(target));

            #line 123 "..\..\Logging.xaml"
                this.logList.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.logList_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.storedLogs_ListView = ((System.Windows.Controls.GridView)(target));
                return;

            case 20:

            #line 141 "..\..\Logging.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.PlayLog_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.PauseButton = ((System.Windows.Controls.Button)(target));

            #line 142 "..\..\Logging.xaml"
                this.PauseButton.Click += new System.Windows.RoutedEventHandler(this.PauseLog_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.listView_ProcList = ((System.Windows.Controls.ListView)(target));
                return;

            case 2:
                this.ZoneIformationList = ((System.Windows.Controls.ContextMenu)(target));
                return;

            case 3:
                this.EditNutritionContextMenu = ((System.Windows.Controls.MenuItem)(target));

            #line 36 "..\..\RealTime.xaml"
                this.EditNutritionContextMenu.Click += new System.Windows.RoutedEventHandler(this.KillProcess_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.ScheduleLog = ((System.Windows.Controls.MenuItem)(target));

            #line 37 "..\..\RealTime.xaml"
                this.ScheduleLog.Click += new System.Windows.RoutedEventHandler(this.ScheduleLogProcess_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.track_in_log = ((System.Windows.Controls.MenuItem)(target));

            #line 38 "..\..\RealTime.xaml"
                this.track_in_log.Click += new System.Windows.RoutedEventHandler(this.TrackInLog_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.listView_gridView = ((System.Windows.Controls.GridView)(target));
                return;

            case 7:
                this.liveGraph = ((WindowsPerformanceMonitor.Graphs.LiveLineGraph)(target));
                return;

            case 8:

            #line 105 "..\..\RealTime.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Summary_Click);

            #line default
            #line hidden
                return;

            case 9:

            #line 108 "..\..\RealTime.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.General_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 111 "..\..\RealTime.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Legend_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.comboBox1 = ((System.Windows.Controls.ComboBox)(target));

            #line 121 "..\..\RealTime.xaml"
                this.comboBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.radioButtons = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 13:
                this.cbAll = ((System.Windows.Controls.CheckBox)(target));

            #line 129 "..\..\RealTime.xaml"
                this.cbAll.Checked += new System.Windows.RoutedEventHandler(this.CBAllChanged);

            #line default
            #line hidden

            #line 129 "..\..\RealTime.xaml"
                this.cbAll.Unchecked += new System.Windows.RoutedEventHandler(this.CBAllChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.cpu = ((System.Windows.Controls.CheckBox)(target));

            #line 130 "..\..\RealTime.xaml"
                this.cpu.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden

            #line 130 "..\..\RealTime.xaml"
                this.cpu.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.gpu = ((System.Windows.Controls.CheckBox)(target));

            #line 131 "..\..\RealTime.xaml"
                this.gpu.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden

            #line 131 "..\..\RealTime.xaml"
                this.gpu.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.memory = ((System.Windows.Controls.CheckBox)(target));

            #line 132 "..\..\RealTime.xaml"
                this.memory.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden

            #line 132 "..\..\RealTime.xaml"
                this.memory.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.disk = ((System.Windows.Controls.CheckBox)(target));

            #line 133 "..\..\RealTime.xaml"
                this.disk.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden

            #line 133 "..\..\RealTime.xaml"
                this.disk.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden
                return;

            case 18:
                this.network = ((System.Windows.Controls.CheckBox)(target));

            #line 134 "..\..\RealTime.xaml"
                this.network.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden

            #line 134 "..\..\RealTime.xaml"
                this.network.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.gpuTemp = ((System.Windows.Controls.CheckBox)(target));

            #line 135 "..\..\RealTime.xaml"
                this.gpuTemp.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden

            #line 135 "..\..\RealTime.xaml"
                this.gpuTemp.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden
                return;

            case 20:
                this.cpuTemp = ((System.Windows.Controls.CheckBox)(target));

            #line 136 "..\..\RealTime.xaml"
                this.cpuTemp.Checked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden

            #line 136 "..\..\RealTime.xaml"
                this.cpuTemp.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBoxChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }