private static void ShowCustomConfig(Game g) { wndCustomConfig config = new wndCustomConfig { Tag = g }; GameManager.ImportConfig(g); bool flag1 = config.ShowDialog() == true; }