Model1代码如下:
Public x As Integer
Public y As Integer
Sub S1()
x =1
S2
E.nd Sub
Sub S2()
y=10
F.orm1.Show
E.nd Show
Model2的代码如下:
Sub Main()
S1
E.nd Sub
其中Sub Main被设置为启动过程。程序运行后,各模块的执行顺序是( )。
A.Form1→Model1→Model2
B.Model1→Model2→Form1
C.Model2→Model1→Form1
D.Model2→Form1→Model1