public InsertPublication(Controller c, string specName, InterfaceV2 iv)
 {
     speciesName = specName;
     iv2         = iv;
     con         = c;
     InitializeComponent();
     publishers = c.SendTheWave("SELECT DISTINCT name FROM Publishers");
     foreach (DataRow r in publishers.Rows)
     {
         uxPublisherDrop.Items.Add(r[0].ToString());
     }
 }
Example #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            DatabaseModel dbModel = new DatabaseModel();
            Controller    c       = new Controller(dbModel);
            InterfaceV2   gui2    = new InterfaceV2(c);

            gui2.ShowDialog();
            //gui.ShowDialog();
            //Application.Run(gui);
        }
Example #3
0
 /// <summary>
 /// This version is for when there is no publisher.
 /// </summary>
 public InsertStrain(InterfaceV2 iv)
 {
     iv2           = iv;
     noPublication = true;
     InitializeComponent();
 }