Exemple #1
0
        private void checkBoxShowFiltered_CheckedChanged(object i_Sender, EventArgs i_Args)
        {
            ProxyDataSource proxy = (ProxyDataSource)proxyDataSourceBindingSource.DataSource;

            proxy.ProxyEnabled = checkBoxShowFiltered.Checked;
            this.resetBinding();
        }
Exemple #2
0
        private void buttonFilterSettings_Click(object i_Sender, EventArgs i_Args)
        {
            FormFilterSettings filterSettingsDialog = new FormFilterSettings {
                PostFilterGroups = this.m_PostFilterGroups
            };

            filterSettingsDialog.ShowDialog();
            this.savePostFilters();
            ProxyDataSource proxy = proxyDataSourceBindingSource.DataSource as ProxyDataSource;

            if (proxy != null)
            {
                proxy.UpdatePostFilterGroups(m_PostFilterGroups);
                this.resetBinding();
            }
        }