Exemplo n.º 1
0
 //constructor of presentation model
 public PresentationModel(PaintModel paintModel)
 {
     PaintModel = paintModel;
     paintModel._propertyChanged += ChangeModel;
     _state = new PointerState(this);//default state
 }
Exemplo n.º 2
0
 public void Initialize()
 {
     _model = new PaintModel();
 }