예제 #1
0
 private void FormFilterByCategory_Load(object sender, EventArgs e)
 {
     DBConnect.FillBindingList(ref categoriesRecept, "KATEGORIA_RECEPT", "NAME_KATEG_REC");
     comboBoxSelectedCategories.DataSource = categoriesRecept;
 }
예제 #2
0
 private void exitToolStripMenuItem_Click(object sender, EventArgs e)
 {
     DBConnect.RemoveSessionAll();
     Form1_Load(sender, e);
 }
 private void FormForAdminRecept_Load(object sender, EventArgs e)
 {
     DBConnect.getAllRecepts(ref dataGridViewAllRecepts);
     dataGridViewAllRecepts.Columns["col1"].Visible = false;
 }