public FixCommonErrorsPreviewTableDelegate(FixCommonErrorsPreviewTableDataSource datasource, FixCommonErrorsController controller)
 {
     _dataSource = datasource;
     _controller = controller;
 }
 public FixCommonErrorsPreviewTableDelegate(FixCommonErrorsPreviewTableDataSource datasource, FixCommonErrorsController controller)
 {
     _dataSource = datasource;
     _controller = controller;
 }
 public void FixCommonErrors()
 {
     using (var controller = new FixCommonErrorsController(Window.Subtitle))
     {
         controller.Window.ReleasedWhenClosed = true;
         NSApplication.SharedApplication.RunModalForWindow(controller.Window); // window's WillClose event stops modal
         if (controller.WasOkPressed)
         {
             ReloadSubtitle(controller.Subtitle, false);
         }
     }     
 }