[Solved] auto click in C# in difrent position of screen [closed]

in WPF you can use this line of code to set mouse position [System.Runtime.InteropServices.DllImport(“user32.dll”)] static extern bool SetCursorPos(int x, int y); this line to firing the event [System.Runtime.InteropServices.DllImport(“user32.dll”)] static extern void mouse_event(int dwFlags, int dx, int dy, int dwData, int dwExtraInfo); private const int MOUSEEVENTF_LEFTDOWN = 0x02; private const int MOUSEEVENTF_LEFTUP = 0x04; and this … Read more

[Solved] how can we solve this type? [closed]

Question is absolutely not clair… like this? private static Dictionary<String, PointPairList> s_PointPairLists = new Dictionary<String, PointPairList>(); private static void BuildPointPairLists(Int32 limit) { for (Int32 i = 2; i < limit; ++i) { if ((tabl[i].x != null) && (tabl[i].y != null)) { Double[] x = { 0, tabl[i].y }; Double[] y = { tabl[i].x, 0 }; … Read more

[Solved] How to Map my input data [closed]

Code string str = “VALVE,GATE,SH_NAME:VLV,GATE,VLV_NOM_SIZE:4-1/16IN”; string[] Rows = str.Split(‘,’); dataGridView1.Columns.Add(“Column1”, “Column1”); dataGridView1.Columns.Add(“Column2”, “Column2”); foreach (string AddRow in Rows) { string[] Row = AddRow.Split(‘:’); dataGridView1.Rows.Add(Row); } 2 solved How to Map my input data [closed]

[Solved] Below c# code is not reading websites or webpage from given urls

This may help you below code contains for both to get and post data: public static string PostContent(this Uri url, string body, string contentType = null) { var request = WebRequest.Create(url); request.Method = “POST”; if (!string.IsNullOrEmpty(contentType)) request.ContentType = contentType; using (var requestStream = request.GetRequestStream()) { if (!string.IsNullOrEmpty(body)) using (var writer = new StreamWriter(requestStream)) { writer.Write(body); … Read more