public bool Select(IQueryFilter filter, CombinationMethod methode) { if (this.FeatureClass == null) { return(false); } ISelectionSet selSet = this.FeatureClass.Select(filter); SelectionSet = selSet; FireSelectionChangedEvent(); return(true); }
private void ProcessNumerologySystem() { if (m_generated_lines != null) { if (m_client != null) { if (m_client.NumerologySystem != null) { // prepare for next state m_combination_method = CombinationMethod.CrossOverBA; m_value_combination_direction = Direction.LeftToRight; m_number_type = NumberType.NonAdditiveComposite; for (int h = 0; h < 2; h++) { AddVerseAndWordValuesCheckBox.Checked = (h == 1); for (int k = 0; k < 2; k++) { AddPositionsCheckBox.Checked = (k == 1); for (int l = 0; l < 2; l++) { AddDistancesToPreviousCheckBox.Checked = (l == 1); for (int n = 0; n < 5; n++) { ValueInterlaceLabel_Click(null, null); for (int o = 0; o < 2; o++) { ValueCombinationDirectionLabel_Click(null, null); for (int p = 0; p < 6; p++) { GotoNextNumberType(); // skip Natural type if (m_number_type == NumberType.Natural) // skip natural type { GotoNextNumberType(); } GenerateLine(); } // for NumberType } // for Direction } // for Combination } // for AddDistancesToPrevious } // for AddPositions } // for AddVerseAndWordValues } } } }
private void GoToNextValueCombinationType() { switch (m_combination_method) { case CombinationMethod.Concatenate: { m_combination_method = CombinationMethod.InterlaceAB; ValueInterlaceLabel.Text = "a§b"; ToolTip.SetToolTip(ValueInterlaceLabel, "interlace digits of letter values, ababababa"); } break; case CombinationMethod.InterlaceAB: { m_combination_method = CombinationMethod.InterlaceBA; ValueInterlaceLabel.Text = "b§a"; ToolTip.SetToolTip(ValueInterlaceLabel, "interlace digits of letter values, babababaa"); } break; case CombinationMethod.InterlaceBA: { m_combination_method = CombinationMethod.CrossOverAB; ValueInterlaceLabel.Text = "aXb"; ToolTip.SetToolTip(ValueInterlaceLabel, "corssover digits of letter values, aabbaaabb"); } break; case CombinationMethod.CrossOverAB: { m_combination_method = CombinationMethod.CrossOverBA; ValueInterlaceLabel.Text = "bXa"; ToolTip.SetToolTip(ValueInterlaceLabel, "crossover digits of letter values, bbaabbaaa"); } break; case CombinationMethod.CrossOverBA: { m_combination_method = CombinationMethod.Concatenate; ValueInterlaceLabel.Text = "- -"; ToolTip.SetToolTip(ValueInterlaceLabel, "concatenate letter values, aaaaabbbb"); } break; } ValueInterlaceLabel.Refresh(); }
public static LiftingAlgorithm SelectState(UpDownExperiment updateException) { LiftingDistributionSelection lds = null; LiftingMethodStandardSelection lms = null; if (updateException.udt_Distribution == 0) { lds = new TraditionalMethod(); } else if (updateException.udt_Distribution == 1) { lds = new AmendmentMethod(); } else if (updateException.udt_Distribution == 2) { lds = new CombinationMethod(); } else if (updateException.udt_Distribution == 3) { lds = new LiftingLogistic(); } if (updateException.udt_Standardstate == 0) { lms = new LiftingStandard(); } else if (updateException.udt_Standardstate == 1) { lms = new LiftingLn(); } else if (updateException.udt_Standardstate == 2) { lms = new LiftingLog(); } else if (updateException.udt_Standardstate == 3) { lms = new LiftingPow(updateException.udt_Power); } return(new LiftingAlgorithm(lms, lds)); }
public bool Select(IQueryFilter filter, CombinationMethod method) { if (!(this.Class is ITableClass)) { return(false); } ISelectionSet selSet = ((ITableClass)this.Class).Select(filter); if (method == CombinationMethod.New || SelectionSet == null) { SelectionSet = selSet; } else { SelectionSet.Combine(selSet, method); } FireSelectionChangedEvent(); return(true); }