public Molecule(PeriodicTable pTable) { atoms = new Dictionary<int, Node>(); name = "Not named."; numberOfAtoms = 0; numberOfBonds = 0; isChiral = false; createdBy = "Not given."; buildSoftware = "Not given."; comments = "No comments given."; this.pTable = pTable; bonds = new List<Bond>(); }
public Molecule(AddCompoundForm form) { atoms = new Dictionary<int, Node>(); name = "Not named."; numberOfAtoms = 0; numberOfBonds = 0; isChiral = false; createdBy = "Not given."; buildSoftware = "Not given."; comments = "No comments given."; bonds = new List<Bond>(); pTable = new PeriodicTable(); this.form = form; }
public Molecule(Dictionary<int, Node> atoms, string name, int numberOfAtoms, int numberOfBonds, string createdBy, string buildSoftware, string comments, List<Bond> bonds, AddCompoundForm form) { this.atoms = atoms; this.name = name; this.numberOfAtoms = numberOfAtoms; this.numberOfBonds = numberOfBonds; this.createdBy = createdBy; this.comments = comments; this.bonds = bonds; this.form = form; pTable = new PeriodicTable(); }