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

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