/// <summary> /// Constructor for the Factory class. Initializes the client and GPU name and extracts the NvAPIWrapper for NVIDIA /// GPUs /// </summary> public Factory(BmLauncherForm form) { logger = LogManager.GetCurrentClassLogger(); client = form; logger.Info("Constructor - Created Factory"); setGPUname(); ExtractWrapper(); }
public static void RunWindow() { new SysResolutions().getResolutions(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Client = new BmLauncherForm(); MyFactory = new Factory(Client); MyFactory.readFiles(); Application.Run(Client); }
/// <summary> /// Constructor for the Factory class. Initializes the client and GPU name and extracts the NvAPIWrapper for NVIDIA /// GPUs /// </summary> public Factory(BmLauncherForm form) { logger = LogManager.GetCurrentClassLogger(); client = form; logger.Info("Constructor - Created Factory"); setGPUname(); ExtractWrapper(); if (!TexmodDetected) { client.TexmodLabel.Text = "Texmod not found."; client.TexmodLabel.ForeColor = Color.Firebrick; client.basicToolTip.SetToolTip(client.TexmodLabel, "Texmod has not been found.\r\n\r\nIf you intend to use Texmod, place or create 'texmod_autoload.exe' in the same folder as the launcher."); } }