Exemple #1
0
        private void btnIfCondition_Click(object sender, EventArgs e)
        {
            RowFilterDialog rfd    = new RowFilterDialog(this.dashboardHelper, FilterDialogMode.ConditionalMode, DataFilters, true);
            DialogResult    result = rfd.ShowDialog();

            if (result == DialogResult.OK)
            {
                this.DataFilters             = rfd.DataFilters;
                this.txtAssignCondition.Text = DataFilters.GenerateReadableDataFilterString();//this.DataFilters.GenerateDataFilterString();
            }
        }
Exemple #2
0
 protected virtual void ShowCustomFilterDialog()
 {
     Dialogs.RowFilterDialog rfd = new Dialogs.RowFilterDialog(DashboardHelper, Dialogs.FilterDialogMode.RowFilterMode, DataFilters, true);
     if (rfd.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         this.DataFilters = rfd.DataFilters;
         CheckForCustomFilters();
         RefreshResults();
     }
 }
 private void btnIfCondition_Click(object sender, EventArgs e)
 {
     RowFilterDialog rfd = new RowFilterDialog(this.dashboardHelper, FilterDialogMode.ConditionalMode, DataFilters, true);
     DialogResult result = rfd.ShowDialog();
     if (result == DialogResult.OK)
     {
         this.DataFilters = rfd.DataFilters;
         this.txtAssignCondition.Text = DataFilters.GenerateReadableDataFilterString();//this.DataFilters.GenerateDataFilterString();
     }
 }