Ejemplo n.º 1
0
 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();
     }
 }
Ejemplo n.º 2
0
 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();
     }
 }
Ejemplo n.º 3
0
 void OnWinExplorerViewItemClick(object sender, WinExplorerViewItemClickEventArgs e)
 {
     if (e.MouseInfo.Button == MouseButtons.Right)
     {
         itemPopupMenu.ShowPopup(Cursor.Position);
     }
 }
Ejemplo n.º 4
0
 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();
     }
 }
Ejemplo n.º 5
0
        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();
            }
        }
Ejemplo n.º 6
0
        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();
            }
        }
Ejemplo n.º 7
0
        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();
            }
        }
Ejemplo n.º 8
0
        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();
            }
        }
Ejemplo n.º 9
0
        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);
            }
        }