Exemple #1
0
 private void ControlButton_Click(object sender, EventArgs e)
 {
     if (ControlButton.Text == "Pause")
     {
         _emailDaemon.Pause();
         ControlButton.Text = "Continue";
     }
     else
     {
         _emailDaemon.Continue();
         ControlButton.Text = "Pause";
     }
 }
Exemple #2
0
 protected override void OnContinue()
 {
     m_emailDaemon.Continue();
 }