예제 #1
0
        private void btnLamMoi_Click(object sender, EventArgs e)
        {
            if (lblWarning.Visible)
            {
                MessageBox.Show("Không thể sửa đổi chi tiết món ăn đã được thêm vào thực đơn", "Thông báo", MessageBoxButtons.OK);
                return;
            }

            txtMaMonAn.Text  = MonAnBLL.SinhMaTuDong();
            txtTenMonAn.Text = "";
        }
예제 #2
0
 private void XoaTrang()
 {
     txtMaMonAn.Text  = MonAnBLL.SinhMaTuDong();
     txtTenMonAn.Text = "";
 }