private void btnBell_Click(object sender, EventArgs e)
 {
     try
     {
         teletype.Bell();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }
Example #2
0
        public void PrintTweet(Tweet t)
        {
            teletype.SwitchOn();

            teletype.WaitForTT(2000);

            teletype.Bell();
            teletype.Bell();

            PrintTweetText(t.Text);
            teletype.CRLF();
            teletype.Print(string.Format("Tweeted by : {0} (@{1})", t.Author, t.ScreenName));
            teletype.CRLF();
            teletype.CRLF();

            teletype.WaitForTT(2000);

            teletype.SwitchOff();

            teletype.WaitForTT(2000);
        }