private void buttonDown_Click(object sender, EventArgs e) { if (dataGridViewEDL.SelectedRows.Count == 1 && dataGridViewEDL.SelectedRows[0].Index < TimeCodeList.Count - 1) { int index = dataGridViewEDL.SelectedRows[0].Index; ExplorerEDLEntryInOut backup = TimeCodeList[index + 1]; TimeCodeList[index + 1] = TimeCodeList[index]; TimeCodeList[index] = backup; dataGridViewEDL.ClearSelection(); dataGridViewEDL.Rows[index + 1].Selected = true; OnChanged(EventArgs.Empty); } }
public void AddEDLEntry(ExplorerEDLEntryInOut entry) { TimeCodeList.Add(entry); OnChanged(EventArgs.Empty); }
public void AddEDLEntry(ExplorerEDLEntryInOut entry) { myEDL.AddEDLEntry(entry); }