Example #1
0
        protected virtual void LoadProgram()
        {
            ServiceSelector ss = new ServiceSelector(this.Case.pData.ServiceNames.ToArray());

            ss.ServiceSelected += (sn) =>
            {
                d.sn = sn.Split(new char[] { '.' }, StringSplitOptions.RemoveEmptyEntries).Last();
                this.Case.CaseLogic(d.gcs(c._scmd_sn赋值完毕));
            };
            ss.ShowDialog();
        }
Example #2
0
 protected virtual void LoadProgram()
 {
     ServiceSelector ss = new ServiceSelector(this.Case.pData.ServiceNames.ToArray());
     ss.ServiceSelected += (sn) =>
     {
         d.sn = sn.Split(new char[] { '.' }, StringSplitOptions.RemoveEmptyEntries).Last();
         this.Case.CaseLogic(d.gcs(c._scmd_sn赋值完毕));
     };
     ss.ShowDialog();
 }