public void DrawModel_Test_Clear()
        {
            int expected = 0;

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

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