/// <summary> /// Initializes a new instance of the <see cref="HoaDonBanListView" /> class. /// </summary> /// <param name="value">The value.</param> public HoaDonBanListView(IHoaDonBanController <HoaDonBanModel> value) { controller = value; InitializeComponent(); bntLuaChon.Enabled = false; bntXoa.Enabled = false; }
/// <summary> /// Initializes a new instance of the <see cref="ChatLieuView" /> class. /// </summary> /// <param name="value">The value.</param> public HoaDonBanView(IHoaDonBanController <HoaDonBanModel> value) { controller = value; InitializeComponent(); bntLuaChon.Enabled = false; bntXoa.Enabled = false; txtNgayBan.Format = DateTimePickerFormat.Custom; txtNgayBan.CustomFormat = "dd/MM/yyyy"; }