29 lines
787 B
C#
29 lines
787 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace EstrazioneAnagrafica
|
|
{
|
|
public static class ConsoleVersion
|
|
{
|
|
|
|
public static void Start()
|
|
{
|
|
Console.WriteLine("Batch processing started"); //nice start
|
|
ConsoleProgramLogic l = new ConsoleProgramLogic(); //console program logic will push notification to the screen
|
|
l.StartConsole();
|
|
}
|
|
|
|
public static void StartSilient()
|
|
{
|
|
SilientProgramLogic l = new SilientProgramLogic(); //this one will ignore all notifications
|
|
l.StartConsole();
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
|
|
// Cross-thread operation not valid: Control 'lblAttendere' accessed from a thread other than the thread it was created on.
|