public YoungsPanel(RabStatusBar sb) : base(sb, null) { _colSort = new ListViewColumnSorter(listView1, new int[] { 1, 2, 8 }, Options.OPT_ID.YOUNG_LIST); listView1.ListViewItemSorter = null; MakeExcel = new RSBEventHandler(this.makeExcel); }
public RabbitsPanel(RabStatusBar rsb) : base(rsb, new RabbitsFilter()) { _colSort = new ListViewColumnSorter(listView1, new int[] { 2, 8, 9 }, Options.OPT_ID.RAB_LIST); listView1.ListViewItemSorter = null; miGenetic.Enabled = GeneticsManagerSafe.GeneticsModuleTest(); MakeExcel = new RSBEventHandler(this.makeExcel); }
public ButcherPanel(RabStatusBar sb) : base(sb) { _colSort = new ListViewColumnSorter(lvButcherDates, new int[] { }, Options.OPT_ID.BUTCHER_DATE_LIST); _colSort2 = new ListViewColumnSorter(lvVictims, new int[] { AGE_FIELD, NFIELD }, Options.OPT_ID.VICTIMS_LIST); lvButcherDates.ListViewItemSorter = null; MakeExcel = new RSBEventHandler(this.makeExcel); }
public BuildingsPanel(RabStatusBar bsb) : base(bsb, new BuildingsFilter()) { _colSort = new ListViewColumnSorter(listView1, new int[] { }, Options.OPT_ID.BUILD_LIST); listView1.ListViewItemSorter = null; treeView1.TreeViewNodeSorter = new TVNodeSorter(); MakeExcel = new RSBEventHandler(this.makeExcel); }
public WorksPanel(RabStatusBar sb) : base(sb, new ZootehFilter()) { _colSort = new WorkPanelColumnSorter(lvZooTech, new int[] { 0, 4 }, Options.OPT_ID.ZOO_LIST); _colSort2 = new ListViewColumnSorter(lvZooTech, new int[] { 0, 4 }, Options.OPT_ID.ZOO_LIST); lvZooTech.ListViewItemSorter = _colSort; MakeExcel = new RSBEventHandler(this.makeExcel); }
protected void _dataThread_OnFinish() { if (this.InvokeRequired) { RSBEventHandler d = new RSBEventHandler(_dataThread_OnFinish); this.Invoke(d); } else { if (OnFinishUpdate != null) { OnFinishUpdate(); } endProgress(); stopDataThread(); } }