项目事件:MainTableChanged
If MainTable.Name = "表" Then Forms("窗口").Show()Else Forms("窗口").Visible = FalseEnd If