private void editHeaderToolStripMenuItem_Click(object sender, EventArgs e) { if (F != null) { using (var FH = new frmHeaderEditor(F)) { if (FH.ShowDialog() == DialogResult.OK) { NameChanged |= (F.SessionName != FH.SessionName); F.SessionName = FH.SessionName; F.PlayTime = TimeSpan.Parse(FH.PlayTime); } } } }
private void editHeaderToolStripMenuItem_Click(object sender, EventArgs e) { if (F != null) { using (var FH = new frmHeaderEditor(F)) { if (FH.ShowDialog() == DialogResult.OK) { NameChanged |= (F.SessionName != FH.SessionName); F.SetSessionName(FH.SessionName); F.PlayTime = TimeSpan.Parse(FH.PlayTime); HasChange = true; SetTitle(); FeatureReport.Used(FeatureReport.Feature.EditHeader); } } } }