예제 #1
0
 private void DoubleBuffering()
 {
     ImprovePerfomance.SetDoubleBuffering(this);
     ImprovePerfomance.SetDoubleBuffering(dgViewMaVachSanPham);
     ImprovePerfomance.SetDoubleBuffering(dgViewSanPham);
     ImprovePerfomance.SetDoubleBuffering(dgViewSanPhamCuaHang);
 }
예제 #2
0
        public Frm_Them_Xoa_Sua_Base()
        {
            InitializeComponent();
            ImprovePerfomance.SetDoubleBuffering(dgView);
            ImprovePerfomance.SetDoubleBuffering(panel1);

            this.panel1.BackColor     = GlobalValues.GlobalBackGroundColor;
            this.toolStrip1.BackColor = GlobalValues.GlobalBackGroundColor;
        }
예제 #3
0
 public FormQLKH_NCC()
 {
     InitializeComponent();
     MDIClientSupport.SetBevel(this, false);
     ImprovePerfomance.SetDoubleBuffering(this);
     panel1.BackColor = normalColor;
     LoadData();
     SetStyleButtons();
 }
예제 #4
0
 public MainForm()
 {
     InitializeComponent();
     SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
     MDIClientSupport.SetBevel(this, false);
     ImprovePerfomance.SetDoubleBuffering(this);
     panel1.BackColor = GlobalValues.BackGroundMenu_NonColor;
     CustomButtons();
     LoadControllers();
 }
예제 #5
0
        public FormQLSNP_CTKM()
        {
            InitializeComponent();
            MDIClientSupport.SetBevel(this, false);

            ImprovePerfomance.SetDoubleBuffering(this);
            SetStyleButtons();
            ///
            panel1.BackColor = GlobalValues.BackGroundMenu_NonColor;

            imageList1.TransparentColor = GlobalValues.BackGroundMenu_NonColor;

            SetColorButtons();
            LoadController();
        }
예제 #6
0
 protected override void dgView_CellValueNeeded(object sender, DataGridViewCellValueEventArgs e)
 {
     ImprovePerfomance.CellValueNeeded(sender, e, _nhaCungCapDT);
 }
예제 #7
0
 protected void DoubleBuffering()
 {
     ImprovePerfomance.SetDoubleBuffering(dgViewMaVach);
     ImprovePerfomance.SetDoubleBuffering(dgViewMaVachDaChon);
     ImprovePerfomance.SetDoubleBuffering(panelMain);
 }
예제 #8
0
 private void dgViewMaVach_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
 {
     ImprovePerfomance.RowPostPaint(sender, e, this);
 }
예제 #9
0
 protected override void dgView_CellValueNeeded(object sender, DataGridViewCellValueEventArgs e)
 {
     ImprovePerfomance.CellValueNeeded(sender, e, _phieuQuaTangDT);
 }
예제 #10
0
 protected override void dgViewMaVach_CellValueNeeded(object sender, DataGridViewCellValueEventArgs e)
 {
     ImprovePerfomance.CellValueNeeded(sender, e, _maVachDT);
 }
예제 #11
0
 private void dgViewDonDatHang_CellValueNeeded(object sender, DataGridViewCellValueEventArgs e)
 {
     ImprovePerfomance.CellValueNeeded(sender, e, _donDatHangDT);
 }
예제 #12
0
 private void DoubleBuffering()
 {
     ImprovePerfomance.SetDoubleBuffering(dgViewDonDatHang);
 }
예제 #13
0
 private void dgViewHoaDon_CellValueNeeded(object sender, DataGridViewCellValueEventArgs e)
 {
     ImprovePerfomance.CellValueNeeded(sender, e, thongKeHoaDonDT);
 }
예제 #14
0
 private void DoubleBuffering()
 {
     ImprovePerfomance.SetDoubleBuffering(dgViewHoaDon);
 }
예제 #15
0
 public FrmPhieuThuChiBase()
 {
     InitializeComponent();
     ImprovePerfomance.SetDoubleBuffering(this);
     ImprovePerfomance.SetDoubleBuffering(dgViewPhieu);
 }