Esempio n. 1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (comboBox1.Text == "")
     {
         MessageBox.Show("Не выбрана база данных");
         return;
     }
     BridgeToBD.ChoiceBD = (TypeBD)Enum.Parse(typeof(TypeBD), comboBox1.Text);
     BridgeToBD.LoadUserShopFromDB(BridgeToBD.ChoiceBD);
     panel1.Visible = true;
 }
Esempio n. 2
0
 private void Autorization_Load(object sender, EventArgs e)
 {
     //   ListUser = Helper.LoadUsersFromFile();
     //ListUser = Helper.LoadFromSql();
     ListUser = BridgeToBD.LoadUserShopFromDB(TypeBD.SQL);
 }