public StartedEventHandler OnStarted(StartedEventHandler handler) { StartedEventHandler e = new StartedEventHandler(handler); e_started += e; return(e); }
public void Start() { if (!(enabled)) { enabled = true; BGW.RunWorkerAsync(); StartedEventHandler handler = Started; if (!(handler == null)) { handler(); } } }