Exemple #1
0
		public void m_ConverterJobCallback( int code, PainterAutomation.ConversionJob job)
		{
			// NOTE: This function will be called from the worker thread not the UI thread
			if (job!=null)
			{
				string jobnum = string.Format( "{0} of {1}", job.SequenceNumber + 1, this.m_total_jobs );
				string infile = System.IO.Path.GetFileName( job.InputFile );
				string outfile = System.IO.Path.GetFileName( job.OutputFile  );
				this.SetStatusFromThread( "Running" , jobnum, infile , outfile );
			}
			else
			{
				this.SetStatusFromThread( "N/A", "N/A", "N/A", "N/A");
			}
		}
Exemple #2
0
		public void m_ConverterCallback( PainterAutomation.StatusMessage msg , out bool stop)
		{
			// NOTE: This function will be called from the worker thread not the UI thread
			this.LogFromThread( msg.Message );
			stop=false;
		}