Exemple #1
0
 private void Zero_Btn_Click(object sender, EventArgs e)
 {   //Appends the value of the WordBuilder text box to the notepad.
     Notepad.AppendText(WordBuilder.Text.ToString());
     //Followed by a sapce in the notepad.
     Notepad.AppendText(" ");
     //Empty the KeySequence textbox.
     KeySequence_TextBox.Clear();
     //Empty the WordBuilder
     WordBuilder.Clear();
 }
Exemple #2
0
 private void Enter_Btn_Click(object sender, EventArgs e)
 {
     Notepad.AppendText(Environment.NewLine); //Creates a new line
     Notepad.Focus();                         //Makes a cursor appear in the notepad showing where the text is going to be appended to
 }