private static void OnPhaseChanged( DependencyObject d, DependencyPropertyChangedEventArgs e) { PhaseSpace3DControl2 psc = d as PhaseSpace3DControl2; psc.PopulateScreenSpaceLines(); }
private static void OnDataFilePathChanged( DependencyObject d, DependencyPropertyChangedEventArgs e) { PhaseSpace3DControl2 psc = d as PhaseSpace3DControl2; if (psc.DataFilePath != null) { psc.ReadData(e.NewValue as string); } }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.phaseSpace3DControl = ((PhaseSpaceControlLib.PhaseSpace3DControl2)(target)); return; case 2: this.grid1 = ((System.Windows.Controls.Grid)(target)); return; case 3: this.textBlock1 = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.textBlock2 = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.button1 = ((System.Windows.Controls.Button)(target)); #line 72 "..\..\Window1.xaml" this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click); #line default #line hidden return; case 6: this.stackPanel1 = ((System.Windows.Controls.StackPanel)(target)); return; case 7: this.slider1 = ((System.Windows.Controls.Slider)(target)); return; case 8: this.textBlock3 = ((System.Windows.Controls.TextBlock)(target)); return; case 9: this.textBlock4 = ((System.Windows.Controls.TextBlock)(target)); return; } this._contentLoaded = true; }