Nhãn: Dev

No image

Gọi 1 thread từ 1 thread khác WPF C#

this .Dispatcher.Invoke(() => { ... // your code here. });
No image

Lấy dữ liệu của 1 hàng trong dataGridview C#

DataGridView1.Rows[ 0 ].Cells[ 0 ].Value
No image

Thêm dữ liệu vào cột dataGridview C#

dataGridView1.Rows[e.RowIndex].Cells[1].Value = DateTime.Now.ToShortDateString(); dataGri…
No image

Kiểm tra checkbox của 1 hàng dataGridview C#

if (e.ColumnIndex == 0)      //Cột chứa checkbox             {   //When you check      …
No image

Dừng 1 vòng lặp đơn giản c#

while (true)                 {                     while (btnDung.Text == "Dừng&qu…
No image

Chỉ mở 1 form nằm trong 1 form C#

bool isOpen = false;                     foreach (Form f in Applicat…
No image

Chạy 1 Thread mới C#

Khai báo -------------------------------- private Thread autostart; ----…
No image

Ghi toàn bộ PID của 1 Process ra lisview C#

Process[] processlist = Process.GetProcessesByName("Nox");        …
No image

Lấy toàn bộ PID của 1 process c#

Process[] processlist = Process.GetProcessesByName("NoxVMHandle"); Lấy phần tử…
No image

Event checkboxes listview C#

private void listView1_ItemCheck(object sender, ItemCheckEventArgs e)         { …
No image

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…
No image

Truyền biến giữ các Thread (VD: biến ở 1 thread ra listview)

if (listView1.InvokeRequired) { listView1.Invoke((MethodInvoker) …
No image

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…
No image

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…
No image

Add data vào 1 cột cố định Autohotkey

Gui,Add,ListView, w255 +Grid R2, Description|Value LV_Add("","System Clock…
No image

Share biến giữa các Thread (Alias) Autohotkey

AhkThread(" ( Alias(Trong," getvar(Ngoai) ") F3:: ;send, {F2} Trong=rainbo…
No image

Share biến giữa các Thread (CriticalObject) Autohotkey

CritObj := CriticalObject({"counter": 0}) Thread := AhkThread(" ( CritOb…
No image

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…
No image

Input data theo hàng ngang từ file ra cột Autohotkey

#SingleInstance Force #installKeybdHook #Persistent AppName=Library Menu, Tray, Tip, %App…
No image

Array to Listview Autohotkey

arrays := % procIdList StringTrimRight,arraycan,arrays,1 ;Cắt phần tử thừa bên phải Stri…

© Milk Studio. All Rights Reserved Theme by Jago Desain