private void btnLuu_Click(object sender, RoutedEventArgs e) { BOMenuKhuyenMai.Luu(_Item.DanhSachKhuyenMai); UserControlLibrary.WindowMessageBox win = new WindowMessageBox(mTransit.StringButton.LuuThanhCong); win.ShowDialog(); DialogResult = true; }
private void btnDongY_Click(object sender, RoutedEventArgs e) { if (txtSoBan.Text != "") { int soban = Utilities.MoneyFormat.ConvertToInt(txtSoBan.Text); if (chkXoaBanCu.IsChecked == true) { mUCFloorPlan.RemoveAllTable(); } mUCFloorPlan.AddTable(soban); this.DialogResult = true; } else { WindowMessageBox.ShowDialog("Nhập số bàn cần thêm"); } }
private void btnLuu_Click(object sender, RoutedEventArgs e) { BOMenuKhuyenMai.Luu(lsArray); UserControlLibrary.WindowMessageBox win = new WindowMessageBox(mTransit.StringButton.LuuThanhCong); win.ShowDialog(); }
public static void ShowDialog(string message) { WindowMessageBox win = new WindowMessageBox(message); win.ShowDialog(); }
private void btnLuu_Click(object sender, RoutedEventArgs e) { uCFloorPlan1.SaveChange(); WindowMessageBox.ShowDialog("Lưu thành công!"); }