private void DoubleBuffering() { ImprovePerfomance.SetDoubleBuffering(this); ImprovePerfomance.SetDoubleBuffering(dgViewMaVachSanPham); ImprovePerfomance.SetDoubleBuffering(dgViewSanPham); ImprovePerfomance.SetDoubleBuffering(dgViewSanPhamCuaHang); }
public Frm_Them_Xoa_Sua_Base() { InitializeComponent(); ImprovePerfomance.SetDoubleBuffering(dgView); ImprovePerfomance.SetDoubleBuffering(panel1); this.panel1.BackColor = GlobalValues.GlobalBackGroundColor; this.toolStrip1.BackColor = GlobalValues.GlobalBackGroundColor; }
public FormQLKH_NCC() { InitializeComponent(); MDIClientSupport.SetBevel(this, false); ImprovePerfomance.SetDoubleBuffering(this); panel1.BackColor = normalColor; LoadData(); SetStyleButtons(); }
public MainForm() { InitializeComponent(); SetStyle(ControlStyles.OptimizedDoubleBuffer, true); MDIClientSupport.SetBevel(this, false); ImprovePerfomance.SetDoubleBuffering(this); panel1.BackColor = GlobalValues.BackGroundMenu_NonColor; CustomButtons(); LoadControllers(); }
public FormQLSNP_CTKM() { InitializeComponent(); MDIClientSupport.SetBevel(this, false); ImprovePerfomance.SetDoubleBuffering(this); SetStyleButtons(); /// panel1.BackColor = GlobalValues.BackGroundMenu_NonColor; imageList1.TransparentColor = GlobalValues.BackGroundMenu_NonColor; SetColorButtons(); LoadController(); }
protected override void dgView_CellValueNeeded(object sender, DataGridViewCellValueEventArgs e) { ImprovePerfomance.CellValueNeeded(sender, e, _nhaCungCapDT); }
protected void DoubleBuffering() { ImprovePerfomance.SetDoubleBuffering(dgViewMaVach); ImprovePerfomance.SetDoubleBuffering(dgViewMaVachDaChon); ImprovePerfomance.SetDoubleBuffering(panelMain); }
private void dgViewMaVach_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e) { ImprovePerfomance.RowPostPaint(sender, e, this); }
protected override void dgView_CellValueNeeded(object sender, DataGridViewCellValueEventArgs e) { ImprovePerfomance.CellValueNeeded(sender, e, _phieuQuaTangDT); }
protected override void dgViewMaVach_CellValueNeeded(object sender, DataGridViewCellValueEventArgs e) { ImprovePerfomance.CellValueNeeded(sender, e, _maVachDT); }
private void dgViewDonDatHang_CellValueNeeded(object sender, DataGridViewCellValueEventArgs e) { ImprovePerfomance.CellValueNeeded(sender, e, _donDatHangDT); }
private void DoubleBuffering() { ImprovePerfomance.SetDoubleBuffering(dgViewDonDatHang); }
private void dgViewHoaDon_CellValueNeeded(object sender, DataGridViewCellValueEventArgs e) { ImprovePerfomance.CellValueNeeded(sender, e, thongKeHoaDonDT); }
private void DoubleBuffering() { ImprovePerfomance.SetDoubleBuffering(dgViewHoaDon); }
public FrmPhieuThuChiBase() { InitializeComponent(); ImprovePerfomance.SetDoubleBuffering(this); ImprovePerfomance.SetDoubleBuffering(dgViewPhieu); }