C#认证考试试题汇编3_1
private void 大ToolStripMenuItem_Click(object sender, EventArgs e)
{
this.Width = 600;
this.Height = 400;
toolStripStatusLabel1.Text = "大窗体";
}
private void 中ToolStripMenuItem_Click(object sender, EventArgs e)
{
this.Width = 300;
this.Height = 200;
toolStripStatusLabel1.Text = "中窗体";
}
private void 小ToolStripMenuItem_Click(object sender, EventArgs e)
{
this.Width = 150;
this.Height = 120;
toolStripStatusLabel1.Text = "小窗体";
}
private void toolStripButton1_Click(object sender, EventArgs e)
{
this.Width = 600;
this.Height = 400;
toolStripStatusLabel1.Text = "大窗体";
}
private void toolStripButton2_Click(object sender, EventArgs e)
{
this.Width = 300;
this.Height = 200;
toolStripStatusLabel1.Text = "中窗体";
}
private void toolStripButton3_Click(object sender, EventArgs e)
{
this.Width = 150;
this.Height = 120;
toolStripStatusLabel1.Text = "小窗体";
}
}
}