Beispiel #1
0
 private void tsmiRecordFilter_Click(object sender, EventArgs e)
 {
     if (this.dgvHandleData.CurrentCell != null)
     {
         string strColumnName = this.dgvHandleData.Columns[this.dgvHandleData.CurrentCell.ColumnIndex].Name;
         filterFrm = new PopUpFilterForm(this.funfilter);
         filterFrm.lblFilterColumn.Text           = strColumnName;
         filterFrm.cmbFilterContent.DataSource    = new DataTable();
         filterFrm.cmbFilterContent.DataSource    = dvBasicData.ToTable(true, new string[] { strColumnName });
         filterFrm.cmbFilterContent.DisplayMember = strColumnName;
         filterFrm.ShowDialog();
         fundeleFilter delefilter = new fundeleFilter(funfilter);
     }
 }
Beispiel #2
0
 public PopUpFilterForm(fundeleFilter filter)
 {
     InitializeComponent();
     this.funFilter = filter;
 }