Exemplo n.º 1
0
 public void OnClick(Object sender, EventArgs o)
 {
     returnedState = ((HistoryButton)sender).mapState;
     DialogResult = System.Windows.Forms.DialogResult.OK;
     Close();
 }
Exemplo n.º 2
0
        public void PushHistory(MapState mapstate)
        {
            if (Buffer.Count() == Max) Buffer.RemoveFirst();

            Buffer.AddLast(mapstate);
        }