public MainWindow() { InitializeComponent(); LoggerMain keylogger = new LoggerMain("test", this.KeyLoggerTest); Thread thread = new Thread(new ThreadStart(keylogger.Start)); thread.Start(); }
public static void Initialize() { Logger = new LoggerMain(); }