/* Callback as worker progresses in run string case */ private void gsProgressChanged(gsParamState_t Params, int percent) { /* Callback with progress */ gsThreadCallBack info = new gsThreadCallBack(false, percent, Params); Gtk.Application.Invoke(delegate { ProgressCallBack(info); }); }
/* Callback upon worker all done */ private void gsCompleted(gsParamState_t Params) { gsThreadCallBack info = new gsThreadCallBack(true, 100, Params); m_worker_busy = false; Gtk.Application.Invoke(delegate { ProgressCallBack(info); }); }