private void UserForm_Load(object sender, EventArgs e) { ClassBackEnd.GetIntoPersonCenter(); UserInfoLoad(); ButtonState = 0; SheeetRefresh(); BookRecordSheet.Hide(); #region 返回按钮处理 frmMain.ReturnButton.Tag = 1; Point t = new Point(61, 11); frmMain.ReturnButton.Show(); frmMain.TitleLabel.Location = t; #endregion }
private void BookInfoButton_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { if (ButtonState == 0) { BookInfoLabel.Text = "借阅记录"; BookInfoButton.Text = "借书信息"; ButtonState = 1; BookRecordSheet.Show(); BorrowInfoSheet.Hide(); } else { BookInfoLabel.Text = "借书信息"; BookInfoButton.Text = "借阅记录"; ButtonState = 0; BookRecordSheet.Hide(); BorrowInfoSheet.Show(); } }