Exemplo n.º 1
0
        private void Main_Load(object sender, EventArgs e)
        {
            this.toolStripStatusLabel.Text = "状态:" + admin.LoginType + "\"" + admin.LoginId + "\"已登录.";
            //图书管理窗体的绑定
            book = new BookInfoManage_UI();
            Control.CheckForIllegalCrossThreadCalls = false;
            banding(book, tabPage1);

            //用户管理窗体的绑定
            reader      = new UserManage_UI();
            reader.book = book;
            banding(reader, tabPage2);

            //借还历史记录窗体的绑定
            banding(new BorrowHostory_UI(), tabPage3);
        }