Example #1
0
 public void startmove()
 {
     if (Mainprogram.nextmove())
     {
         try
         {
             if (movelist.Count != 0)
             {
                 short[] ft = movelist.Dequeue();
                 move(ft[0], ft[1]);
             }
             else
             {
                 if (moveend != null)
                 {
                     moveend();
                 }
             }
         }
         catch (Exception e)
         {
         }
     }
 }
Example #2
0
 public Form1()
 {
     InitializeComponent();
     mp = new Mainprogram(this);
 }