fpSpread1.Sheets[0].Columns[0, 2].AllowAutoFilter = true;
fpSpread1.Sheets[0].Cells[0, 0].Value = 1;
fpSpread1.Sheets[0].Cells[0, 1].Value = 1;
fpSpread1.Sheets[0].Cells[1, 0].Value = 2;
fpSpread1.Sheets[0].Cells[1, 1].Value = 2;
fpSpread1.Sheets[0].Cells[2, 0].Value = 3;
fpSpread1.Sheets[0].Cells[2, 1].Value = 3;
fpSpread1.Sheets[0].AutoFilterMode = FarPoint.Win.Spread.AutoFilterMode.EnhancedContextMenu;
fpSpread1.Sheets[0].AutoFilter = false;
fpSpread1.Sheets(0).Columns(0, 2).AllowAutoFilter = True
fpSpread1.Sheets(0).Cells(0, 0).Value = 1
fpSpread1.Sheets(0).Cells(0, 1).Value = 1
fpSpread1.Sheets(0).Cells(1, 0).Value = 2
fpSpread1.Sheets(0).Cells(1, 1).Value = 2
fpSpread1.Sheets(0).Cells(2, 0).Value = 3
fpSpread1.Sheets(0).Cells(2, 1).Value = 3
fpSpread1.Sheets(0).AutoFilterMode = FarPoint.Win.Spread.AutoFilterMode.EnhancedContextMenu
fpSpread1.Sheets(0).AutoFilter = False