private void DescentDescriptionButton_Click(object sender, EventArgs e) { FormRate dlg = new FormRate(m_beh.descent, "Descent"); dlg.ShowDialog(this); this.BringToFront(); if(dlg.modified == true) { UpdateModifiedStatus(); DescentRateControlsUpdate(); } }
private void BttmFollowDescriptionButton_Click(object sender, EventArgs e) { FormRate dlg = new FormRate(m_beh.flatBottomDive, "Bottom Following"); dlg.ShowDialog(this); this.BringToFront(); if(dlg.modified == true) { UpdateModifiedStatus(); DiveBottomFollowingControlsUpdate(); } }
private void TravelRateDescriptionButton_Click(object sender, EventArgs e) { Boolean modified = m_modified; FormRate dlg = new FormRate(m_beh.rate, "Travel"); dlg.ShowDialog(this); this.BringToFront(); if(dlg.modified == true) { UpdateModifiedStatus(); TravelRateControlsUpdate(); } }