public FormENB() { InitializeComponent(); Directory.SetCurrentDirectory(FormMain.launcherFolder); if (FormMain.numberStyle > 1) { imageBackgroundImage(); } if (FormMain.langTranslate != "RU") { LangTranslateEN(); } toolTip1.SetToolTip(trackBar1, reservedMemory); toolTip1.SetToolTip(label2, reservedMemory); toolTip1.SetToolTip(label3, reservedMemory); toolTip1.SetToolTip(label8, dinamicDOF); toolTip1.SetToolTip(buttonDOF, dinamicDOF); toolTip1.SetToolTip(buttonDriver, driverDisable); toolTip1.SetToolTip(label9, driverDisable); toolTip1.SetToolTip(label11, ambOcc); toolTip1.SetToolTip(buttonAmbientOcclusion, ambOcc); toolTip1.SetToolTip(buttonWaitBuffer, waitBuffer); toolTip1.SetToolTip(label6, waitBuffer); toolTip1.SetToolTip(label12, aaSUB); toolTip1.SetToolTip(buttonSubPixelAA, aaSUB); toolTip1.SetToolTip(buttonTemporalAA, aaTEMP); toolTip1.SetToolTip(label7, aaTEMP); refreshFileList(); refreshAllValue(); FuncSettings.ENBCheck(false); }
//////////////////////////////////////////////////////ГРАНИЦА ФУНКЦИИ////////////////////////////////////////////////////////////// private void deleteAllENBsFiles_Click(object sender, EventArgs e) { DialogResult dialogResult = MessageBox.Show(removeENBFiles, confirmTitle, MessageBoxButtons.YesNo); if (dialogResult == DialogResult.Yes) { FuncClear.ENB(); FuncSettings.ENBCheck(true); refreshAllValue(); } }
private void enbUnpack(string filename) { FuncMisc.ToggleButtons(this, false); listBox1.Enabled = false; trackBar1.Enabled = false; FuncMisc.UnPackRAR(enbPath + filename); FuncSettings.ENBCheck(true); FuncMisc.ToggleButtons(this, true); listBox1.Enabled = true; trackBar1.Enabled = true; refreshAllValue(); }