void OnAddInstClicked(AddInstAction action) { if (AddInstClicked != null) { AddInstClicked(this, new AddInstEventArgs(action)); } }
public AddInstEventArgs(AddInstAction action) { this.Action = action; }
void OnAddInstClicked(AddInstAction action) { if (AddInstClicked != null) AddInstClicked(this, new AddInstEventArgs(action)); }