| | |
| | | using DevExpress.Drawing; |
| | | using DevExpress.Utils.DragDrop; |
| | | using DevExpress.Utils.Svg; |
| | | using DevExpress.Utils.DragDrop; |
| | | using DevExpress.XtraEditors; |
| | | using DevExpress.XtraTreeList.Nodes; |
| | | using HStation.Vmo; |
| | | using Yw; |
| | | using Yw.WinFrmUI.Page; |
| | |
| | | var be = this.behaviorManager1.GetBehavior<DevExpress.Utils.DragDrop.DragDropBehavior>(this.gridView1); |
| | | be.Properties.AllowDrag = allowArag; |
| | | } |
| | | |
| | | private void BtnImportEx_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) |
| | | { |
| | | if (_series == null) |
| | | { |
| | | return; |
| | | } |
| | | var dlg = new ImportTranslationExcel(); |
| | | dlg.SetBindingData(_series.ID); |
| | | dlg.ReloadDataEvent += () => |
| | | { |
| | | SetBindingData(_series); |
| | | }; |
| | | dlg.ShowDialog(); |
| | | } |
| | | } |
| | | } |