//Desc: Redirects back to login private void backarrow2_BA_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { this.Hide(); Login LoginWin = new Login(this); LoginWin.Show(); this.Close(); }
public MainWindow(Login mainWindow, string user) { InitializeComponent(); username = user; username_l.Content = ("Welcome " + username + "!"); user_id = client.getUserID(username); this.mainWindow = mainWindow; }
//Desc: Creates Window public SignUp(Login mainWindow) { InitializeComponent(); this.mainWindow = mainWindow; }
private void signout3_mi_Click(object sender, RoutedEventArgs e) { this.Hide(); Login loginWindow = new Login(this); loginWindow.Show(); this.Close(); }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.window = ((DG_ScoreCard.Login)(target)); return; case 2: this.login1_tb = ((System.Windows.Controls.TextBox)(target)); return; case 3: this.loginTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.passwordTextBlock = ((System.Windows.Controls.TextBlock)(target)); return; case 5: this.password1_pb = ((System.Windows.Controls.PasswordBox)(target)); return; case 6: this.submit1_btn = ((System.Windows.Controls.Button)(target)); #line 183 "..\..\Login.xaml" this.submit1_btn.Click += new System.Windows.RoutedEventHandler(this.submit1_btn_Click); #line default #line hidden return; case 7: this.mini_btn = ((System.Windows.Controls.Button)(target)); #line 184 "..\..\Login.xaml" this.mini_btn.Click += new System.Windows.RoutedEventHandler(this.mini_btn_Click); #line default #line hidden return; case 8: this.exit1_btn = ((System.Windows.Controls.Button)(target)); #line 185 "..\..\Login.xaml" this.exit1_btn.Click += new System.Windows.RoutedEventHandler(this.exit1_btn_Click); #line default #line hidden return; case 9: this.rectangle = ((System.Windows.Shapes.Rectangle)(target)); return; case 10: this.signup1_btn = ((System.Windows.Controls.Button)(target)); #line 200 "..\..\Login.xaml" this.signup1_btn.Click += new System.Windows.RoutedEventHandler(this.signup1_btn_Click); #line default #line hidden return; case 11: this.movebar1_r = ((System.Windows.Shapes.Rectangle)(target)); #line 201 "..\..\Login.xaml" this.movebar1_r.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.movebar1_r_MouseDown); #line default #line hidden return; } this._contentLoaded = true; }