Exemple #1
0
 private void bunifuFlatButton9_Click(object sender, EventArgs e)
 {
     Inventory_panel.Show();
     productpanel.Hide();
     manguser.Hide();
     historypanel.Hide();
 }
Exemple #2
0
        private void bunifuFlatButton7_Click(object sender, EventArgs e)
        {
            productpanel.Hide();
            Inventory_panel.Hide();

            manguser.Hide();


            historypanel.Show();

            if (connection.State == ConnectionState.Closed)
            {
                connection.Open();
            }
            SqlCeDataAdapter sqa = new SqlCeDataAdapter("SELECT * FROM login where Type like '" + bunifuDropdown1.Text + "%'", connection);
            DataTable        dt  = new DataTable();

            sqa.Fill(dt);

            bunifuCustomDataGrid2.DataSource = dt;
            connection.Close();
        }