public void on_mnuPauseTransfer_activate(object o, EventArgs args) { try { transfer.Pause(); } catch (Exception ex) { Gui.ShowErrorDialog(ex.ToString()); } }
private void pauseButton_Toggled(object sender, EventArgs args) { if (pauseButton.Active == false) { transfer.Resume(); } else { transfer.Pause(); } }