Ejemplo n.º 1
0
        private void FrmMain_Load(object sender, EventArgs e)
        {
            this.toolStripStatusLabel.Text = "状态:" + admin.LoginType + "\"" + admin.LoginId + "\"已登录.";

            // 图书管理窗体的绑定
            book = new BookInfoManager_UI();
            Control.CheckForIllegalCrossThreadCalls = false;
            banding(book, tabPage1);

            // 读者管理窗体的绑定
            reader      = new ReaderManager_UI();
            reader.book = book;
            banding(reader, tabPage2);

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