Exemple #1
0
        private void parser_ParseProgressChanged(object sender, ParseProgressChangedEventArgs e)
        {
            string msg = curOperation;

            if (e.LatestResource != null)
            {
                latestResource = e.LatestResource;
            }

            if (latestResource != null)
            {
                msg = String.Format("{0}: last resource had handle 0x{1:x}", curOperation, latestResource.Handle);
            }

            curProgress.ProgressUpdate(msg, e.ProgressPercentage);
        }
Exemple #2
0
        private void parser_ParseProgressChanged(object sender, ParseProgressChangedEventArgs e)
        {
            string msg = curOperation;

            if (e.LatestResource != null)
            {
                latestResource = e.LatestResource;
            }

            if (latestResource != null)
            {
                msg = String.Format("{0}: last resource had handle 0x{1:x}", curOperation, latestResource.Handle);
            }

            curProgress.ProgressUpdate(msg, e.ProgressPercentage);
        }