コード例 #1
0
        private void OnTimeElapsed(object o, ElapsedEventArgs args)
        {
            /*Gtk.Application.Invoke(delegate {
             *
             *      if(progressDialog != null)
             *              progressDialog.AutomaticUpdate();
             * });*/

            if (progressDialog != null)
            {
                progressDialog.AutomaticUpdate();
            }

            while (Application.EventsPending())
            {
                Application.RunIteration();
            }
        }