public override void ViewDidLoad() { base.ViewDidLoad(); FNDataSource = new FilenameTableDataSource(); CountRejectBtn.Hidden = true; allTextFields = new List <NSTextField> { jobNumTxtBox, counterTxtBox, totalPDFsTxtBox, custCodeTxtBox, campNameTxtBox, origFNTxtBox, widthTxtBox, heightTxtBox, stockTxtBox, quantTxtBox, revVerTxtBox, finishingTxtBox, colourTxtBox, commentTxtBox, showFilePathTxtBox, errorOutputBox, resultTxtBox }; fileTypesArray = Enum.GetValues(typeof(AllowedFiletypes)).OfType <object>().Select(o => o.ToString()).ToArray(); // remove XML extension, we only want artwork extensions fileTypesArray = fileTypesArray.Where(w => w != fileTypesArray[0]).ToArray(); }
public override void ViewDidLoad() { base.ViewDidLoad(); this._table = new NSTableView(); FilenameTableDataSource fds = new FilenameTableDataSource(); _table.DataSource = fds; }
public FilenameTableDelegate(FilenameTableDataSource datasource) { DataSource = datasource; }