예제 #1
0
파일: ghostmono.cs 프로젝트: cenx1/ghostpdl
        /* 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);
            });
        }
예제 #2
0
파일: ghostmono.cs 프로젝트: cenx1/ghostpdl
        /* 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);
            });
        }