Shuxia Ning
2025-02-13 2f1cbec203dcff25df7a5c2b51b13ec558f2c3db
02-desktop/WinFrmUI/IStation.WinFrmUI.Basic/Equipment/EquipmentMgrPage.cs
@@ -16,7 +16,10 @@
            this.treeList1.InitialMultiColSettings();
            this.treeList1.SelectImageList = ImageLib.Lib;
            this.productGroupListCtrl1.FocusedChangedEvent += ProductGroupListCtrl1_FocusedChangedEvent;
           // this.treeList1.RowCellClick += TreeList1_RowCellClick; ;
        }
        public class CurrentViewModel : Model.Equipment
        {
@@ -435,6 +438,17 @@
            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());
                }
            }
        }
    }
}