private void button1_Click(object sender, EventArgs e) { this.name = this.txtName.Text; BestTime bst = new BestTime(); bst.Show(); this.Close(); }
private void mnuBestTime_Click(object sender, EventArgs e) { BestTime bstDlg = new BestTime(); bstDlg.Show(); }