public FormLichSuHoaDon(changeform change1, changeform change2) { InitializeComponent(); this.change1 = change1; this.change2 = change2; DateTime currentDateTime = DateTime.Now; dtpFromDate.Value = new DateTime(currentDateTime.Year, currentDateTime.Month, 1); dtpToDate.Value = dtpFromDate.Value.AddMonths(1).AddSeconds(-1); NumberFormatInfo nfi = new CultureInfo("vn-VN", false).NumberFormat; nfi.CurrencyPositivePattern = 3; nfi.CurrencyNegativePattern = 3; nfi.NumberDecimalSeparator = "."; nfi.NumberGroupSeparator = ","; CultureInfo cultureInfo = new CultureInfo("vn-VN", false); cultureInfo.NumberFormat = nfi; Thread.CurrentThread.CurrentCulture = cultureInfo; UpdateDanhSachHD(); UpdateCTHD(); }
public menu(changeform change) { InitializeComponent(); this.change = change; }
public NhapHang(changeform change) { InitializeComponent(); SetCulture(); this.change = change; }
public FormNhanVien(changeform change) { InitializeComponent(); this.change = change; }