예제 #1
0
        private void check()
        {
            if (state == 1)
            {
                BookLendingRateButton.Image   = Properties.Resources.书籍借阅率;
                SystemInformationButton.Image = Properties.Resources.系统日志查看;
                UserComingRateComboBox.Show();
                UserComingRateChart.Show();
                BookLendingRateComboBox.Hide();
                BookLendingRateChart.Hide();
                LogDataSheet.Hide();
                LastPButton.Hide();
                JumpPTextBox.Hide();
                DividePicture.Hide();
                PageTextBox.Hide();
                NextPbutton.Hide();

                LoadUserComingRateGraph(UserComingRateComboBox.SelectedIndex);
            }
            else if (state == 2)
            {
                UserComingRateButton.Image    = Properties.Resources.用户到馆率;
                SystemInformationButton.Image = Properties.Resources.系统日志查看;
                UserComingRateComboBox.Hide();
                UserComingRateChart.Hide();
                BookLendingRateComboBox.Show();
                BookLendingRateChart.Show();
                LogDataSheet.Hide();
                LastPButton.Hide();
                JumpPTextBox.Hide();
                DividePicture.Hide();
                PageTextBox.Hide();
                NextPbutton.Hide();

                LoadBookLendingRateGraph(BookLendingRateComboBox.SelectedIndex);
            }
            else if (state == 3)
            {
                UserComingRateButton.Image  = Properties.Resources.用户到馆率;
                BookLendingRateButton.Image = Properties.Resources.书籍借阅率;
                UserComingRateComboBox.Hide();
                UserComingRateChart.Hide();
                BookLendingRateComboBox.Hide();
                BookLendingRateChart.Hide();
                LogDataSheet.Show();
                LastPButton.Show();
                JumpPTextBox.Show();
                DividePicture.Show();
                PageTextBox.Show();
                NextPbutton.Show();

                DataSheetLoad(nPage);
            }
        }
예제 #2
0
        public AdminSystemLogForm(AdminMainForm frm)
        {
            frmMain = frm;
            InitializeComponent();

            UserComingRateComboBox.Hide();
            UserComingRateChart.Hide();
            BookLendingRateComboBox.Hide();
            BookLendingRateChart.Hide();
            LogDataSheet.Hide();
            LastPButton.Hide();
            JumpPTextBox.Hide();
            DividePicture.Hide();
            PageTextBox.Hide();
            NextPbutton.Hide();
        }