sub是子模块,可以调用但是没有返回值,function是有返回值的. public sub 可以在其它form里调用,而private sub 只能在当前form里调用. vb里的if else ,switch ,for ,while等语句对应语句: If <条件表达式> Then <语句组1> [Else <语句组2> ] If <条件表达式> Then <程序段1> [ElseIf <条件表达式2> Then <语句段2&
Android Studio中出现提示: Gradle project sync failed. Basic functionality (eg. editing, debugging) will not work properly 如图: [解决过程] 1.点击了: Show Log in Explorer 打开找到了log文件: C:\Users\Administrator\.AndroidStudio\system\log\idea.log Log文件内容很长,最后一部分是: ? 1 2
错误信息如下: 警告: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [applicationContex