-
Notifications
You must be signed in to change notification settings - Fork 0
/
z.cs
24 lines (20 loc) · 861 Bytes
/
z.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using DevExpress.Xpf.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace QLThuoc
{
public static class z
{
public static bool DeleteQuestion(string _Message = "Bạn có muốn xóa dữ liệu đang được chọn?", string _Caption = "Xác nhận xóa")
{
if (DXMessageBox.Show(_Message, _Caption, MessageBoxButton.YesNo, MessageBoxImage.Question) == MessageBoxResult.Yes) return true;
else return false;
}
public static string ConnectionString = @"Data Source=LAPTOP-5C698NK2\SQLEXPRESS;Initial Catalog=QLNhaThuoc;Integrated Security=True";
//public static string ConnectionString = @"Data Source=MACKENO\SQLEXPRESS;Initial Catalog=QLNhaThuoc;Integrated Security=True";
}
}