//管理员——删除系统通知

    public bool del_xt_note(String noteid1)
    {
        try
        {
            SystemContent Del_xt_note = new SystemContent();
            Del_xt_note.NoteID = int.Parse(noteid1);
            chloe_connect.Delete(Del_xt_note);
            MessageBox.Show("删除成功!");
            return(true);
        }
        catch (Exception e)
        {
            Console.WriteLine(e.ToString());
            MessageBox.Show("删除失败!");
            return(false);
        }
    }
    //管理员——录入系统通知

    public bool inser_systemcontent(int noteid, String title, String information, DateTime notetime)
    {
        try
        {
            SystemContent systemcontent_to_insert = new SystemContent();
            systemcontent_to_insert.NoteID      = noteid;
            systemcontent_to_insert.Title       = title;
            systemcontent_to_insert.Information = information;
            systemcontent_to_insert.NoteTime    = DateTime.Now;
            chloe_connect.Insert(systemcontent_to_insert);
            MessageBox.Show("录入成功!");
            return(true);
        }
        catch (Exception e)
        {
            Console.WriteLine(e.ToString());
            MessageBox.Show("录入失败!");
            return(false);
        }
    }