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