Пример #1
0
 public UCListCompany(FRMMain fRMMain)
 {
     // TODO: Complete member initialization
     this.fRMMain = fRMMain;
     InitializeComponent();
     conDB = new ConMySql();
     //listCompany = conDB.getCompany();
 }
Пример #2
0
 public FRMMain()
 {
     InitializeComponent();
     strPathSkin = pathFolderSave + "\\" + skinFileName;
     loadSkin();
     showWaitingForm("กำลังทำการเปิดโปรแกรม");
     conDB = new ConMySql();
 }
Пример #3
0
        private void testConDB()
        {
            ConMySql conDB = new ConMySql();

            bool resultCheckConnect = conDB.CheckConnect();
            conDB.CloseConnection();
            setStatusConnect(resultCheckConnect);
        }