示例#1
0
        public FrmTuaTruyen()
        {
            InitializeComponent();

            grvViewTuaTruyen.CustomDrawRowIndicator += (ss, ee) => { GridViewHelper.GridView_CustomDrawRowIndicator(ss, ee, grcTuaTruyen, grvViewTuaTruyen); };
            grvViewTuaTruyen.PopupMenuShowing       += (s, e) => { GridViewHelper.AddFontAndColortoPopupMenuShowing(s, e, grcTuaTruyen, Name); };
            GridViewHelper.SaveAndRestoreLayout(grcTuaTruyen, Name);
        }
示例#2
0
        public FrmDanhMuc()
        {
            InitializeComponent();
            fTPHelper = new FTPHelper("ftp://triminh.xyz/", "gv1mpaj216", "Ue77uPjhH3");

            grvViewDanhMuc.CustomDrawRowIndicator += (ss, ee) => { GridViewHelper.GridView_CustomDrawRowIndicator(ss, ee, grcDanhMuc, grvViewDanhMuc); };
            grvViewDanhMuc.PopupMenuShowing       += (s, e) => { GridViewHelper.AddFontAndColortoPopupMenuShowing(s, e, grcDanhMuc, Name); };
            GridViewHelper.SaveAndRestoreLayout(grcDanhMuc, Name);
        }
示例#3
0
        public FrmLichPhatHanh()
        {
            InitializeComponent();
            grvViewChiTietLichPhatHanh.CustomRowCellEdit += GrvViewChiTietLichPhatHanh_CustomRowCellEdit;
            grvViewChiTietLichPhatHanh.RowCellClick      += GrvViewChiTietLichPhatHanh_RowCellClick;

            grvViewLichPhatHanh.CustomDrawRowIndicator += (ss, ee) => { GridViewHelper.GridView_CustomDrawRowIndicator(ss, ee, grcLichPhatHanh, grvViewLichPhatHanh); };
            grvViewLichPhatHanh.PopupMenuShowing       += (s, e) => { GridViewHelper.AddFontAndColortoPopupMenuShowing(s, e, grcLichPhatHanh, Name); };
            GridViewHelper.SaveAndRestoreLayout(grcLichPhatHanh, Name);

            grvViewChiTietLichPhatHanh.CustomDrawRowIndicator += (ss, ee) => { GridViewHelper.GridView_CustomDrawRowIndicator(ss, ee, grcChiTietLichPhatHanh, grvViewChiTietLichPhatHanh); };
            grvViewChiTietLichPhatHanh.PopupMenuShowing       += (s, e) => { GridViewHelper.AddFontAndColortoPopupMenuShowing(s, e, grcChiTietLichPhatHanh, Name); };
            GridViewHelper.SaveAndRestoreLayout(grcChiTietLichPhatHanh, Name);
        }
示例#4
0
        public FrmTonKho()
        {
            InitializeComponent();

            grvViewTonKho.CustomDrawRowIndicator += (ss, ee) => { GridViewHelper.GridView_CustomDrawRowIndicator(ss, ee, grcTonKho, grvViewTonKho); };
            grvViewTonKho.PopupMenuShowing       += (s, e) => { GridViewHelper.AddFontAndColortoPopupMenuShowing(s, e, grcTonKho, Name); };
            GridViewHelper.SaveAndRestoreLayout(grcTonKho, Name);

            grvViewCTPhieuNhap.CustomDrawRowIndicator += (ss, ee) => { GridViewHelper.GridView_CustomDrawRowIndicator(ss, ee, grcCTPhieuNhap, grvViewCTPhieuNhap); };
            grvViewCTPhieuNhap.PopupMenuShowing       += (s, e) => { GridViewHelper.AddFontAndColortoPopupMenuShowing(s, e, grcCTPhieuNhap, Name); };
            GridViewHelper.SaveAndRestoreLayout(grcCTPhieuNhap, Name);

            grvViewCTPhieuXuat.CustomDrawRowIndicator += (ss, ee) => { GridViewHelper.GridView_CustomDrawRowIndicator(ss, ee, grcCTPhieuXuat, grvViewCTPhieuXuat); };
            grvViewCTPhieuXuat.PopupMenuShowing       += (s, e) => { GridViewHelper.AddFontAndColortoPopupMenuShowing(s, e, grcCTPhieuXuat, Name); };
            GridViewHelper.SaveAndRestoreLayout(grcCTPhieuXuat, Name);
        }