Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cornradio committed Aug 1, 2024
1 parent 7852bcb commit f5f1872
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions apex runner/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,7 @@ private void label1_Click(object sender, EventArgs e)

}

//开启加速器 图片按钮
private void pictureBox2_Click(object sender, EventArgs e)
{
string path = textBox1.Text;
StartProgram(path);
}


//一键优化 开启游戏模式
private void button1_Click(object sender, EventArgs e)
Expand Down Expand Up @@ -180,6 +175,8 @@ static void StartProgram(string path)
MessageBox.Show("无法启动程序:" + ex.Message, "错误", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}


//用于开启网页链接的函数
static void OpenUrl(string url)
{
Expand All @@ -198,15 +195,20 @@ static void OpenUrl(string url)
}
}




//开启加速器 图片按钮
private void pictureBox2_Click(object sender, EventArgs e)
{
string path = textBox1.Text;
StartProgram(path);
}
//开启语音软件
private void pictureBox3_Click(object sender, EventArgs e)
{
StartProgram("C:\\Users\\Admin\\AppData\\Local\\oopz\\oopz.exe");

string path = textBox2.Text;
StartProgram(path);
}


//打开显示设置

private void pictureBox4_Click(object sender, EventArgs e)
Expand Down

0 comments on commit f5f1872

Please sign in to comment.