Nhãn: C#
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) …