Exemplo n.º 1
0
        public void FixtureSetup()
        {
            XmlConfigurator.Configure(new FileInfo("Log4net.config"));

            watcher = new GmailWatcher();
            sender = new GmailSender();
        }
Exemplo n.º 2
0
        //[AsyncAttribute]
        private void btnSendSignal_Click(object sender, EventArgs e)
        {
            string size = txbSignal.Text.Substring(0, 1);
            string direct = txbSignal.Text.Substring(1, 1);

            GmailSender send = new GmailSender();
            send.SendSignal(direct, size);
        }
Exemplo n.º 3
0
 public void FixtureCleanup()
 {
     watcher = null;
     sender = null;
 }