Пример #1
0
 public PlayForm()
 {
     InitializeComponent();
     View = new TekEdit(split.Panel1, new Point(10, 10),
                        new Point(split.Panel1.ClientRectangle.Width - 10,
                                  split.Panel1.ClientRectangle.Height - 10));
     playPanel1.View = View;
 }
Пример #2
0
 public HeurSolvForm()
 {
     InitializeComponent();
     View = new TekEdit(split.Panel1, new Point(MARGIN / 2, MARGIN / 2),
                        new Point(split.Panel1.ClientRectangle.Width - MARGIN / 2,
                                  split.Panel1.ClientRectangle.Height - MARGIN / 2));
     playPanel1.View        = View;
     View.PlayActionHandler = LogPlayedMove;
     ofd1.FileName          = "test.tx";
     //DoLoad();
 }