private void RaiseTreeMapperEvent(string Message) { if (TreeMapperEvent != null) { TreeMapperArgs args = new TreeMapperArgs(); args.Message = Message; TreeMapperEvent(this, args); } }
private void TreeMapperEvent(object sender, TreeMapperArgs args) { errorLabel.text = args.Message; }