Base window for C# version
Base window for C# version