⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ch9_demoform003.cs

📁 章立民-visual stadio 2005 c#编程技巧
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace CH9
{
    public partial class CH9_DemoForm003 : Form
    {
        public CH9_DemoForm003()
        {
            InitializeComponent();
        }

        private void CH5_DemoForm003_Load(object sender, EventArgs e)
        {
            this.MenuStrip1.Visible = true;
            this.MenuStrip2.Visible = false;
            this.MenuStrip3.Visible = false;
        }

        private void RadioButton1_CheckedChanged(object sender, EventArgs e)
        {
            if (RadioButton1.Checked)
            {
                this.MenuStrip1.Visible = true;
                this.MenuStrip2.Visible = false;
                this.MenuStrip3.Visible = false;
            }
        }

        private void RadioButton2_CheckedChanged(object sender, EventArgs e)
        {
            if (RadioButton2.Checked)
            {
                this.MenuStrip1.Visible = false;
                this.MenuStrip2.Visible = true;
                this.MenuStrip3.Visible = false;
            }
        }

        private void RadioButton3_CheckedChanged(object sender, EventArgs e)
        {
            if (RadioButton3.Checked)
            {
                this.MenuStrip1.Visible = false;
                this.MenuStrip2.Visible = false;
                this.MenuStrip3.Visible = true;
            }
        }

        private void tsmiExitForm_Click(object sender, EventArgs e)
        {
            this.Close();
        }        
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -