private void NewClusterAlg(object asender, NewClusterAlgorithmEventArgs aNewClusterAlg) { try { Tree = aNewClusterAlg.NewClusterAlgorithm; string _ClusterAlg = ""; _ClusterAlg += Tree.Value.Name + "( " + "Set-" + Enviroment.Set.RelationName + ", Diss-" + Enviroment.Proximity.Name; List<CEDS.Property> _parameters = Tree.Value.InProperties; for (int i = 0; i < _parameters.Count; i++) _ClusterAlg += ", " + _parameters[i].Name + "-" + _parameters[i].Value; _ClusterAlg += ")"; this.tb_SelectClusterAlg.Text = _ClusterAlg; this.HasSelectedAlgorithm = true; this.this_ClusterAlgVisualizer.Visibility = Visibility.Hidden; } catch (Exception _ex) { GeneralTools.Tools.WriteToLog(_ex); } }
private void NewClusterAlg(object asender, NewClusterAlgorithmEventArgs aNewClusterAlg) { if (NewClusterAlgorithm != null) NewClusterAlgorithm(asender, aNewClusterAlg); }
private void NewClusterAlg(object asender, NewClusterAlgorithmEventArgs aNewClusterAlg) { try { if (NewClusterAlgorithm != null) NewClusterAlgorithm(asender, aNewClusterAlg); } catch (Exception _ex) { GeneralTools.Tools.WriteToLog(_ex); } }