コード例 #1
0
ファイル: AfterFormat.cs プロジェクト: dknSEN/AfterFormat
        private void Form1_Load(object sender, EventArgs e)
        {
            ShadowForm.SetShadowForm(this);
            foreach (ManagementObject obj in Information.myCPU.Get())
            {
                label2.Text = ("CPU Name:  " + obj["Name"]);
            }
            foreach (ManagementObject obj in Information.myGPU.Get())
            {
                label5.Text = ("GPU Name:  " + obj["Name"]);
            }
            foreach (ManagementObject obj in Information.myOperatingSystem.Get())
            {
                label7.Text = ("Operating System:  " + obj["Caption"] + " " + obj["Version"]);
            }

            long memKb;

            Information.GetPhysicallyInstalledSystemMemory(out memKb);
            label6.Text = ("Total Memory: " + (memKb / 1024 / 1024) + " GB");

            toolTip1.SetToolTip(ButtonNTI, "Required for maximum network performance.");
            toolTip1.SetToolTip(ButtonSR, "Sets the application priority.");
            toolTip1.SetToolTip(ButtonPTO, "Removes the CPU energy limit.");
            toolTip1.SetToolTip(ButtonFSO, "Spectre and Meltdown solver.");
            toolTip1.SetToolTip(ButtonWPS, "Helps to manage Process Priority Efficiently.");
            toolTip1.SetToolTip(ButtonDDN, "Trim for healthy SSD");
            toolTip1.SetToolTip(ButtonJIQ, "Improves Wallpaper quality.");
            toolTip1.SetToolTip(ButtonDLC, "Disable keyboard layout changer shortcut.");
            toolTip1.SetToolTip(ButtonSSD, "Smart Screen disable.");
            toolTip1.SetToolTip(ButtonBSARD, "Disable Blue Screen Auto restart.");
            toolTip1.SetToolTip(ButtonWDS, "Disable Windows Defender.");
            toolTip1.SetToolTip(ButtonVPS, "Prevents vulnerabilities.");
            toolTip1.SetToolTip(ButtonTSD, "Disable Tablet mode.");
            toolTip1.SetToolTip(ButtonHPETD, "Disable HPET.");
        }
コード例 #2
0
 private void FrmReg_Load(object sender, EventArgs e)
 {
     ShadowForm.SetShadowForm(this);
 }