public TwoZeroFourEightView() { InitializeComponent(); model = new TwoZeroFourEightModel(); model.AttachObserver(this); controller = new TwoZeroFourEightController(); controller.AddModel(model); controller.ActionPerformed(TwoZeroFourEightController.LEFT); scr = new score(model); }
public TwoZeroFourEightView() { InitializeComponent(); score SCORE = new score(); model.AttachObserver(SCORE); SCORE.Enabled = true; SCORE.Visible = true; model = new TwoZeroFourEightModel(); model.AttachObserver(this); controller = new TwoZeroFourEightController(); controller.AddModel(model); controller.ActionPerformed(TwoZeroFourEightController.LEFT); }