Esempio n. 1
0
 //-------------------------------------------------------
 public TSScript(TSGrid g)
 {
     tsg = g;
     tsd = g.tsd;
     sel = g.sel;
     ChkScriotFolder();
 }
Esempio n. 2
0
        //---------------------------------------------------------------------
        private bool GetPrm()
        {
            if (tsg != null)
            {
                tsd  = tsg.tsd;
                cols = tsg.cols;
                if (tsg.OffsetYMax <= 0)
                {
                    tsg.GetStatus();
                }

                m_OffsetYMax = tsg.OffsetYMax;
                m_OffsetY    = tsg.OffsetY;
                m_FrameCount = tsg.tsd.FrameCount;
                m_FrameRate  = (int)tsd.FrameRate;
                m_Sec        = m_FrameCount / m_FrameRate;
                return(true);
            }
            else
            {
                return(false);
            }
        }
Esempio n. 3
0
 //*********
 //--------------------------------------------------------------------------
 public TSSaveFile(TSData d)
 {
     data = d;
 }
Esempio n. 4
0
 //---------------------------------------------------
 public void setFrame(TSData tsd, int f)
 {
     groupBox1.Text = tsd.FrameStr2(f);
 }
Esempio n. 5
0
 //---------------------------------------------------------------------
 public void CombToTSData(TSData tsd)
 {
     tsh.TSData = tsd;
     tsh.CombToData();
 }
Esempio n. 6
0
 //---------------------------------------------------------------------
 public void TSDataToComb(TSData tsd)
 {
     tsh.TSData = tsd;
     tsh.TSDataToComb();
 }
Esempio n. 7
0
 public TSJson(TSData d = null)
 {
     data = d;
 }