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