| | |
| | | this.treeList1.InitialMultiColSettings(); |
| | | this.treeList1.SelectImageList = ImageLib.Lib; |
| | | this.productGroupListCtrl1.FocusedChangedEvent += ProductGroupListCtrl1_FocusedChangedEvent; |
| | | // this.treeList1.RowCellClick += TreeList1_RowCellClick; ; |
| | | } |
| | | |
| | | |
| | | |
| | | public class CurrentViewModel : Model.Equipment |
| | | { |
| | |
| | | this.pumpInfoGridCtrl1.ExportExcel(); |
| | | } |
| | | |
| | | private void TreeList1_RowCellClick(object sender, DevExpress.XtraTreeList.RowCellClickEventArgs e) |
| | | { |
| | | if (e.Button == MouseButtons.Right) |
| | | { |
| | | if (e.CellValue != null) |
| | | { |
| | | Clipboard.SetText(e.CellValue.ToString()); |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | } |