private void AppendFilter(ReportFilterBase filter)
        {
            filters.Add(filter);

            VBox da = new VBox {
                WidthRequest = 4
            };
            uint rows = tblFilters.NRows;

            tblFilters.Attach(filter.LabelWidget, 0, 1, rows, rows + 1,
                              AttachOptions.Expand | AttachOptions.Fill, AttachOptions.Expand | AttachOptions.Fill, 0, 1);
            tblFilters.Attach(da, 1, 2, rows, rows + 1);
            tblFilters.Attach(filter.EntryWidget, 2, 3, rows, rows + 1,
                              AttachOptions.Expand | AttachOptions.Fill, AttachOptions.Expand | AttachOptions.Fill, 0, 1);
            filter.ColumnVisibilityToggled += filter_ColumnVisibilityToggled;
        }
示例#2
0
        private void AppendFilter(ReportFilterBase filter)
        {
            uint rows = tblFilters.NRows;

            filters.Add(filter);

            VBox da = new VBox {
                WidthRequest = 4
            };

            tblFilters.Attach(filter.Label, 0, 1, rows, rows + 1,
                              AttachOptions.Expand | AttachOptions.Fill, AttachOptions.Expand | AttachOptions.Fill, 0, 1);
            tblFilters.Attach(da, 1, 2, rows, rows + 1);
            tblFilters.Attach(filter.EntryWidget, 2, 3, rows, rows + 1,
                              AttachOptions.Expand | AttachOptions.Fill, AttachOptions.Expand | AttachOptions.Fill, 0, 1);

            filter.FilterChanged += Filter_FilterChanged;
        }
 private void AppendFilter(FilterBase filter)
 {
     AppendFilter(ReportFilterBase.CreateFromFilterBase(filter));
 }