Beispiel #1
0
        private void Button2_Click(object sender, EventArgs e)
        {
            // call the method
            GetFileInfo("");

            string count1;

            m_objFile.PropsGet("file::info::ts_programs", out count1);

            //listBox1.Items.Add(count);
            m_objFile.PropsSet("file::ts_program", "4");
        }
Beispiel #2
0
        private void ChangeTC_btn_Click(object sender, EventArgs e)
        {
            string TCvalue;

            m_objMFile.PropsGet("file::start_timecode", out TCvalue);
            m_objMFile.PropsSet("file::start_timecode", ParseAndChange(TCvalue));

            M_TIMECODE timeCodeIn;
            M_TIMECODE timeCodeOut;
            int        outSpec;

            m_objMFile.FileInOutGetTC(out timeCodeIn, out timeCodeOut, out outSpec);
            newTC_lbl.Text = string.Format("{0:D2}: {1:D2}: {2:D2}. {3:D3}", timeCodeIn.nHours, timeCodeIn.nMinutes, timeCodeIn.nSeconds, timeCodeIn.nFrames);
        }
Beispiel #3
0
 void GetProps()
 {
     m_objMPFile.PropsGet("file::start_timecode", out props);
     label1.Text = props;
 }