void winExplorerView_ItemClick(object sender, WinExplorerViewItemClickEventArgs e) { Employee employee = e.ItemInfo.Row.RowKey as Employee; if(employee != null) { SetIsSelected(employee, !e.ItemInfo.IsChecked); winExplorerView.RefreshData(); } }
void winExplorerView_ItemClick(object sender, WinExplorerViewItemClickEventArgs e) { Product product = e.ItemInfo.Row.RowKey as Product; if(product != null) { SetIsSelected(product, !e.ItemInfo.IsChecked); winExplorerView.RefreshData(); } }
void OnWinExplorerViewItemClick(object sender, WinExplorerViewItemClickEventArgs e) { if (e.MouseInfo.Button == MouseButtons.Right) { itemPopupMenu.ShowPopup(Cursor.Position); } }
void winExplorerView_ItemClick(object sender, WinExplorerViewItemClickEventArgs e) { Customer customer = e.ItemInfo.Row.RowKey as Customer; if(customer != null) { SetIsSelected(customer, !e.ItemInfo.IsChecked); winExplorerView.RefreshData(); } }
void winExplorerView_ItemClick(object sender, WinExplorerViewItemClickEventArgs e) { Employee employee = e.ItemInfo.Row.RowKey as Employee; if (employee != null) { SetIsSelected(employee, !e.ItemInfo.IsChecked); winExplorerView.RefreshData(); } }
void winExplorerView_ItemClick(object sender, WinExplorerViewItemClickEventArgs e) { TEntity entity = e.ItemInfo.Row.RowKey as TEntity; if (entity != null) { SetIsSelected(entity, !e.ItemInfo.IsChecked); winExplorerView.RefreshData(); } }
void winExplorerView_ItemClick(object sender, WinExplorerViewItemClickEventArgs e) { Customer customer = e.ItemInfo.Row.RowKey as Customer; if (customer != null) { SetIsSelected(customer, !e.ItemInfo.IsChecked); winExplorerView.RefreshData(); } }
void winExplorerView_ItemClick(object sender, WinExplorerViewItemClickEventArgs e) { Product product = e.ItemInfo.Row.RowKey as Product; if (product != null) { SetIsSelected(product, !e.ItemInfo.IsChecked); winExplorerView.RefreshData(); } }
private void winExplorerView1_ItemClick(object sender, WinExplorerViewItemClickEventArgs e) { var i = winExplorerView1.FocusedRowHandle; ComicPro.StrDuongDanPdf = Application.StartupPath + "\\pdf\\" + (string)winExplorerView1.GetRowCellValue(i, col_matua) + "\\" + (string)winExplorerView1.GetRowCellValue(i, col_matruyen) + ".pdf"; if (File.Exists(ComicPro.StrDuongDanPdf)) { ComicPro.StrCaption = (string)winExplorerView1.GetRowCellValue(i, col_tentruyen); var f = new FrmReadComic(); f.Show(); } else { XtraMessageBox.Show("Không tồn tại file.", "Cảnh Báo", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }