Exemple #1
0
 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);
 }
Exemple #2
0
 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);
 }
Exemple #3
0
 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);
 }
Exemple #4
0
 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);
 }
Exemple #5
0
 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);
 }
Exemple #6
0
 protected void _dataThread_OnFinish()
 {
     if (this.InvokeRequired)
     {
         RSBEventHandler d = new RSBEventHandler(_dataThread_OnFinish);
         this.Invoke(d);
     }
     else
     {
         if (OnFinishUpdate != null)
         {
             OnFinishUpdate();
         }
         endProgress();
         stopDataThread();
     }
 }