private void signup_Click(object sender, RoutedEventArgs e) { main = new AP_Project_Part_A.MainWindow(); main.Show(); this.Close(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.main = ((AP_Project_Part_A.MainWindow)(target)); return; case 2: this.tabcontrol = ((System.Windows.Controls.TabControl)(target)); return; case 3: this.settingtab = ((System.Windows.Controls.TabItem)(target)); return; case 4: this.border1 = ((System.Windows.Controls.Border)(target)); return; case 5: this.doc1 = ((System.Windows.Controls.Menu)(target)); return; case 6: this.Blue = ((System.Windows.Controls.MenuItem)(target)); #line 21 "..\..\MainWindow.xaml" this.Blue.Click += new System.Windows.RoutedEventHandler(this.Blue_Click); #line default #line hidden return; case 7: this.Red = ((System.Windows.Controls.MenuItem)(target)); #line 27 "..\..\MainWindow.xaml" this.Red.Click += new System.Windows.RoutedEventHandler(this.Red_Click); #line default #line hidden return; case 8: this.Green = ((System.Windows.Controls.MenuItem)(target)); #line 33 "..\..\MainWindow.xaml" this.Green.Click += new System.Windows.RoutedEventHandler(this.Green_Click); #line default #line hidden return; case 9: this.save = ((System.Windows.Controls.Button)(target)); return; case 10: this.load = ((System.Windows.Controls.Button)(target)); return; case 11: this.Reset = ((System.Windows.Controls.Button)(target)); return; case 12: #line 99 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_new); #line default #line hidden return; case 13: #line 178 "..\..\MainWindow.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.next_Click); #line default #line hidden return; case 14: this.specificationstab = ((System.Windows.Controls.TabItem)(target)); return; case 15: this.border2 = ((System.Windows.Controls.Border)(target)); return; case 16: this.Doc2 = ((System.Windows.Controls.DockPanel)(target)); return; case 17: #line 192 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.blue2_Click); #line default #line hidden return; case 18: #line 197 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Red2_Click); #line default #line hidden return; case 19: #line 202 "..\..\MainWindow.xaml" ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.Green2_Click); #line default #line hidden return; case 20: this.birthday = ((System.Windows.Controls.TextBox)(target)); return; case 21: this.Male = ((System.Windows.Controls.RadioButton)(target)); return; case 22: this.Exit = ((System.Windows.Controls.Button)(target)); #line 281 "..\..\MainWindow.xaml" this.Exit.Click += new System.Windows.RoutedEventHandler(this.Exit_Click); #line default #line hidden return; } this._contentLoaded = true; }