コード例 #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();
     }
 }
コード例 #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();
     }
 }
コード例 #3
0
 void OnWinExplorerViewItemClick(object sender, WinExplorerViewItemClickEventArgs e)
 {
     if (e.MouseInfo.Button == MouseButtons.Right)
     {
         itemPopupMenu.ShowPopup(Cursor.Position);
     }
 }
コード例 #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();
     }
 }
コード例 #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();
            }
        }
コード例 #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();
            }
        }
コード例 #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();
            }
        }
コード例 #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();
            }
        }
コード例 #9
0
ファイル: FrmDanhMuc.cs プロジェクト: caitriminh/comicpro
        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);
            }
        }