void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.window = ((SLRS.Graph)(target)); return; case 2: this.graph = ((OxyPlot.Wpf.PlotView)(target)); return; case 3: this.lbl_epochSum = ((System.Windows.Controls.Label)(target)); return; case 4: this.lbl_timeSum = ((System.Windows.Controls.Label)(target)); return; case 5: this.newGraph = ((System.Windows.Controls.Button)(target)); #line 17 "..\..\..\NNEvaluation\Graph.xaml" this.newGraph.Click += new System.Windows.RoutedEventHandler(this.newGraph_Click); #line default #line hidden return; } this._contentLoaded = true; }
private void btn_graph_click(object sender, RoutedEventArgs e) { Graph g = new Graph(); g.Show(); //this.Close(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.window = ((SLRS.Graph)(target)); return; case 2: this.graph = ((OxyPlot.Wpf.PlotView)(target)); return; case 3: this.lbl_epochSum = ((System.Windows.Controls.Label)(target)); return; case 4: this.lbl_timeSum = ((System.Windows.Controls.Label)(target)); return; case 5: this.newGraph = ((System.Windows.Controls.Button)(target)); #line 17 "..\..\Graph.xaml" this.newGraph.Click += new System.Windows.RoutedEventHandler(this.newGraph_Click); #line default #line hidden return; } this._contentLoaded = true; }