Created the log window in csharp