private static void ShowShaderSelection(Game g) { wndShaderConfig config = new wndShaderConfig { Tag = g }; bool flag1 = config.ShowDialog() == true; }