Ejemplo n.º 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            JFMethodFlow fl = new JFMethodFlow();

            fl.Load("D:\\Project\\JoinFrame\\bin\\x64\\Debug\\123.jff");
            if (string.IsNullOrEmpty(fl.Name))
            {
                fl.Name = "Hehe";
                fl.Save("D:\\Project\\JoinFrame\\bin\\x64\\Debug\\123.jff");
            }
            string       txt       = fl.ToTxt();
            JFMethodFlow anotherJF = new JFMethodFlow();

            anotherJF.FromTxt(txt);
            anotherJF.Save("D:\\Project\\JoinFrame\\bin\\x64\\Debug\\456.jff");
        }
Ejemplo n.º 2
0
 internal JFWorkFlowThread(JFMethodFlow methodFlow, JFStationBase stationOwner)
 {
     _methodFlow = new JFMethodFlow();
     _methodFlow.FromTxt(methodFlow.ToTxt());
     _methodFlow.SetStation(stationOwner);
 }