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