VB+SQL server学生信息管理系统毕业论文附源代码 第15页

............................................................................................

 

............................... frmMain 系统主窗口代码 .........................................

Private Sub addcinfoMenu_Click()

frmAddclassinfo.Show

End Sub

Private Sub addcourseMenu_Click()

frmAddcourseinfo.Show

End Sub

 

Private Sub addresultMenu_Click()

frmAddresult.Show

End Sub

 

Private Sub addsinfoMenu_Click()

frmAddsinfo.Show

End Sub

 

Private Sub adduserMenu_Click()

frmAdduser.Show

sbStatusBar.Panels(1).Text = "添加用户"

End Sub

 

Private Sub exitMenu_Click()

End

End Sub

 

Private Sub exitsinfoMenu_Click()

Unload frminquireinfo

End Sub

 

Private Sub gradecourseMenu_Click()

frmSetcourseinfo.Show

End Sub

 

Private Sub inquireresultMenu_Click()

frmInquireresult.Show

End Sub

 

Private Sub inquiresinfoMenu_Click()

frmInquiresinfo.Show

End Sub

 

Private Sub MDIForm_Load()

Me.Left = GetSetting(App.Title, "Settings", "MainLeft", 1000)

Me.Top = GetSetting(App.Title, "Settings", "MainTop", 1000)

Me.Width = GetSetting(App.Title, "Settings", "MainWidth", 6500)

Me.Height = GetSetting(App.Title, "Settings", "MainHeight", 6500)

 

End Sub

 

 

 

Private Sub MDIForm_Unload(Cancel As Integer)

If Me.WindowState <> vbMinimized Then

SaveSetting App.Title, "Settings", "MainLeft", Me.Left

SaveSetting App.Title, "Settings", "MainTop", Me.Top

SaveSetting App.Title, "Settings", "MainWidth", Me.Width

SaveSetting App.Title, "Settings", "MainHeight", Me.Height

End If

End Sub

 

Private Sub modifycinfoMenu_Click()

frmModifyclassinfo.Show

End Sub

 

Private Sub modifycourseMenu_Click()

frmModifycourseinfo.Show

End Sub

 << 上一页  [11] [12] [13] [14] [15] [16] [17] [18] [19] [20]  ... 下一页  >> 

Copyright © 2007-2012 www.chuibin.com 六维论文网 版权所有