protected virtual void OnRadioButtonClick(NiTaskDialogButtonClickEventArgs e) { var handler = RadioButtonClick; if (handler != null) { handler(this, e); } }
public void OnButtonClick(INiActiveTaskDialog taskDialog, int id, ref bool close) { try { var e = new NiTaskDialogButtonClickEventArgs(taskDialog, _taskDialog.FindButton(id)); e.Close = close; _taskDialog.OnButtonClick(e); close = e.Close; } catch (Exception ex) { Log.Warn("Exception from task dialog notify", ex); } }