//刷新界面
        public void ShowAllBook()
        {
            Thread thread = new Thread(threadStart);

            thread.Start();

            IDTextBox.Clear();
            NameTextBox.Clear();
            AgeTextBox.Clear();
            SexTextBox.Clear();
            EthnicTextBox.Clear();
            BrithdayTextBox.Clear();
            RegistTextBox.Clear();

            for (int i = 0; i < remineder.Count; i++)
            {
                int j = i + 1;
                UserDataGridView.Rows.Add(j.ToString(), remineder[i].ID, remineder[i].name, remineder[i].age, remineder[i].sex, remineder[i].ethnic, remineder[i].brithday, remineder[i].register);
            }
            thread.Abort();
        }
        private void RightButton_Click(object sender, EventArgs e)
        {
            IsRightForm isright = new IsRightForm();

            if (isright.show())
            {
                if (NameTextBox.Text != "" && AgeTextBox.Text != "" && SexTextBox.Text != "" && EthnicTextBox.Text != "")
                {
                    OnTimeEventFuntion(NameTextBox.Text, AgeTextBox.Text, SexTextBox.Text, EthnicTextBox.Text, BrithdayDateTimePicker.Value.ToString("yyyy-MM-dd"), RegisterDateTimePicker.Value.ToString("yyyy-MM-dd"));
                    NameTextBox.Clear();
                    AgeTextBox.Clear();
                    SexTextBox.Clear();
                    EthnicTextBox.Clear();
                    MessageBox.Show("新用户添加成功");
                }
                else
                {
                    MessageBox.Show("消息填写不完整");
                }
            }
        }