protected void OpenProjectsManager() { Gui.Dialog.ProjectsManager pm = new Gui.Dialog.ProjectsManager(OpenedProject, Core.DB, Core.TemplatesService); pm.TransientFor = mainWindow; pm.Show(); }
public void OpenProjectsManager(Project openedProject, IDatabase db, ITemplatesService ts) { Gui.Dialog.ProjectsManager pm = new Gui.Dialog.ProjectsManager(openedProject, db, ts); pm.TransientFor = mainWindow as Gtk.Window; pm.Show(); }