예제 #1
0
        private void btnManageTable_Click(object sender, EventArgs e)
        {
            formManageTable fManageTable = new formManageTable();

            fManageTable.ShowDialog();
            for (int i = 0; i < tMenu.Tabs.Count; i++)
            {
                if (tMenu.Tabs[i].Text == "Bàn ăn")
                {
                    tMenu.Tabs.Remove(tMenu.Tabs[i]);
                    formTable fTable = new formTable();
                    loadTab(fTable, "Bàn ăn");
                }
            }
        }
예제 #2
0
        private void btnBook_Click(object sender, EventArgs e)
        {
            formTable fTable = new formTable();

            loadTab(fTable, "Bàn ăn");
        }