Пример #1
0
        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();
        }
Пример #2
0
 public menu(changeform change)
 {
     InitializeComponent();
     this.change = change;
 }
Пример #3
0
 public NhapHang(changeform change)
 {
     InitializeComponent();
     SetCulture();
     this.change = change;
 }
Пример #4
0
 public FormNhanVien(changeform change)
 {
     InitializeComponent();
     this.change = change;
 }