Пример #1
0
        private void barButtonItem5_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Frmhelp frmhelp = new Frmhelp();
            string  str     = File.ReadAllText("Hp.txt", Encoding.UTF8);

            frmhelp.Text = "功能说明";
            frmhelp.richTextBox1.Text     = str;
            frmhelp.richTextBox1.ReadOnly = true;
            frmhelp.ShowDialog();
        }
Пример #2
0
        private void ToolStrip8_Click(object sender, EventArgs e)
        {
            Frmhelp frmhelp = new Frmhelp();
            string  str     = File.ReadAllText("Hp.txt", Encoding.UTF8);

            frmhelp.Text = "功能说明";
            frmhelp.richTextBox1.Text     = str;
            frmhelp.richTextBox1.ReadOnly = true;
            frmhelp.ShowDialog();
        }