public void SetGo(NSView view)
        {
            FilmScreeningControl infoButton;

            ScreeningsView.DisposeSubViews(view);
            infoButton = new FilmScreeningControl(view.Frame, Screening);
            infoButton.ReDraw();
            infoButton.ScreeningInfoAsked += (sender, e) => GoToScreening(Screening);
            infoButton.Selected            = ScreeningIsSelected(Screening);
            view.AddSubview(infoButton);
        }
 void IFilmOutlinable.SetGo(NSView view)
 {
     ScreeningsView.DisposeSubViews(view);
 }
 public ScreeningsTableDelegate(ScreeningsTableDataSource datasource, ScreeningsView view)
 {
     _dataSource     = datasource;
     _screeningsView = view;
 }
예제 #4
0
 public ScreeningsTableView(ViewController controller, NSTableColumn screensColumn, NSTableColumn screeningsColumn)
 {
     ScreeningsView      = new ScreeningsView(controller, this);
     HeadersView         = new HeadersView(screensColumn, screeningsColumn, this);
     screensColumn.Width = ScreensColumnWidth;
 }