Example #1
0
        public Form4(List <Product> productList)
        {
            InitializeComponent();
            db = new Con_database();
            db.ConnectDB();

            this.productList = productList;
        }
Example #2
0
 public Form2()
 {
     InitializeComponent();
     db = new Con_database();
     db.ConnectDB();
     E_mailBox.LostFocus += new EventHandler(E_mailBox_LostFocus);
     PhoneBox.LostFocus  += new EventHandler(PhoneBox_LostFocus);
     PhoneBox.GotFocus   += new EventHandler(PhoneBox_GotFocus);
 }
Example #3
0
 public Form1()
 {
     InitializeComponent();
     db = new Con_database();
     db.ConnectDB();
 }