private void btnThem_Click(object sender, RoutedEventArgs e)
 {
     UserControlLibrary.WindowThemDanhSachBan win = new UserControlLibrary.WindowThemDanhSachBan(mMon, mTransit);
     if (win.ShowDialog() == true)
     {
         AddList(win._Item);
     }
 }
        private void btnSua_Click(object sender, RoutedEventArgs e)
        {
            if (lvData.SelectedItems.Count > 0)
            {
                ListViewItem li = (ListViewItem)lvData.SelectedItems[0];
                mItem = (Data.BOMenuKichThuocMon)li.Tag;

                UserControlLibrary.WindowThemDanhSachBan win = new UserControlLibrary.WindowThemDanhSachBan(mMon, mTransit);
                win._Item = mItem;
                if (win.ShowDialog() == true)
                {
                    win._Item.MenuKichThuocMon.Edit = true;
                    li.Tag     = win._Item;
                    li.Content = win._Item;
                    lvData.Items.Refresh();
                }
            }
        }
 private void btnThem_Click(object sender, RoutedEventArgs e)
 {
     UserControlLibrary.WindowThemDanhSachBan win = new UserControlLibrary.WindowThemDanhSachBan(mMon, mTransit);
     if (win.ShowDialog() == true)
     {
         AddList(win._Item);
     }
 }
        private void btnSua_Click(object sender, RoutedEventArgs e)
        {
            if (lvData.SelectedItems.Count > 0)
            {
                ListViewItem li = (ListViewItem)lvData.SelectedItems[0];
                mItem = (Data.BOMenuKichThuocMon)li.Tag;

                UserControlLibrary.WindowThemDanhSachBan win = new UserControlLibrary.WindowThemDanhSachBan(mMon, mTransit);
                win._Item = mItem;
                if (win.ShowDialog() == true)
                {
                    win._Item.MenuKichThuocMon.Edit = true;
                    li.Tag = win._Item;
                    li.Content = win._Item;
                    lvData.Items.Refresh();
                }
            }
        }