コード例 #1
0
        public static void Message_box_show(string F_title, string content)
        {
            Message_box F_Message_box = new Message_box(F_title, content, 1);

            F_Message_box.TopMost = true;
            F_Message_box.ShowDialog();
        }
コード例 #2
0
        public static string message_title = "系统工程师提醒您!";//信息题目;

        //自定义一个message_box.show
        public static bool message_box_show_select(string F_title, string content)
        {
            Message_box F_Message_box = new Message_box(F_title, content, 2);

            F_Message_box.TopMost = true;
            if (F_Message_box.ShowDialog() == DialogResult.Yes)
            {
                return(true);
            }
            return(false);
        }