Esempio n. 1
0
        private void ThanhToan_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'DataSet1.DataTable' table. You can move, or remove it, as needed.
            timer1.Enabled = true;

            mau1.ShowDialog();
        }
Esempio n. 2
0
        private void simpleButton2_Click(object sender, EventArgs e)
        {
            QuetRFID mau = new QuetRFID();

            mau.ShowDialog();
            while (mau.Visible == true)
            {
            }
            DS.Tables[0].Rows.Add(Convert.ToInt32(txtMaNV.Text), txtHoten.Text, cbBopHan.Text, cbChucVu.Text, mathe);

            connection.Open();
            update = new MySqlCommandBuilder(mySqlDataAdapter);
            mySqlDataAdapter.Update(DS, "lvtn.nhanvien");
        }