Пример #1
0
        public Form4(List <Product> productList)
        {
            InitializeComponent();
            db = new Con_database();
            db.ConnectDB();

            this.productList = productList;
        }
Пример #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);
 }
Пример #3
0
 public Form1()
 {
     InitializeComponent();
     db = new Con_database();
     db.ConnectDB();
 }