void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.UserControl = ((Profiler.Analyzer.Performance.Views.FramerateMonitorView)(target)); return; case 2: this.LayoutRoot = ((System.Windows.Controls.Grid)(target)); return; case 3: this.chart = ((Visiblox.Charts.Chart)(target)); return; case 4: this.behaviourManager = ((Visiblox.Charts.BehaviourManager)(target)); return; case 5: this.track = ((Visiblox.Charts.TrackballBehaviour)(target)); return; } this._contentLoaded = true; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Chart;component/MainPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.dtmStart = ((Telerik.Windows.Controls.RadDatePicker)(this.FindName("dtmStart"))); this.dtmEnd = ((Telerik.Windows.Controls.RadDatePicker)(this.FindName("dtmEnd"))); this.chkFlowRate = ((System.Windows.Controls.CheckBox)(this.FindName("chkFlowRate"))); this.chkPressure = ((System.Windows.Controls.CheckBox)(this.FindName("chkPressure"))); this.btnView = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnView"))); this.btnExport = ((Telerik.Windows.Controls.RadButton)(this.FindName("btnExport"))); this.lblChartName = ((System.Windows.Controls.Label)(this.FindName("lblChartName"))); this.printer = ((System.Windows.Controls.Image)(this.FindName("printer"))); this.chart = ((Visiblox.Charts.Chart)(this.FindName("chart"))); this.behaviourManager = ((Visiblox.Charts.BehaviourManager)(this.FindName("behaviourManager"))); this.track = ((Visiblox.Charts.TrackballBehaviour)(this.FindName("track"))); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.MainChart = ((Visiblox.Charts.Chart)(target)); return; case 2: this.BehaviourManager = ((Visiblox.Charts.BehaviourManager)(target)); return; case 3: this.Rulerbehaviour = ((Profiler.LogManager.GraphbuilderRulerBehaviour)(target)); return; case 4: this.Zoombehaviour = ((Visiblox.Charts.ZoomBehaviour)(target)); return; case 5: this.xAxis = ((Visiblox.Charts.DateTimeAxis)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.button1 = ((System.Windows.Controls.Button)(target)); #line 31 "..\..\..\MainWindow.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click); #line default #line hidden return; case 2: this.label2 = ((System.Windows.Controls.Label)(target)); return; case 3: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 4: this.comboBox2 = ((System.Windows.Controls.ComboBox)(target)); #line 37 "..\..\..\MainWindow.xaml" this.comboBox2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox2_SelectionChanged); #line default #line hidden return; case 5: this.comboBox1 = ((System.Windows.Controls.ComboBox)(target)); #line 39 "..\..\..\MainWindow.xaml" this.comboBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox1_SelectionChanged); #line default #line hidden return; case 6: this.calendar2 = ((System.Windows.Controls.Calendar)(target)); #line 42 "..\..\..\MainWindow.xaml" this.calendar2.SelectedDatesChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.calendar2_SelectedDatesChanged); #line default #line hidden return; case 7: this.example = ((Visiblox.Charts.Chart)(target)); return; case 8: this.behaviourManager = ((Visiblox.Charts.BehaviourManager)(target)); return; case 9: this.track = ((Visiblox.Charts.TrackballBehaviour)(target)); return; case 10: this.cc1chart = ((Visiblox.Charts.PieChart)(target)); return; case 11: this.cc3chart = ((Visiblox.Charts.PieChart)(target)); return; case 12: this.cc2chart = ((Visiblox.Charts.PieChart)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.button1 = ((System.Windows.Controls.Button)(target)); #line 31 "..\..\..\MainWindow.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click); #line default #line hidden return; case 2: this.label2 = ((System.Windows.Controls.Label)(target)); return; case 3: this.label1 = ((System.Windows.Controls.Label)(target)); return; case 4: this.comboBox2 = ((System.Windows.Controls.ComboBox)(target)); #line 37 "..\..\..\MainWindow.xaml" this.comboBox2.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox2_SelectionChanged); #line default #line hidden return; case 5: this.comboBox1 = ((System.Windows.Controls.ComboBox)(target)); #line 39 "..\..\..\MainWindow.xaml" this.comboBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.comboBox1_SelectionChanged); #line default #line hidden return; case 6: this.calendar2 = ((System.Windows.Controls.Calendar)(target)); #line 42 "..\..\..\MainWindow.xaml" this.calendar2.SelectedDatesChanged += new System.EventHandler<System.Windows.Controls.SelectionChangedEventArgs>(this.calendar2_SelectedDatesChanged); #line default #line hidden return; case 7: this.example = ((Visiblox.Charts.Chart)(target)); return; case 8: this.behaviourManager = ((Visiblox.Charts.BehaviourManager)(target)); return; case 9: this.track = ((Visiblox.Charts.TrackballBehaviour)(target)); return; case 10: this.cc1chart = ((Visiblox.Charts.PieChart)(target)); return; case 11: this.cc3chart = ((Visiblox.Charts.PieChart)(target)); return; case 12: this.cc2chart = ((Visiblox.Charts.PieChart)(target)); return; } this._contentLoaded = true; }