protected override void OnStart() { base.OnStart(); _mosaicController = _bootstrap.GetController(ControllerTypes.Mosaic) as MosaicController; Grid = _bootstrap.GetModel(ModelTypes.Grid) as GridData; if (Grid.gridGenerated) { GeneretaMosaic(); } else { Grid.GridGenerated += GeneretaMosaic; } }
/// <summary> /// Initializes a new instance of the <see cref="MosaicForm" /> class. /// </summary> public MosaicForm() { this.InitializeComponent(); this.mosaicManager = new MosaicController(); this.imagePalette = new ImageList(); }