private void cmdDone_Click(object sender, EventArgs e) { double staBeg = double.Parse(tbxStaStart.Text); double staEnd = double.Parse(tbxStaEnd.Text); this.Hide(); Stake_Calc.stakePoints(staBeg, staEnd); Application.ShowModelessDialog(Application.MainWindow.Handle, Forms.Stake_Forms.sForms.fStake, false); }
private void cmdStakeAll_Click(object sender, EventArgs e) { this.Hide(); Stake_Calc.stakePoints(); this.Show(); }