Exemplo n.º 1
0
 private void bunifuFlatButton8_Click(object sender, EventArgs e)
 {
     manguser.Show();
     Inventory_panel.Hide();
     productpanel.Hide();
     historypanel.Hide();
 }
Exemplo n.º 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();
        }