Подскажите как в коде вместо значений: 352 и 286,вставить значение из переменной 1 и 2.
IntPtr hwnd = CommonCode.FindWindow("Qt5QWindowIcon", null);
CommonCode.SendMessage(hwnd, CommonCode.WM_LBUTTONDOWN, (IntPtr)CommonCode.MK_LBUTTON, CommonCode.MakeLParam(352, 286));
Thread.Sleep(7000);
CommonCode.SendMessage(hwnd, CommonCode.WM_LBUTTONUP, IntPtr.Zero, CommonCode.MakeLParam(352, 286));
return hwnd;
IntPtr hwnd = CommonCode.FindWindow("Qt5QWindowIcon", null);
CommonCode.SendMessage(hwnd, CommonCode.WM_LBUTTONDOWN, (IntPtr)CommonCode.MK_LBUTTON, CommonCode.MakeLParam(352, 286));
Thread.Sleep(7000);
CommonCode.SendMessage(hwnd, CommonCode.WM_LBUTTONUP, IntPtr.Zero, CommonCode.MakeLParam(352, 286));
return hwnd;