private void GetTC_btn_Click(object sender, EventArgs e) { M_TIMECODE timeCodeIn; M_TIMECODE timeCodeOut; int outSpec; m_objMFile.FileInOutGetTC(out timeCodeIn, out timeCodeOut, out outSpec); timeCode_lbl.Text = string.Format("{0:D2}: {1:D2}: {2:D2}. {3:D3}", timeCodeIn.nHours, timeCodeIn.nMinutes, timeCodeIn.nSeconds, timeCodeIn.nFrames); item.FileInOutGetTC(out timeCodeIn, out timeCodeOut, out outSpec); TimeCodePl_lbl.Text = string.Format("{0:D2}: {1:D2}: {2:D2}. {3:D3}", timeCodeIn.nHours, timeCodeIn.nMinutes, timeCodeIn.nSeconds, timeCodeIn.nFrames); }
void GetTC() { M_TIMECODE TC_in; M_TIMECODE TC_out; int spec; m_objMPFile.FileInOutGetTC(out TC_in, out TC_out, out spec); tc_lbl.Text = string.Format("{0:00}:{1:00}:{2:00}:{3:00}", TC_in.nHours, TC_in.nMinutes, TC_in.nSeconds, TC_in.nFrames); }