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