Exemplo n.º 1
0
        private void ShowPreview()
        {
            _previewItems = _previewItems.OrderBy(p => int.Parse(p.LineNumber)).ToList();
            var ds = new FixCommonErrorsPreviewTableDataSource(_previewItems);

            _tablePreview.DataSource = ds;
            _tablePreview.Delegate   = new FixCommonErrorsPreviewTableDelegate(ds, (WindowController as FixCommonErrorsController));
        }
 public FixCommonErrorsPreviewTableDelegate(FixCommonErrorsPreviewTableDataSource datasource, FixCommonErrorsController controller)
 {
     _dataSource = datasource;
     _controller = controller;
 }
 public FixCommonErrorsPreviewTableDelegate(FixCommonErrorsPreviewTableDataSource datasource, FixCommonErrorsController controller)
 {
     _dataSource = datasource;
     _controller = controller;
 }
 private void ShowPreview()
 {
     _previewItems = _previewItems.OrderBy(p => int.Parse(p.LineNumber)).ToList();
     var ds = new FixCommonErrorsPreviewTableDataSource(_previewItems);
     _tablePreview.DataSource = ds;
     _tablePreview.Delegate = new FixCommonErrorsPreviewTableDelegate(ds, (WindowController as FixCommonErrorsController));
 }