public DialogFilter(ViewsManager views, ViewBILLING_1 billingView)
        {
            InitializeComponent();

            _billingView = billingView;
            _views       = views;

            this.BackColor = MainForm.ColorBackground;

            listFilters.SelectedIndexChanged += listFilters_SelectedIndexChanged;
            positionsChanged           = false;
            defaultListBackgroundColor = listFilters.BackColor;
        }
        public PaneNotesBilling(NoteType type, ViewBILLING_1 viewBilling)
        {
            InitializeComponent();

            _viewBilling     = viewBilling;
            _billingGridView = _viewBilling.GetDocumentsGrid();
            _billingGridView.SelectionChanged += billingGridView_SelectionChanged;
            _noteType = type;

            _listMatches = new List <RegExpMatchResult>();

            toolStripTop.Renderer = new CustomToolStripRenderer {
                RoundedEdges = false
            };

            _styleCache   = new Dictionary <RegExpBase, TextStyle>();
            _defaultStyle = new TextStyle(Brushes.Black, Brushes.White, FontStyle.Regular);

            textBox.ShowLineNumbers = false;
            textBox.WordWrap        = true;
        }
        public PaneFilterStats(ViewBILLING_1 viewBilling)
        {
            InitializeComponent();

            _viewBilling = viewBilling;
        }