Ejemplo n.º 1
0
		public void ApplyColumns(Filter filter)
		{
			gridColumnType.Visible = filter.ShowActionGroup;
			gridColumnSubType.Visible = filter.ShowAction;
			gridColumnFile.Visible = filter.ShowFile;
			gridViewData.OptionsView.ShowPreview = filter.ShowDetails;
		}
		public ContainerControl()
		{
			InitializeComponent();
			Dock = DockStyle.Fill;
			_filterControl = new Filter();
			_filterControl.FilterChanged += (o, e) => ApplyData();
		}