Exemple #1
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();
            }
        }
 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();
     }
 }