public void DrawModel_Test_Back()
        {
            int expected = 1;

            drawModel.Back();
            int actual = drawModel.Paths.Count;

            Assert.AreEqual(expected, actual);
        }
Пример #2
0
 private void BtnUndo_Click(object sender, System.EventArgs e)
 {
     _drawModel.Back();
     _drawingLine.UpdateView(_drawModel.Paths);
 }
Пример #3
0
 private void BtnBackTouchUpInside(object sender, EventArgs e)
 {
     _drawModel.Back();
     _paintView.UpdateView(_drawModel.Paths);
 }