public void HelpButton_Click(object sender, RoutedEventArgs e) { NotifyOverlay Overlay = new NotifyOverlay(); Overlay.TitleBlock.Text = "Login into your account"; Overlay.ContentBox.Text = "Login with the credentials you previously supplied"; PageLogic.DoNormalOverlay(Overlay, new Thickness(1357, 0, -1357, 0)); Overlay.CloseButton.Click += CloseButton; }
private void DeleteAccount_Click(object sender, RoutedEventArgs e) { NotifyOverlay Overlay = new NotifyOverlay(); Overlay.TitleBlock.Text = "Delete your LegacyPVP Account"; Overlay.ContentBox.Text = "This will deleate LegacyPVP's Login Files." + Environment.NewLine + "You will have to re-add all of you League Of Legends accounts"; PageLogic.DoNormalOverlay(Overlay, new Thickness(1357, 0, -1357, 0)); Overlay.CloseButton.Click += CloseButton; Overlay.OkayButton.Click += DeleteAccounts; Overlay.OkayButton.Content = "Delete my accounts"; }
public void HelpButton_Click(object sender, RoutedEventArgs e) { NotifyOverlay Overlay = new NotifyOverlay(); Overlay.TitleBlock.Text = "Creating an account"; Overlay.ContentBox.Text = "When you create an account you should:" + Environment.NewLine + Environment.NewLine + "1. Not have the same cridentials as you lol login" + Environment.NewLine + "2. Make sure that All .Encrypted Files are not readable, to ensure account security."; PageLogic.DoNormalOverlay(Overlay, new Thickness(1357, 0, -1357, 0)); Overlay.OkayButton.Click += OkayButton; Overlay.CloseButton.Click += OkayButton; }
private void AddAccount_Click(object sender, RoutedEventArgs e) { AddAccountOverlay Overlay = new AddAccountOverlay(); PageLogic.DoNormalOverlay(Overlay, new Thickness(0, -2000, 0, 2000)); }