public void Run(IMainWindow mainWindow) { this.mainWindow = (mainWindow as GTKWindow); mainWindow.Show(); Application.Run(); }