private void button4_Click(object sender, EventArgs e) { Problems.GenericProblem problem = null; switch (comboBox1.SelectedItem.ToString()) { case "DNA": problem = new DNA(); break; case "RNA": problem = new RNA(); break; case "REVC": problem = new REVC(); break; case "PROT": problem = new PROT(); break; case "SUBS": problem = new SUBS(); break; } responce = problem.Solve(problem.getReader(file)); MessageBox.Show("Done"); }
public static extern IntPtr mmap(IntPtr address, UIntPtr length, PROT prot, MAP flags, int fd, IntPtr offset);