private void OnAStyleError(object source, AStyleErrorArgs args) { AStyleErrorHandler tmp = ErrorRaised; if (tmp != null) { tmp(source, args); } }
private void OnAStyleErrorRaised(object source, AStyleErrorArgs args) { MessageBox.Show(args.Message, "AStyle Formatter Error"); }