Advertisement
Guest User

Untitled

a guest
Nov 19th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.42 KB | None | 0 0
  1.   private void BtnSubmit_Click(object sender, RoutedEventArgs e)
  2.         {
  3.             string input;
  4.             input = txtAcc.Text;
  5.  
  6.             if (currentName == "")
  7.             {
  8.                 currentName = input;
  9.                 tbOutput.Text = currentName;
  10.             }
  11.  
  12.             else
  13.  
  14.                 currentName = currentName + "\r\n" + input;
  15.  
  16.             tbOutput.Text = currentName;
  17.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement