예제 #1
0
 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);
             }
         }
     }
 }
예제 #2
0
 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);
             }
         }
     }
 }