Inheritance: System.Windows.Forms.Form
示例#1
0
 private void ShowMarkManager()
 {
     MarkManager manager = new MarkManager(new List<MarkCollection>(_sequence.MarkCollections), this, this, this);
     if (manager.ShowDialog() == DialogResult.OK)
     {
         _sequence.MarkCollections = manager.MarkCollections;
         PopulateMarkSnapTimes();
         sequenceModified();
         MarksForm.PopulateMarkCollectionsList(null);
     }
 }
 private void toolStripMenuItem_MarkManager_Click(object sender, EventArgs e)
 {
     MarkManager manager = new MarkManager(new List<MarkCollection>(_sequence.MarkCollections), this, this, this);
     if(manager.ShowDialog() == DialogResult.OK) {
         _sequence.MarkCollections = manager.MarkCollections;
         populateGridWithMarks();
         sequenceModified();
     }
 }