private void LoadButton_Click(object sender, RoutedEventArgs e) { string login = LoginTextBox.Text, pass = PasswordTextBox.Text; NotebookTextBox.Text = allRegisteredUsersList.GetAllTextFromUserFile(login, pass); }
private string GetTextFromUserNotebook(string login, string pass) { return(allRegisteredUsersList.GetAllTextFromUserFile(login, pass)); }