public MainForm() { InitializeComponent(); Model = new TagFileModel(); Model.ModifiedChanged += Model_ModifiedChanged; ViewTechnology = ViewTechnology.WinForms; PictureController = new PictureController(PictureBox, PropertyGrid); StatusController = new StatusController(Model, StatusBar); PersistenceController = new PersistenceController(Model, this, FileReopen, FileReopenItem_Click); PersistenceController.FilePathChanged += PersistenceController_FilePathChanged; MediaController = new MediaController(Model, StatusController, AddRecentFolders, AddRecentFoldersItem_Click); Model_ModifiedChanged(Model, EventArgs.Empty); }
public GridViewControllerWF(TagFileModel model, DataGridView gridView) : base(model) { GridView = gridView; }
public GridViewController(TagFileModel model) { Model = model; }
public GridViewControllerWPF(TagFileModel model, ElementHost gridContainerHost) : base(model) { GridContainerHost = gridContainerHost; GridContainerHost.Child = new GridContainer(); }