Example #1
0
 private void butCreate_Click(object sender, EventArgs e)
 {
     if (CurrentStand.isComplete())
     {
         plot.exportFile();
         CurrentStand.newStand();
         plot = new Plot(CurrentStand.standNum, CurrentStand.plotNum);
         loadComponents();
     }
     else
     {
         if (CurrentStand.standNum == 1)
         {
             this.Close();
         }
         try
         {
             CurrentStand.previousStand();
             loadComponents();
         }catch (ObjectDisposedException exception)
         {
             Application.Exit();
         }
     }
 }
Example #2
0
        public ChoseStand(CoutingTable countingTable, Plot plot)
        {
            this.countingTable = countingTable;
            this.plot = plot;

            InitializeComponent();
        }
Example #3
0
        public SiteClass(Plot plot, string species, int speciesIndex, CoutingTable countingTable)
        {
            this.plot = plot;
            this.species = species;
            this.speciesIndex = speciesIndex;
            this.countingTable = countingTable;

            InitializeComponent();
        }
Example #4
0
 private void butDone_Click(object sender, EventArgs e)
 {
     if (CurrentStand.isComplete())
     {
         CurrentStand.save();
         plot = new Plot(CurrentStand.standNum, CurrentStand.plotNum);
         countingTable.setPlot(plot);
         this.Close();
     }
 }
Example #5
0
        private void butNewPlot_Click(object sender, EventArgs e)
        {
            plot.exportFile();

            CurrentStand.plotNum++;
            CurrentStand.isChanged = true;
            CurrentStand.save();
            plot = new Plot(CurrentStand.standNum, CurrentStand.plotNum);
            countingTable.setPlot(plot);
            loadComponents();
        }
Example #6
0
 private void CoutingTable_Load(object sender, EventArgs e)
 {
     plot = new Plot(1, 1);
     Form choseStand = new ChoseStand(this, plot);
     choseStand.Show();
     choseStand.TopMost = true;
 }
Example #7
0
        public void setPlot(Plot newPlot)
        {
            this.plot = newPlot;

            loadComponents();
        }
Example #8
0
 public Comment(Plot passedPlot)
 {
     this.plot = passedPlot;
     InitializeComponent();
 }
Example #9
0
 public ChoosePlot(Plot passedPlot, CoutingTable countingTable)
 {
     this.countingTable = countingTable;
     this.plot = passedPlot;
     InitializeComponent();
 }