Bài đăng
Gọi 1 thread từ 1 thread khác WPF C#
this .Dispatcher.Invoke(() => { ... // your code here. });
Lấy dữ liệu của 1 hàng trong dataGridview C#
DataGridView1.Rows[ 0 ].Cells[ 0 ].Value
Thêm dữ liệu vào cột dataGridview C#
dataGridView1.Rows[e.RowIndex].Cells[1].Value = DateTime.Now.ToShortDateString(); dataGri…
Kiểm tra checkbox của 1 hàng dataGridview C#
if (e.ColumnIndex == 0) //Cột chứa checkbox { //When you check …
Chỉ mở 1 form nằm trong 1 form C#
bool isOpen = false; foreach (Form f in Applicat…
Chạy 1 Thread mới C#
Khai báo -------------------------------- private Thread autostart; ----…
Ghi toàn bộ PID của 1 Process ra lisview C#
Process[] processlist = Process.GetProcessesByName("Nox"); …
Lấy toàn bộ PID của 1 process c#
Process[] processlist = Process.GetProcessesByName("NoxVMHandle"); Lấy phần tử…
Event checkboxes listview C#
private void listView1_ItemCheck(object sender, ItemCheckEventArgs e) { …
Update data của 1 hàng theo cột listview
listView1.Items[0].SubItems[1].Text = Kqdem.ToString(); listView1.Items[0].SubItems[2].Te…
Truyền biến giữ các Thread (VD: biến ở 1 thread ra listview)
if (listView1.InvokeRequired) { listView1.Invoke((MethodInvoker) …
Lấy dữ liệu từ 1 mảng ghi vào listview Autohotkey
WinGet, Window, List, ahk_class Qt5QWindowIcon Loop %Window% { Id:=Window%A_Index% WinGet…
Ghi dữ liệu từ file txt ra listview
Gui Add, ListView, x5 y4 w298 h173 AltSubmit Checked , |Pid|Trạng thái|Cá bắt được|Đứt d…
Add data vào 1 cột cố định Autohotkey
Gui,Add,ListView, w255 +Grid R2, Description|Value LV_Add("","System Clock…
Share biến giữa các Thread (Alias) Autohotkey
AhkThread(" ( Alias(Trong," getvar(Ngoai) ") F3:: ;send, {F2} Trong=rainbo…
Share biến giữa các Thread (CriticalObject) Autohotkey
CritObj := CriticalObject({"counter": 0}) Thread := AhkThread(" ( CritOb…
Input data theo cột từ file ra cột listview Autohotkey
#NoEnv ; If your file really looks like this: File := " (Join`r`n Last Name: Darby F…
Input data theo hàng ngang từ file ra cột Autohotkey
#SingleInstance Force #installKeybdHook #Persistent AppName=Library Menu, Tray, Tip, %App…