/// <summary> /// Constructor for the tampa controller /// </summary> public TampaController() { // Enable theming for the application Application.EnableVisualStyles(); // Use GDI to draw the text instead of GDI+- makes the text look better Application.SetCompatibleTextRenderingDefault(false); // Create the main view and the child window controllers _tampaMainWindow = new TampaWindow(this as ITampaController); _paletteController = new PaletteController((ToolStrip) _tampaMainWindow.Controls["toolStrip1"]); _canvasController = new CanvasController(); _propertyDialogController = new PropertyDialogController(); }
public PaletteModel(IPaletteController controller) { this.PaletteButtons = new List<PaletteButton>(); _controller = controller; }