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(); } } }
public ChoseStand(CoutingTable countingTable, Plot plot) { this.countingTable = countingTable; this.plot = plot; InitializeComponent(); }
public SiteClass(Plot plot, string species, int speciesIndex, CoutingTable countingTable) { this.plot = plot; this.species = species; this.speciesIndex = speciesIndex; this.countingTable = countingTable; InitializeComponent(); }
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(); } }
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(); }
private void CoutingTable_Load(object sender, EventArgs e) { plot = new Plot(1, 1); Form choseStand = new ChoseStand(this, plot); choseStand.Show(); choseStand.TopMost = true; }
public void setPlot(Plot newPlot) { this.plot = newPlot; loadComponents(); }
public Comment(Plot passedPlot) { this.plot = passedPlot; InitializeComponent(); }
public ChoosePlot(Plot passedPlot, CoutingTable countingTable) { this.countingTable = countingTable; this.plot = passedPlot; InitializeComponent(); }