示例#1
0
 private void btnRemoveMenu_Click(object sender, EventArgs e)
 {
     //Data.Menu.Items.Remove((Data.Menu)lbMenus.SelectedItem);
     Data.Menu selectedMenu = ((Data.Menu)lbMenus.SelectedItem);
     selectedMenu.Delete_All_Dishes();
     selectedMenu.Delete();
     LBMenusRefresh();
 }
示例#2
0
 private void btnClear_Click(object sender, EventArgs e)
 {
     _menu.Delete_All_Dishes();
     LBRefresh();
 }