✨ VS简短命令
为图片按钮添加状态图片
pictureBox1.Image = Properties.Resources.img_hover;pictureBox1:为按钮名称
img_hover:为图片名称
静默启动程序
Process p = new Process();
p.StartInfo.FileName = @"D:\test.tmp"; //原本是exe,改名tmp
p.StartInfo.CreateNoWindow = true; //静默无窗口
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
p.Start();
发布时间: