void recordController_OnRecordOpenSuccess(object sender, global::RecordEditor.Logic.RecordControllerEventArgs args) { RecordDocument recordDocument = sender as RecordDocument; recordDocument.OnPlayStateChanged += new EventHandler(recordDocument_OnPlayStateChanged); recordDocument.OnPlayPositionChanged += new EventHandler(recordDocument_OnPlayPositionChanged); btnRewind.Enabled = true; btnPlay.Enabled = true; TimeInterval = new TimeInterval(0, recordDocument.Description.duration); }
void recordController_OnRecordListChanged(object sender, global::RecordEditor.Logic.RecordControllerEventArgs args) { ArrayList recordsList = Program.context.recordController.RecordsList; DoTableAddRecordsUI(recordsList.GetRange(m_dataTable.Rows.Count, recordsList.Count - m_dataTable.Rows.Count)); }
void recordController_OnRecordOpenSuccess(object sender, global::RecordEditor.Logic.RecordControllerEventArgs args) { Title = MAIN_WINDOW_TITLE + Program.context.recordController.CurrentRecord.Description.name; }
void recordController_OnRecordClosed(object sender, global::RecordEditor.Logic.RecordControllerEventArgs args) { }