如题
点击一个按钮后 弹出一个计算器 可每次点出来 位置都不一样
应该加个什么代码?
System.Diagnostics.Process _Process = System.Diagnostics.Process.Start(@"F:\学习类\图书管理系统\LibraryManager\calc.exe");
点击一个按钮后 弹出一个计算器 可每次点出来 位置都不一样
应该加个什么代码?
System.Diagnostics.Process _Process = System.Diagnostics.Process.Start(@"F:\学习类\图书管理系统\LibraryManager\calc.exe");
public static extern bool MoveWindow(System.IntPtr hWnd, int X, int Y, int nWidth, int nHeight, bool bRepaint);
System.Diagnostics.Process p = System.Diagnostics.Process.Start("");
p.WaitForInputIdle();
MoveWindow(p.MainWindowHandle, 100, 10, 300, 200, true);
private void btnJIQ_Click(object sender, EventArgs e)
{
System.Diagnostics.Process _Process = System.Diagnostics.Process.Start(@"F:\学习类\图书管理系统\LibraryManager\calc.exe");
}
请原谅 我是初学者 2楼给的那些代码应该放在哪里?
应该怎么用?